RE: Peer Default IP Address issue

From: Schulz, Dave (DSchulz@dpsciences.com)
Date: Sat Jul 22 2006 - 09:34:28 ART


Thanks for the response, Brian. I didn't realize that issue about IPCP
and learning the mask. So, I shut the interfaces and re-applied the no
peer neighbor command. I also set a route at each end for reachability
(ip route 27.2.2.1 255.255.255.255 serial 0/1)...for example on R2.
Here is what I get.....

It appears that this configuration is not going to be valid, because of
this mask issue. IOW, one side of the configuration must be assigned
directly, or, learned from dhcp. Am I correct in this assumption?

R2#sh run | in ip route
ip route 27.2.2.1 255.255.255.255 Serial0/1
R2#sh run int s0/1
Building configuration...

Current configuration : 134 bytes
!
interface Serial0/1
 ip address negotiated
 encapsulation ppp
 no peer neighbor-route
 peer default ip address dhcp-pool pool2
end

R2#sh ip rou
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS
level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static
route
       o - ODR, P - periodic downloaded static route

Gateway of last resort is 10.1.1.1 to network 0.0.0.0

     1.0.0.0/32 is subnetted, 4 subnets
O IA 1.1.1.1 [110/2] via 10.1.1.1, 09:51:34, FastEthernet0/0
O IA 1.3.3.3 [110/2] via 10.1.1.1, 09:51:34, FastEthernet0/0
O IA 1.5.5.5 [110/2] via 10.1.1.1, 09:51:34, FastEthernet0/0
O IA 1.4.4.4 [110/2] via 10.1.1.1, 09:51:34, FastEthernet0/0
     2.0.0.0/24 is subnetted, 1 subnets
C 2.2.2.0 is directly connected, Loopback0
     3.0.0.0/32 is subnetted, 1 subnets
O IA 3.3.3.3 [110/2] via 10.1.1.3, 09:51:34, FastEthernet0/0
     20.0.0.0/24 is subnetted, 1 subnets
C 20.2.2.0 is directly connected, Loopback2
     10.0.0.0/24 is subnetted, 1 subnets
C 10.1.1.0 is directly connected, FastEthernet0/0
     27.0.0.0/32 is subnetted, 2 subnets
C 27.2.2.2 is directly connected, Serial0/1
S 27.2.2.1 is directly connected, Serial0/1
O*E2 0.0.0.0/0 [110/1] via 10.1.1.1, 09:51:37, FastEthernet0/0
R2#deb ip pack
IP packet debugging is on
R2#
*Mar 16 19:24:28.849: IP: s=10.1.1.3 (FastEthernet0/0), d=224.0.0.5, len
84, rcvd 0ping
*Mar 16 19:24:31.737: IP: s=10.1.1.2 (local), d=224.0.0.5
(FastEthernet0/0), len 84, sending broad/multicast27.2.2.1

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 27.2.2.1, timeout is 2 seconds:
U
*Mar 16 19:24:36.261: IP: s=10.1.1.1 (FastEthernet0/0), d=224.0.0.5, len
84, rcvd 0
*Mar 16 19:24:37.369: IP: tableid=0, s=27.2.2.2 (local), d=27.2.2.1
(Serial0/1), routed via FIB
*Mar 16 19:24:37.369: IP: s=27.2.2.2 (local), d=27.2.2.1 (Serial0/1),
len 100, sending
*Mar 16 19:24:37.401: IP: tableid=0, s=27.2.2.3 (Serial0/1), d=27.2.2.2
(Serial0/1), routed via RIB
*Mar 16 19:24:37.401: IP: s=27.2.2.3 (Serial0/1), d=27.2.2.2
(Serial0/1), len 56, rcvd 3
*Mar 16 19:24:37.405: IP: tableid=0, s=27.2.2.2 (local), d=27.2.2.1
(Serial0/1), routed via FIB
*Mar 16 19:24:37.405: IP: s=27.2.2.2 (local), d=27.2.2.1 (Serial0/1),
len 100, sending.U
*Mar 16 19:24:38.865: IP: s=10.1.1.3 (FastEthernet0/0), d=224.0.0.5, len
84, rcvd 0
*Mar 16 19:24:39.405: IP: tableid=0, s=27.2.2.2 (local), d=27.2.2.1
(Serial0/1), routed via FIB
*Mar 16 19:24:39.405: IP: s=27.2.2.2 (local), d=27.2.2.1 (Serial0/1),
len 100, sending
*Mar 16 19:24:39.437: IP: tableid=0, s=27.2.2.3 (Serial0/1), d=27.2.2.2
(Serial0/1), routed via RIB
*Mar 16 19:24:39.437: IP: s=27.2.2.3 (Serial0/1), d=27.2.2.2
(Serial0/1), len 56, rcvd 3
*Mar 16 19:24:39.437: IP: tableid=0, s=27.2.2.2 (local), d=27.2.2.1
(Serial0/1), routed via FIB
*Mar 16 19:24:39.441: IP: s=27.2.2.2 (local), d=27.2.2.1 (Serial0/1),
len 100, sending.U
Success rate is 0 percent (0/5)
R2#
*Mar 16 19:24:41.437: IP: tableid=0, s=27.2.2.2 (local), d=27.2.2.1
(Serial0/1), routed via FIB
*Mar 16 19:24:41.437: IP: s=27.2.2.2 (local), d=27.2.2.1 (Serial0/1),
len 100, sending
*Mar 16 19:24:41.469: IP: tableid=0, s=27.2.2.3 (Serial0/1), d=27.2.2.2
(Serial0/1), routed via RIB
*Mar 16 19:24:41.469: IP: s=27.2.2.3 (Serial0/1), d=27.2.2.2
(Serial0/1), len 56, rcvd 3
*Mar 16 19:24:41.737: IP: s=10.1.1.2 (local), d=224.0.0.5
(FastEthernet0/0), len 84, sending broad/multicastu all
All possible debugging has been turned off
R2#
*Mar 16 19:24:46.261: IP: s=10.1.1.1 (FastEthernet0/0), d=224.0.0.5, len
84, rcvd 0

Dave Schulz,
Email: dschulz@dpsciences.com

-----Original Message-----
From: Brian Dennis [mailto:bdennis@internetworkexpert.com]
Sent: Saturday, July 22, 2006 2:01 AM
To: Schulz, Dave; ccielab@groupstudy.com
Subject: RE: Peer Default IP Address issue

I applied your configuration but I didn't receive the /32 peer neighbor
route for the remote end. Did you apply the "no peer neighbor-route"
command after the interfaces were already up/up?

Also you will run into problems with your configuration unless the peer
neighbor route is learned for the remote side's IP address or some sort
of route is added to the routing table for the remote-end's IP address.
This is because PPP does not learn the subnet mask via IPCP so the
subnet mask is assumed to be /32.

R5#sho ip int brie s1/2
Interface IP-Address OK? Method Status
Protocol
Serial1/2 27.2.2.5 YES IPCP up
up
R5#sho ip route connected
     27.0.0.0/32 is subnetted, 1 subnets
C 27.2.2.5 is directly connected, Serial1/2
R5#deb ip packet
IP packet debugging is on
R5#ping 27.2.2.2

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

*Mar 5 13:52:55.283: IP: s=27.2.2.5 (local), d=27.2.2.2, len 100,
unroutable.
*Mar 5 13:52:57.283: IP: s=27.2.2.5 (local), d=27.2.2.2, len 100,
unroutable.
*Mar 5 13:52:59.283: IP: s=27.2.2.5 (local), d=27.2.2.2, len 100,
unroutable.
*Mar 5 13:53:01.283: IP: s=27.2.2.5 (local), d=27.2.2.2, len 100,
unroutable.
*Mar 5 13:53:03.283: IP: s=27.2.2.5 (local), d=27.2.2.2, len 100,
unroutable.
Success rate is 0 percent (0/5)
R5#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R5(config)#ip route 27.2.2.2 255.255.255.255 s1/2
R5(config)#^Z
R5#
Rack9AS>1
[Resuming connection 1 to r1 ... ]

R2#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R2(config)#ip route 27.2.2.5 255.255.255.255 s0/1
R2(config)#^Z
R2#
Rack9AS>2
[Resuming connection 2 to r3 ... ]

R5#ping 27.2.2.2

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

HTH,

