issue with openbgpd + 8.0

Li, Qing qing.li at bluecoat.com
Thu Dec 17 19:14:07 UTC 2009


Thanks for reporting back and the detailed description.

>
> - bgpd don't terminate, it's OK
> 

Okay, making progress.

>
> but there appeared some new problems:
>

Interestingly enough, my patch is to resolve the issue where adding
and removing address aliases are not reported. This issue appears to
be solved but the regular address manipulation seems problematic as
you describe in your environment.

Let me investigate further with my bgp setup.

Please note I am going on vacation for a couple of weeks so there
may be some delay for a patch.

-- Qing


 
> TEST: bgpd is running, vlan3 not exists
> ----------------------------------------------------------------------
> # netstat -rnf inet
> Routing tables
> 
> Internet:
> Destination        Gateway            Flags    Refs      Use  Netif
> Expire
> default            10.8.20.1          UGS         5   135040   bge0
> 10.8.20.0/24       link#1             U           0        0   bge0
> 10.8.20.20         link#1             UHS         0        0    lo0
> 127.0.0.1          link#4             UH          0       35    lo0
> 
> $ bgpctl show fib
> flags: * = valid, B = BGP, C = Connected, S = Static
>        N = BGP Nexthop reachable via this route
>        r = reject route, b = blackhole route
> 
> flags prio destination          gateway
> *S      48 0.0.0.0/0            10.8.20.1
> *C      48 10.8.20.0/24         link#1
> *C      48 10.8.20.20/32        link#4
> *C       0 127.0.0.1/8          link#0
> *C      48 127.0.0.1/32         link#4
> 
> # ifconfig vlan3 create
> # ifconfig vlan3 172.16.1.1/24
> # netstat -rnfinet
> Routing tables
> 
> Internet:
> Destination        Gateway            Flags    Refs      Use  Netif
> Expire
> default            10.8.20.1          UGS         2   136107   bge0
> 10.8.20.0/24       link#1             U           0        0   bge0
> 10.8.20.20         link#1             UHS         0        0    lo0
> 127.0.0.1          link#4             UH          0       35    lo0
> 172.16.1.0/24      link#6             U           0        0  vlan3
> 172.16.1.1         link#6             UHS         0        0    lo0
> 
> $ bgpctl show fib
> *C      48 10.8.20.0/24         link#1
> *C      48 10.8.20.20/32        link#4
> *C       0 127.0.0.1/8          link#0
> *C      48 127.0.0.1/32         link#4
>  C      48 172.16.1.0/24        link#6
> 
> /* there is 172.16.1.1/32  link#4  missing
> and 172.16.1.0/24 is not marked as valid */
> 
> # ifconfig vlan3 alias 172.16.1.2/32
> $ bgpctl show fib
> *C      48 10.8.20.0/24         link#1
> *C      48 10.8.20.20/32        link#4
> *C       0 127.0.0.1/8          link#0
> *C      48 127.0.0.1/32         link#4
>  C      48 172.16.1.0/24        link#6
>  C      48 172.16.1.2/32        link#6
> 
> new alias /32 is added correctly
> 
> after restart bgpd, it prints this:
> 
> # netstat -rnfinet
> Routing tables
> 
> Internet:
> Destination        Gateway            Flags    Refs      Use  Netif
> Expire
> default            10.8.20.1          UGS         6   141282   bge0
> 10.8.20.0/24       link#1             U           0        0   bge0
> 10.8.20.20         link#1             UHS         0        0    lo0
> 127.0.0.1          link#4             UH          0       35    lo0
> 172.16.1.0/24      link#6             U           0        0  vlan3
> 172.16.1.1         link#6             UHS         0        0    lo0
> 172.16.1.2         link#6             UHS         0        0    lo0 =>
> 172.16.1.2/32      link#6             U           0        0  vlan3
> 
> $ bgpctl show fib
> flags: * = valid, B = BGP, C = Connected, S = Static
>        N = BGP Nexthop reachable via this route
>        r = reject route, b = blackhole route
> 
> flags prio destination          gateway
> *S      48 0.0.0.0/0            10.8.20.1
> *C      48 10.8.20.0/24         link#1
> *C      48 10.8.20.20/32        link#4
> *C       0 127.0.0.1/8          link#0
> *C      48 127.0.0.1/32         link#4
> *C      48 172.16.1.0/24        link#6
> *C      48 172.16.1.1/32        link#4
> *C      48 172.16.1.2/32        link#4
> *C      48 172.16.1.2/32        link#6
> 
> /* So, after bgpd restart, it registered new interface and all routes
> correctly and routes are valid.
> 
> When I start bgpd >after< creating vlan3 (without ip adresses), it's
> behavior is same, but routes in "bgpctl show fib" output are displayed
> as valid (with *)
> 
> */


More information about the freebsd-net mailing list