Exam 400-101 | Question id=1177 | Network Principles |
You issue the following commands on RouterA:
RouterA(config) #interface fa0/1
RouterA(config-if)#ip address 10.1.1.1 255.255.255.0
RouterA(config-if)#ip address 10.1.1.2 255.255.255.0
RouterA(config-if)#ip address 10.1.1.3 255.255.255.0 secondary
RouterA(config-if)#ip address 10.1.1.4 255.255.255.0 secondary
Which of the following statements is correct?
A. |
Two IP addresses are active on the interface: 10.1.1.1 and 10.1.1.3. | |
B. |
Two IP addresses are active on the interface: 10.1.1.1 and 10.1.1.4. | |
C. |
Two IP addresses are active on the interface: 10.1.1.2 and 10.1.1.3. | |
D. |
Two IP addresses are active on the interface: 10.1.1.2 and 10.1.1.4. | |
E. |
Three IP addresses are active on the interface: 10.1.1.1, 10.1.1.3, and 10.1.1.4. | |
F. |
Three IP addresses are active on the interface: 10.1.1.2, 10.1.1.3, and 10.1.1.4. | |
G. |
All four IP addresses are active on the interface. |
Three IP addresses are active on the interface: 10.1.1.2, 10.1.1.3, and 10.1.1.4. An interface can be configured with one primary IP address and any number of secondary IP addresses. Primary IP addresses are configured by issuing the ip address address mask command. If a primary IP address is configured on an interface, it replaces any previously configured primary IP address.
A secondary IP address is configured by issuing the ip address address mask secondary command. Unlike primary IP addresses, secondary IP addresses do not replace previously configured secondary IP addresses. Although secondary IP addresses work like primary IP addresses, a Cisco device will not use a secondary IP address to generate datagrams other than routing updates.