From: Johnson, Charles (Charles.Johnson@xxxxxxxxxx)
Date: Thu Dec 28 2000 - 21:14:26 GMT-3
I believe "no peer neighbor-route" will work on a serial line as well as DDR in
terfaces. Like Kevin said, the default is to add the host route:
DEFAULT
Creation of a route to the peer address on any point-to-point interface when th
e PPP IPCP negotiation is completed.
Charles
-----Original Message-----
From: Kevin Baumgartner [mailto:kbaumgar@cisco.com]
Sent: Thursday, December 28, 2000 6:37 PM
To: Andrew Chau; ccielab@groupstudy.com
Subject: Re: Question on ppp encapsulation
When doing PPP encapsulation the two routers will negotiate for IP
addresses for the
WAN link, and the negotiated ip addresses will be put into each routers
route table as
a host route /32. If you do a "debug ppp neg" you will see this happening.
If doing hdlc
the two routers don't negotiate for ip addresses. And no /32 routes are
added.
Kevin
At 10:08 AM 12/29/00 +1100, Andrew Chau wrote:
>Hi,
>
>I have two routers connected via a serial link. I used ppp encapsulation on
>both serial interfaces and I found something interesting.
>
>
>-----(R1)------------------135.20.10.0/24 ----------------------(R2)------
>
>
>I issued a "show ip route" on R1 and I saw two routes... One came with a 24
>bit mask for the subnet and the other one was 32 bit.
>I took away the encapsulation ppp statements, the one with 32 bit mask then
>disappeared. Can anyone explain why I have the one
>with 32 bit mask? This route will be advertised to other routers and I
>want to suppress it... Is there a command to achieve that?
>
>
>r1#sh ip route
>Gateway of last resort is not set
>
>C 135.20.10.2/32 is directly connected, Serial1
>C 135.20.10.0/24 is directly connected, Serial1
>
>
>r2#sh ip route
>Gateway of last resort is not set
>
>C 135.20.10.1/32 is directly connected, Serial1
>C 135.20.10.0/24 is directly connected, Serial1
>
>
>
>Thanks in advance.
>
>
>Andrew
>
>
This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 08:26:12 GMT-3