Code:
default via 172.16.0.65 dev nm-bridge proto static metric 425
default via 172.16.0.65 dev wlp3s0 proto dhcp src 172.16.0.107 metric 600
172.16.0.64/26 dev nm-bridge proto kernel scope link src 172.16.0.68 metric 425
172.16.0.64/26 dev wlp3s0 proto kernel scope link src 172.16.0.107 metric 600
192.168.100.0/24 dev virbr1 proto kernel scope link src 192.168.100.1 linkdown
this is my above routes in linux. nm-bridge is an bridge of eth0 which is for qemu VM networking. Now when i remove my ethernet my wifi (172.16.0.107) cant be pinged and in my linux i dont have internet but when i increase the metric of nm-bridge then wifi works. Now what can i do so that when i remove ethernet my wifi works. And when ethernet is connected internet should be used by ethernet.
I have deleted the ethernet interface while creating the bridge port
Last edited: