Difference between revisions of "NAD710 Lab 2 Answers"

From CDOT Wiki
Jump to: navigation, search
(New page: '''1. What is the effect of the first "ifconfig ethxx down" command on the system's ARP cache ?''' Answer:)
 
Line 2: Line 2:
  
 
Answer:
 
Answer:
 +
 +
The arp table becomes empty after the first "ifconfig eth1 down"
 +
 +
[root@localhost ~]# arp -n
 +
Address                  HWtype  HWaddress          Flags Mask    Iface
 +
142.204.141.131          ether  00:0E:7F:3C:A8:F3  C            eth1
 +
142.204.141.129          ether  00:0E:0C:4B:31:5C  C            eth1
 +
[root@localhost ~]# ifconfig eth1 down
 +
[root@localhost ~]# arp -n
 +
[root@localhost ~]# ifconfig eth1 up
 +
[root@localhost ~]# arp -n

Revision as of 15:42, 11 September 2008

1. What is the effect of the first "ifconfig ethxx down" command on the system's ARP cache ?

Answer:

The arp table becomes empty after the first "ifconfig eth1 down"

[root@localhost ~]# arp -n
Address                  HWtype  HWaddress           Flags Mask    Iface
142.204.141.131          ether   00:0E:7F:3C:A8:F3   C             eth1
142.204.141.129          ether   00:0E:0C:4B:31:5C   C             eth1
[root@localhost ~]# ifconfig eth1 down
[root@localhost ~]# arp -n
[root@localhost ~]# ifconfig eth1 up
[root@localhost ~]# arp -n