bash-2.05b# ifconfig hme0:1 plumb
bash-2.05b# ifconfig hme0:1 9.27.55.30 netmask 255.255.255.0
bash-2.05b# ifconfig hme0:1 up
bash-2.05b# netstat -nr
Routing Table: IPv4
Destination Gateway Flags Ref Use Interface
-------------------- -------------------- ----- ----- ------ ---------
9.27.55.0 9.27.55.30 U 1 0 hme0:1
10.64.67.0 10.64.67.23 U 1 53 hme0
224.0.0.0 10.64.67.23 U 1 0 hme0
default 10.64.67.1 UG 1 217
127.0.0.1 127.0.0.1 UH 1 13 lo0
bash-2.05b# ifconfig -a
lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
hme0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 10.64.67.23 netmask ffffff00 broadcast 10.64.67.255
ether 8:0:20:fd:bc:fa
hme0:1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 9.27.55.30 netmask ffffff00 broadcast 9.255.255.255
bash-2.05b#
=====================
bash-2.05b# ifconfig hme0:1 unplumb
bash-2.05b# ifconfig -a
lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
hme0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 10.64.67.23 netmask ffffff00 broadcast 10.64.67.255
ether 8:0:20:fd:bc:fa
bash-2.05b# netstat -nr
Routing Table: IPv4
Destination Gateway Flags Ref Use Interface
-------------------- -------------------- ----- ----- ------ ---------
10.64.67.0 10.64.67.23 U 1 53 hme0
224.0.0.0 10.64.67.23 U 1 0 hme0
default 10.64.67.1 UG 1 223
127.0.0.1 127.0.0.1 UH 1 13 lo0
bash-2.05b#
bash-2.05b# ifconfig hme0:1 9.27.55.30 netmask 255.255.255.0
bash-2.05b# ifconfig hme0:1 up
bash-2.05b# netstat -nr
Routing Table: IPv4
Destination Gateway Flags Ref Use Interface
-------------------- -------------------- ----- ----- ------ ---------
9.27.55.0 9.27.55.30 U 1 0 hme0:1
10.64.67.0 10.64.67.23 U 1 53 hme0
224.0.0.0 10.64.67.23 U 1 0 hme0
default 10.64.67.1 UG 1 217
127.0.0.1 127.0.0.1 UH 1 13 lo0
bash-2.05b# ifconfig -a
lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
hme0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 10.64.67.23 netmask ffffff00 broadcast 10.64.67.255
ether 8:0:20:fd:bc:fa
hme0:1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 9.27.55.30 netmask ffffff00 broadcast 9.255.255.255
bash-2.05b#
=====================
bash-2.05b# ifconfig hme0:1 unplumb
bash-2.05b# ifconfig -a
lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
hme0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 10.64.67.23 netmask ffffff00 broadcast 10.64.67.255
ether 8:0:20:fd:bc:fa
bash-2.05b# netstat -nr
Routing Table: IPv4
Destination Gateway Flags Ref Use Interface
-------------------- -------------------- ----- ----- ------ ---------
10.64.67.0 10.64.67.23 U 1 53 hme0
224.0.0.0 10.64.67.23 U 1 0 hme0
default 10.64.67.1 UG 1 223
127.0.0.1 127.0.0.1 UH 1 13 lo0
bash-2.05b#
No comments:
Post a Comment