01 February, 2014

IP Address or Outoging Interface

R1#conf terminal
R1(config)#ip route 0.0.0.0 0.0.0.0 11.11.11.2
R1(config)#exit
R1#ping 192.168.1.1
Sending 5, 100-byte ICMP Echos to 192.168.1.1, timeout is 2 seconds:
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 16/57/152 ms

R1#show arp
Protocol  Address          Age (min)  Hardware Addr   Type   Interface
Internet  11.11.11.2              0   c202.1464.0000  ARPA   FastEthernet0/0
Internet  11.11.11.1              -   c200.1464.0000  ARPA   FastEthernet0/0

R1(config)#no ip route 0.0.0.0 0.0.0.0 11.11.11.2
R1(config)#ip route 0.0.0.0 0.0.0.0 fastEthernet 0/0
R1(config)#exit
R1#clear arp-cache
R1#ping 192.168.1.1
Sending 5, 100-byte ICMP Echos to 192.168.1.1, timeout is 2 seconds:
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 8/28/64 ms
R1#show arp
Protocol  Address          Age (min)  Hardware Addr   Type   Interface
Internet  11.11.11.2              0   c202.1464.0000  ARPA   FastEthernet0/0
Internet  11.11.11.1              -   c200.1464.0000  ARPA   FastEthernet0/0
Internet  192.168.1.1             0   c202.1464.0000  ARPA   FastEthernet0/0

Note:
Everything works, but as you can see, the ARP table grows with each destination,
imagine this on a production environment with users connecting to the Internet.
Note:
Another issue we could have is that if Proxy-ARP is disabled on the Other Router, it breaks connectivity (no reply to the ARP requests)

#Disable Proxy ARP
R2(config)#interface fastEthernet 0/0
R2(config-if)#no ip proxy-arp

R1#ping 192.168.2.1
Sending 5, 100-byte ICMP Echos to 192.168.2.1, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
R1#show arp
Protocol  Address          Age (min)  Hardware Addr   Type   Interface
Internet  11.11.11.2              9   c202.1464.0000  ARPA   FastEthernet0/0
Internet  11.11.11.1              -   c200.1464.0000  ARPA   FastEthernet0/0
Internet  192.168.1.1             8   c202.1464.0000  ARPA   FastEthernet0/0
Internet  192.168.2.1             0   Incomplete      ARPA

Note:
When possible, always use the IP address as the next-hop on point-to-multipoint mediums.