Bird 2 config syntax

Robert Sander r.sander at heinlein-support.de
Tue Sep 21 15:23:54 CEST 2021


Hi,

why is it not possible to define BGP sessions like this?

protocol bgp g60 {
	local as 64501;
	neighbor as 64499;
	ipv4 {
		import all;
		export all;
		};
		local 192.0.2.4;
		neighbor 192.0.2.5;
	};
	ipv6 {
		import all;
		export all;
		local 2001:db8::4;
		neighbor 2001:db8::5;
	};
};

It seems still necessary to write two bgp definitions separately for 
IPv4 and IPv6 repeating the AS numbers and name.

I see no benefit from the Bird 1.6 notation here.

Regards
-- 
Robert Sander
Heinlein Consulting GmbH
Schwedter Str. 8/9b, 10119 Berlin

http://www.heinlein-support.de

Tel: 030 / 405051-43
Fax: 030 / 405051-19

Zwangsangaben lt. §35a GmbHG:
HRB 220009 B / Amtsgericht Berlin-Charlottenburg,
Geschäftsführer: Peer Heinlein -- Sitz: Berlin


More information about the Bird-users mailing list