diff --git a/debian/wit-network-config.postinst b/debian/wit-network-config.postinst index f2fadda..c54a647 100755 --- a/debian/wit-network-config.postinst +++ b/debian/wit-network-config.postinst @@ -137,11 +137,11 @@ case "$1" in cat <<-EOF >>$IFCONFIG auto $ifname iface $ifname inet static - address $ipv4 + address ${ipv4/\\/} mtu 9000 iface $ifname inet6 static - address $ipv6 + address ${ipv6/\\/} EOF @@ -150,6 +150,14 @@ case "$1" in if [[ $ifname = ibgp? ]]; then + + ## build FRR interface config to enable ND adv for ipv6 unmanaged + FRR_IFS="${FRR_IFS}interface $ifname\n" + FRR_IFS="${FRR_IFS} description $ifalias\n" + FRR_IFS="${FRR_IFS} ipv6 nd ra-interval 10\n" + FRR_IFS="${FRR_IFS} no ipv6 nd suppress-ra\n!\n" + + cat <<-EOF >>$IFCONFIG auto $ifname iface $ifname inet manual