Thursday, January 15, 2015

Testing Static Route with no proxy-arp command

R1#sh run | s route
ip route 3.3.3.0 255.255.255.0 FastEthernet0/0
ip route 10.1.13.0 255.255.255.0 FastEthernet0/0

R1#sh ip route | begin Gate
Gateway of last resort is not set
3.0.0.0/24 is subnetted, 1 subnets
S 3.3.3.0 is directly connected, FastEthernet0/0
   10.0.0.0/24 is subnetted, 2 subnets
S 10.1.13.0 is directly connected, FastEthernet0/0
C 10.1.12.0 is directly connected, FastEthernet0/0

Before using no proxy arp on R2

R1(config)#do ping 3.3.3.3

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 3.3.3.3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 52/101/232 ms

R1(config)#do sh ip arp
Protocol    Address    Age (min)   Hardware Addr   Type       Interface
Internet     10.1.12.2       6           cc01.0d08.0000  ARPA    FastEthernet0/0
Internet     10.1.12.1       -            cc00.0d08.0000  ARPA    FastEthernet0/0

After using no proxy arp on R2
R2(config)#int f 0/0
R2(config-if)#no ip proxy-arp

R1(config)#do ping 3.3.3.3

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 3.3.3.3, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)

R1(config)#do sh ip arp
Protocol    Address     Age (min)    Hardware Addr      Type        Interface
Internet     3.3.3.3 0                       Incomplete               ARPA
Internet     10.1.12.2          7          cc01.0d08.0000      ARPA     FastEthernet0/0
Internet     10.1.12.1          -           cc00.0d08.0000      ARPA     FastEthernet0/0

R1#debug ip packet detail

R1#ping 3.3.3.3 ( when debuging during R1 ping to R3 loopback )

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 3.3.3.3, timeout is 2 seconds:

*Mar 1 00:25:19.083: IP: tableid=0, s=10.1.12.1 (local), d=3.3.3.3 (FastEthernet0/0), routed via RIB
*Mar 1 00:25:19.087: IP: s=10.1.12.1 (local), d=3.3.3.3 (FastEthernet0/0), len 100, sending
*Mar 1 00:25:19.091: ICMP type=8, code=0
*Mar 1 00:25:19.091: IP: s=10.1.12.1 (local), d=3.3.3.3 (FastEthernet0/0), len 100, encapsulation failed
*Mar 1 00:25:19.095: ICMP type=8, code=0.
*Mar 1 00:25:21.083: IP: tableid=0, s=10.1.12.1 (local), d=3.3.3.3 (FastEthernet0/0), routed via RIB
*Mar 1 00:25:21.087: IP: s=10.1.12.1 (local), d=3.3.3.3 (FastEthernet0/0), len 100, sending
*Mar 1 00:25:21.087: ICMP type=8, code=0
*Mar 1 00:25:21.091: IP: s=10.1.12.1 (local), d=3.3.3.3 (FastEthernet0/0), len 100, encapsulation failed
*Mar 1 00:25:21.095: ICMP type=8, code=0.

NOTE :: In Static Route , we prefer next-hop points to ip address than next-hop points to outing interface or exit interface .





No comments:

Post a Comment