Brian Dennis, CCIE #2210 (R&S/ISP-Dial/Security)
bdennis@internetworkexpert.com

Internetwork Expert, Inc.
http://www.InternetworkExpert.com
Toll Free: 877-224-8987
Direct: 775-745-6404 (Outside the US and Canada)

-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
Schulz, Dave
Sent: Friday, July 21, 2006 10:32 PM
To: ccielab@groupstudy.com
Subject: Peer Default IP Address issue

Group -

I have been running some of the ppp commands with the peer default
command. I set up the following scenario (which appears to be
performing as it should). However, the outcome has some strange issue.
This is not a published lab, just some different scenarios that I set up
....

R2 is connected to R5 over a serial link running ppp. R5 is using a
local pool to supply addressing to R2, while R2 is using a local dhcp
server to supply addressing to R5. The configuration is as follows:

R2.....
!
hostname R2
!
no ip dhcp use vrf connected
ip dhcp excluded-address 27.2.2.2
!
ip dhcp pool pool2
   network 27.2.2.0 255.255.255.0
!
interface Serial0/1
 ip address negotiated
 encapsulation ppp
 no peer neighbor-route
 peer default ip address dhcp-pool pool2

R5........
!
hostname R5
!
!
interface Serial0/0
 ip address negotiated
 encapsulation ppp
 no peer neighbor-route
 peer default ip address pool pool1
 no fair-queue
!
ip local pool pool1 27.2.2.2

Now, note the following on R5 ......I am trying to understand why the
show ip route indicates as it does. Thoughts?

R5#sh ip rou
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS
level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static
route
       o - ODR, P - periodic downloaded static route

Gateway of last resort is not set

     27.0.0.0/32 is subnetted, 2 subnets
C 27.2.2.2 is directly connected, Serial0/0
C 27.2.2.1 is directly connected, Serial0/0
     30.0.0.0/24 is subnetted, 1 subnets
C 30.3.3.0 is directly connected, Serial0/1
R5#sh ip int brie
Interface IP-Address OK? Method Status
Protocol
FastEthernet0/0 unassigned YES NVRAM administratively
down down
Serial0/0 27.2.2.1 YES IPCP up
up
Serial0/1 30.3.3.5 YES manual up
up
R5#

Here is the same output on R2

R2#sh ip rou
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS
level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static
route
       o - ODR, P - periodic downloaded static route

Gateway of last resort is 10.1.1.1 to network 0.0.0.0

     1.0.0.0/32 is subnetted, 4 subnets
O IA 1.1.1.1 [110/2] via 10.1.1.1, 02:54:41, FastEthernet0/0
O IA 1.3.3.3 [110/2] via 10.1.1.1, 02:54:41, FastEthernet0/0
O IA 1.5.5.5 [110/2] via 10.1.1.1, 02:54:41, FastEthernet0/0
O IA 1.4.4.4 [110/2] via 10.1.1.1, 02:54:41, FastEthernet0/0
     2.0.0.0/24 is subnetted, 1 subnets
C 2.2.2.0 is directly connected, Loopback0
     3.0.0.0/32 is subnetted, 1 subnets
O IA 3.3.3.3 [110/2] via 10.1.1.3, 02:54:41, FastEthernet0/0
     20.0.0.0/24 is subnetted, 1 subnets
C 20.2.2.0 is directly connected, Loopback2
     10.0.0.0/24 is subnetted, 1 subnets
C 10.1.1.0 is directly connected, FastEthernet0/0
     27.0.0.0/32 is subnetted, 1 subnets
C 27.2.2.2 is directly connected, Serial0/1
C 27.2.2.1 is directly connected, Serial0/1
O*E2 0.0.0.0/0 [110/1] via 10.1.1.1, 02:54:44, FastEthernet0/0 R2#sh ip
int brie
Interface IP-Address OK? Method Status
Protocol
FastEthernet0/0 10.1.1.2 YES manual up
up
Serial0/0 unassigned YES NVRAM administratively
down down
Serial0/1 27.2.2.2 YES IPCP up
up

Dave Schulz,
Email: dschulz@dpsciences.com <mailto:dschulz@dpsciences.com >



This archive was generated by hypermail 2.1.4 : Tue Aug 01 2006 - 07:13:48 ART