CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected] 2010/05/17 09:49:29

Modified files:
        usr.sbin/bgpd  : bgpd.8 bgpd.c bgpd.conf.5 bgpd.h config.c 
                         kroute.c parse.y printconf.c rde.c session.h 

Log message:
Last bits of MPLS VPN support. Hook kernel routing tables and RIB together.
This adds a bit of new config to specify the mapping between an rdomain and
the BGP MPLS VPN instance, example:
rdomain 1 {
descr "CUSTOMER1"
rd 65003:1
import-target rt 65003:3
export-target rt 65003:1
depend on mpe0
network 192.168.224/24
}
The "depend on mpe0" is a but ugly but for now this is the quickest way to
figure out which interface bgp should use to insert the MPLS routes.

A big side-effect of this diff is that networks are now internally
distributed through kroute.c.
This needs some kernel changes that will follow hopefully soon.
OK henning@

Reply via email to