Monday, December 28, 2009

command ifconfig unix

command tuk downkan network

# ifconfig hme0 down && ifconfig -a
lo0: flags=1000849 mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
hme0: flags=1000842 mtu 1500 index 2
inet 192.168.30.41 netmask ffffff00 broadcast 192.168.30.255
ether 8:0:20:93:c9:af

command tuk upkan network

# ifconfig hme0 up
# ifconfig -a
lo0: flags=1000849 mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
hme0: flags=1000843 mtu 1500 index 2
inet 192.168.30.41 netmask ffffff00 broadcast 192.168.30.255
ether 8:0:20:93:c9:af
Sending ICMP ECHO_REQUEST Packets
To determine if you can contact another system over the network, enter
the ping command:
# ping sys41
sys41 is alive

2 comments:

ghimau said...

nice

Anonymous said...

Thanks for this nice article. here is my list of top 10 basic networking command in unix I would rather say very useful and practical unix linux networking commands :)

Thanks
Javin Paul
FIX Protocol tutorial