Hmmmmm, both the routing tables look alright tbf (unless I'm missing something):
# Jammy ``` ubuntu@jammy-netplan-hackz:~$ ip route default via 10.128.0.1 dev ens4 proto dhcp src 10.128.0.15 metric 100 10.1.2.0/25 via 10.1.2.1 dev ens5 proto dhcp src 10.1.2.4 metric 100 10.1.2.1 dev ens5 proto dhcp scope link src 10.1.2.4 metric 100 10.128.0.0/20 via 10.128.0.1 dev ens4 proto dhcp src 10.128.0.15 metric 100 10.128.0.1 dev ens4 proto dhcp scope link src 10.128.0.15 metric 100 169.254.169.254 via 10.128.0.1 dev ens4 proto dhcp src 10.128.0.15 metric 100 ubuntu@jammy-netplan-hackz:~$ netstat -rn Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 0.0.0.0 10.128.0.1 0.0.0.0 UG 0 0 0 ens4 10.1.2.0 10.1.2.1 255.255.255.128 UG 0 0 0 ens5 10.1.2.1 0.0.0.0 255.255.255.255 UH 0 0 0 ens5 10.128.0.0 10.128.0.1 255.255.240.0 UG 0 0 0 ens4 10.128.0.1 0.0.0.0 255.255.255.255 UH 0 0 0 ens4 169.254.169.254 10.128.0.1 255.255.255.255 UGH 0 0 0 ens4 ``` # Noble ``` ubuntu@noble-netplan-hackz:~$ ip route default via 10.128.0.1 dev ens4 proto dhcp src 10.128.0.51 metric 100 10.1.2.0/25 via 10.1.2.1 dev ens5 proto dhcp src 10.1.2.5 metric 100 10.1.2.1 dev ens5 proto dhcp scope link src 10.1.2.5 metric 100 10.128.0.0/20 via 10.128.0.1 dev ens4 proto dhcp src 10.128.0.51 metric 100 10.128.0.1 dev ens4 proto dhcp scope link src 10.128.0.51 metric 100 169.254.169.254 via 10.128.0.1 dev ens4 proto dhcp src 10.128.0.51 metric 100 ubuntu@noble-netplan-hackz:~$ netstat -rn Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 0.0.0.0 10.128.0.1 0.0.0.0 UG 0 0 0 ens4 10.1.2.0 10.1.2.1 255.255.255.128 UG 0 0 0 ens5 10.1.2.1 0.0.0.0 255.255.255.255 UH 0 0 0 ens5 10.128.0.0 10.128.0.1 255.255.240.0 UG 0 0 0 ens4 10.128.0.1 0.0.0.0 255.255.255.255 UH 0 0 0 ens4 169.254.169.254 10.128.0.1 255.255.255.255 UGH 0 0 0 ens4 ``` -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2131966 Title: Netplan on Jammy doesn't prevent metadata/DNS routing on a secondary NIC despite any DHCP overrides given To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/netplan.io/+bug/2131966/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
