Re: PPPoE

From: Victor Cappuccio (vcappuccio@gmail.com)
Date: Mon Oct 27 2008 - 17:44:53 ARST


Bogdan,

Because PPP allocates his clientes a /32, and you would receive something
like
OSPF: Rcv pkt from 0.0.0.0, Virtual-Access1.1, area 0.0.0. 0 : src not on
the same network, PPP doesn't have any option to negotiate the mask
information and will always use a /32 bit mask when IP address that was
negotiated.

 /32 is 1 host, and OSPF would complain that the remote is not on the same
subnet

if you need to run OSPF there, if you've misconfigured the OSPF interface
parameters the timers or the subnet mask you would have a problem to
establish OSPF Adjacency, I notice also that if you have a mismatched IP
subnets (not the subnet mask) on adjacent routers, you will not see any
received hello packets,
it is better to use the DHCP-Pool (local to the router) DHCP (to use the
router as a proxy client to allocate a peer ip address) to receive whatever
you have configured as the subnet mask in the dhcp request, the way to
perform these task

R1(config-if)#interface Virtual-Template1
R1(config-if)#ip address 10.10.10.1 255.255.255.0
R1(config-if)#peer default ip address ?
  dhcp Use DHCP proxy client mechanism to allocate a peer IP address
  dhcp-pool Use local DHCP pools to allocate a peer IP address
  pool Use IP pool mechanism to allocate a peer IP address

Remember that OSPF needs both the ends in the same network to form neighbour
relationship. Just something I saw while teaching ISCW, and a student asked
to configure ospf there, also is clear that we have would have an MTU Issue
there.

HTH
Victor.-

On Mon, Oct 27, 2008 at 8:09 PM, Bogdan Sass <bogdan.sass@catc.ro> wrote:

> Victor Cappuccio wrote:
>
>> Just a side note here
>>
>> Watch out for anything that is not a static route on the client side when
>> negotiating the IP Address via PPP (/32)
>>
>>
>> <snip>
>>
>>
>>
>> Router(config)#do show ip route | b Gate
>> Gateway of last resort is not set
>>
>> 10.0.0.0/32 is subnetted, 2 subnets
>> C 10.10.10.3 is directly connected, Dialer1
>> C 10.10.10.1 is directly connected, Dialer1
>> Router(config)#do ping 10.10.10.1
>>
>> Type escape sequence to abort.
>> Sending 5, 100-byte ICMP Echos to 10.10.10.1, timeout is 2 seconds:
>> !!!!!
>> Success rate is 100 percent (5/5), round-trip min/avg/max = 8/56/132 ms
>> Router(config)#ip route 0.0.0.0 0.0.0.0 d1
>> Router(config)#do ping 1.1.1.1
>>
>> Type escape sequence to abort.
>> Sending 5, 100-byte ICMP Echos to 1.1.1.1, timeout is 2 seconds:
>> !!!!!
>> Success rate is 100 percent (5/5), round-trip min/avg/max = 8/76/256 ms
>> Router(config)#router ospf 1
>> Router(config-router)#int d1
>> Router(config-if)#ip ospf 1 area 0
>> Router(config-if)#do show ip ospf int brief
>> Interface PID Area IP Address/Mask Cost State Nbrs F/C
>> Di1 1 0 10.10.10.3/32 1785 P2P 0/0
>> Router(config-if)#
>> Vi2 PPP: Outbound cdp packet dropped
>> Router(config-if)#
>> %OSPF-5-ADJCHG: Process 1, Nbr 0.0.0.0 on Dialer1 from INIT to DOWN,
>> Neighbor Down: Adjacency forced to reset
>> Router(config-if)#
>>
>>
> Could you elaborate a little bit on that? Why do the routers reset the
> adjacency?
>
>
> --
> Bogdan Sass
> CCAI,CCSP,JNCIA-ER,CCIE #22221 (RS)
> Information Systems Security Professional
> "Curiosity was framed - ignorance killed the cat"
>
>

-- 
Victor Cappuccio
CCIE R/S# 20657
CCSI# 30452
www.anetworkerblog.com

Blogs and organic groups at http://www.ccie.net



This archive was generated by hypermail 2.1.4 : Sat Nov 01 2008 - 15:35:23 ARST