SMK N 3 SINGARAJA

ENDY TKJ "STEMSI

Senin, 02 Mei 2011

IP alias pada sistem Linux

Diasumsikan Anda mempunyai alamat IP 192.168.1.1 dan akan membuat ala-mat
alias 192.168.2.1 yang natinya digunakan untuk menhubungkan network id
192.168.1.0 dengan 192.168.2.0.
Berikut perintah membuat alamat IP alias (dilakukan oleh root):
root~root# ifconfig eth0:1 192.168.2.1 up root~root# ifconfig eth0 Link encap:Ethernet
HWaddr 00:30:84:9E:E4:53
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0 UP
BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX
packets:1528 errors:0 dropped:0 overruns:0 frame:0 TX packets:1213 errors:0
dropped:0 overruns:0 carrier:0 collisions:20 txqueuelen:100 RX
bytes:1291488 (1.2 Mb) TX bytes:199389 (194.7 Kb) Interrupt:11 Base
address:0x2000
eth0:1 Link encap:Ethernet HWaddr 00:30:84:9E:E4:53
inet addr:192.168.2.1 Bcast:192.168.2.255 Mask:255.255.255.0 UP
BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Interrupt:11
Base address:0x2000
lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP
LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:105 errors:0
dropped:0 overruns:0 frame:0 TX packets:105 errors:0 dropped:0 overruns:0
carrier:0 collisions:0 txqueuelen:0 RX bytes:11089 (10.8 Kb) TX bytes:11089
(10.8 Kb)

0 komentar:

Poskan Komentar

COMMENT

You can replace this text by going to "Layout" and then "Page Elements" section. Edit " About "

Slidershow

Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | Sweet Tomatoes Printable Coupons