On Thu, Apr 23, 2020 at 06:08:02PM +0100, Stuart Henderson wrote:
> We could use it in the sample config too. OK?
OK. Lets burn down the bad v4 vs v6 groups :)
> Index: bgpd.conf
> ===================================================================
> RCS file: /cvs/src/etc/examples/bgpd.conf,v
> retrieving revision 1.18
> diff -u -p -r1.18 bgpd.conf
> --- bgpd.conf 16 Feb 2020 20:02:21 -0000 1.18
> +++ bgpd.conf 23 Apr 2020 17:07:12 -0000
> @@ -51,18 +51,15 @@ prefix-set bogons {
> network prefix-set mynetworks set large-community $ASN:1:1
>
> # assume simple network with 3 routers in IBGP full mesh
> -group "ibgp mesh v4" {
> +group "ibgp mesh" {
> remote-as $ASN
> - # use loopback for IBGP sessions, assume its distributed in OSPF
> + # use loopback for IBGP sessions, assume it's distributed in OSPF
> local-address 192.0.2.1
> - neighbor 192.0.2.2 # router 2 ipv4
> - neighbor 192.0.2.3 # router 3 ipv4
> -}
> -# define the IPv6 IBGP sessions
> -group "ibgp mesh v6" {
> - remote-as $ASN
> local-address 2001:db8:abcd::1
> +
> + neighbor 192.0.2.2 # router 2 ipv4
> neighbor 2001:db8:abcd::2 # router 2 ipv6
> + neighbor 192.0.2.3 # router 3 ipv4
> neighbor 2001:db8:abcd::3 # router 3 ipv6
> }
>
>
--
:wq Claudio