Code:
master@HomeServer:/etc/netplan$ route -nKernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 br0
0.0.0.0 192.168.1.1 0.0.0.0 UG 202 0 0 enp12s0
0.0.0.0 192.168.1.1 0.0.0.0 UG 203 0 0 br0
10.8.0.0 10.8.0.2 255.255.255.0 UG 0 0 0 tun0
10.8.0.2 0.0.0.0 255.255.255.255 UH 0 0 0 tun0
169.254.0.0 0.0.0.0 255.255.0.0 U 209 0 0 vnet0
192.168.1.0 0.0.0.0 255.255.255.0 U 202 0 0 enp12s0
192.168.1.0 0.0.0.0 255.255.255.0 U 203 0 0 br0
The tun is ancient and hasn't been used. I put openVPN on here some months/years ago, and it didn't work out. Guess I never bothered to remove it. Removed now, no change in behavior. Here's the new ifconfig.
Code:
br0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.4 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::d607:2828:d728:82d1 prefixlen 64 scopeid 0x20<link>
ether 0e:8a:7f:b5:d9:c9 txqueuelen 1000 (Ethernet)
RX packets 74179 bytes 15878954 (15.8 MB)
RX errors 0 dropped 1063 overruns 0 frame 0
TX packets 13991 bytes 2474919 (2.4 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
enp12s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.4 netmask 255.255.255.0 broadcast 192.168.1.255
ether 0e:8a:7f:b5:d9:c9 txqueuelen 1000 (Ethernet)
RX packets 76512 bytes 17284412 (17.2 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 24827 bytes 3283681 (3.2 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 20599 bytes 3241216 (3.2 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 20599 bytes 3241216 (3.2 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
vnet0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 169.254.165.48 netmask 255.255.0.0 broadcast 169.254.255.255
inet6 fe80::fc54:ff:fede:61b5 prefixlen 64 scopeid 0x20<link>
inet6 fe80::f7b0:e9a1:6eb1:6097 prefixlen 64 scopeid 0x20<link>
ether fe:54:00:de:61:b5 txqueuelen 1000 (Ethernet)
RX packets 787 bytes 76676 (76.6 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 34269 bytes 4274544 (4.2 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
The vnet address in ifconfig doesn't make too much sense to me, as the VM reports its address as 192.168.1.5, and my router also reflects that. I've found while troubleshooting this issue that ifconfig doesn't always report the whole truth.
How do I prevent enp12s0 from getting an IP address? Since this is the physical link, doesn't it need an address?
EDIT: found your post you mentioned. The only material difference between yours and mine is setting dhcp6 to false. I did that and regenerated/applied the netplan. No change. For the first 5 seconds or so after changing the config I can reach my routers landing page at 192.168.1.1, but as soon as the bridge takes over it becomes unreachable. I also disabled network manager because I hear it can cause problems with non-standard network configs.
Code:
master@HomeServer:/etc/netplan$ ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
From 192.168.1.4 icmp_seq=1 Destination Host Unreachable
From 192.168.1.4 icmp_seq=2 Destination Host Unreachable
^C
--- 192.168.1.1 ping statistics ---
3 packets transmitted, 0 received, +2 errors, 100% packet loss, time 2007ms
pipe 2
master@HomeServer:/etc/netplan$ ping www.google.com
PING www.google.com (172.217.164.68) 56(84) bytes of data.
64 bytes from atl26s18-in-f4.1e100.net (172.217.164.68): icmp_seq=1 ttl=57 time=9.01 ms
64 bytes from atl26s18-in-f4.1e100.net (172.217.164.68): icmp_seq=2 ttl=57 time=9.23 ms
64 bytes from atl26s18-in-f4.1e100.net (172.217.164.68): icmp_seq=3 ttl=57 time=9.21 ms
^C
--- www.google.com ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 9.010/9.147/9.226/0.097 ms
Bookmarks