Alpine 3.18.4, bird.conf (ospf), routes4.conf, routes6.conf
284
birdc c
/interface/veth name=veth1 add address=172.17.0.2/16,fd8d::2/64 gateway=172.17.0.1 gateway6=fd8d::1
/interface/bridge/add name=container
/interface/bridge/port add bridge=container interface=veth1
/ip/address/add address=172.17.0.1/16 interface=container
/ipv6/address/add address=fd8d::1/64 interface=container advertise=no
# IPv4
/routing ospf instance add name=default-v2 version=2 router-id=172.17.0.1 routing-table=main
/routing ospf area add instance=default-v2 name=backbone-v2
/routing ospf interface-template add area=backbone-v2 interfaces=container type=ptp instance-id=0 cost=10 priority=128
# IPv6
/routing ospf instance add name=default-v3 version=3 router-id=172.17.0.1 routing-table=main
/routing ospf area add instance=default-v3 name=backbone-v3
/routing ospf interface-template add area=backbone-v3 interfaces=container type=ptp instance-id=0 cost=10 priority=128
Content type
Image
Digest
sha256:de15923f9…
Size
4.5 MB
Last updated
almost 3 years ago
docker pull duqn/bird