Fwd: Received route with strange next-hop

Ondrej Zajicek santiago at crfreenet.org
Wed Apr 18 10:50:47 CEST 2012


On Tue, Apr 17, 2012 at 11:21:26PM +0200, Christian Kölpin wrote:
> 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)

The problem is that these ifaces are down, which is strange. Don't you
still have 'scan time 0' in BIRD config? Could you add 'debug all;' to
the device section of BIRD config and send me a log file?

-- 
Elen sila lumenn' omentielvo

Ondrej 'SanTiago' Zajicek (email: santiago at crfreenet.org)
OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net)
"To err is human -- to blame it on a computer is even more so."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20120418/dce93349/attachment-0001.asc>


More information about the Bird-users mailing list