Fwd: Received route with strange next-hop

Christian Kölpin raptor2101 at gmx.de
Tue Apr 17 23:21:26 CEST 2012


Am 17.04.2012 23:14, schrieb Ondrej Zajicek:
> On Tue, Apr 17, 2012 at 09:54:40PM +0200, Christian Kölpin wrote:
>>> Hello
>>>
>>> BIRD generally assumes tha that gateway of routes is a direct neighbor
>>> according to IP addresses on interfaces, not according to routing tables.
>>> So having /32 device route does not help. But you could add ptp address
>>> on that iface:
>>>
>>> ip addr add a.b.c.d peer 84.57.128.1 dev XXX
>>> (where a.b.c.d is the current local IP of that device
>> Hello
>>
>> pppd and openvpn does add this address already. If i run this command
>> the message "RTNETLINK answers: File exists" appears.
>> So i assumed the peer 84.57.128.1 should known as "directly connected".
>>
>> ifconfig output:
>> tun0      Link encap:UNSPEC  HWaddr
>> 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 
>>           inet addr:192.168.100.129  P-t-P:192.168.100.130 
>> Mask:255.255.255.255
>>           UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
>>
>> pppoe-wan Link encap:Point-to-Point Protocol 
>>           inet addr:84.57.179.177  P-t-P:84.57.128.1  Mask:255.255.255.255
>>           UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1492  Metric:1
>>
>> ip route output
>> 192.168.100.130 dev tun0  proto kernel  scope link  src 192.168.100.129
>> 84.57.128.1 dev pppoe-wan  proto kernel  scope link  src 84.57.179.177
> In that case it is strange that the warning is still here. Could you send me
> an output of 'ip addr list' and 'birdc show interfaces' ?
>
Hello

here we go

ip addr list:
66: pppoe-wan: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1492 qdisc
pfifo_fast state UNKNOWN qlen
3                                                     
   
link/ppp                                                                                                                                                

    inet 84.57.179.177 peer 84.57.128.1/32 scope global pppoe-wan

41: tun0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc
pfifo_fast state UNKNOWN qlen
100                                                        
   
link/none                                                                                                                                               

    inet 192.168.100.129 peer 192.168.100.130/32 scope global tun0

birdc show interfaces:

pppoe-wan DOWN (index=67)
        PtP Multicast AdminUp LinkUp MTU=1492

tun0 DOWN (index=41)
        PtP Multicast AdminUp LinkUp MTU=1500
        192.168.100.129/32 (Primary, opposite 192.168.100.130, scope site)


interesting: link/ppp is interpreted as "DOWN"...

greetings Raptor 2101




More information about the Bird-users mailing list