On Fri, 2016-06-10 at 13:25 -0600, Chris Murphy wrote:
On Fri, Jun 10, 2016 at 12:50 PM, Gordon Messmer gordon.messmer@gmail.com wrote:
On Fri, Jun 10, 2016 at 9:42 AM, Chris Murphy <lists@colorremedies. com> wrote:
I would have though for wired, setting "Use this connection only for resources on its network" would do that, but it doesn't.
What does "ip route show" output when you set that option? Also, are you setting that option for both ipv4 and ipv6?
Wireless On, Wired Off = Internet works
[root@f24m ~]# ip route show default via 172.19.11.1 dev wlp3s0b1 proto static metric 600 172.19.11.0/24 dev wlp3s0b1 proto kernel scope link src 172.19.11.35 metric 600 192.168.124.0/24 dev virbr0 proto kernel scope link src 192.168.124.1 linkdown
Wirless On, Wired On with "Use this connection only for resources on its network" unchecked = No internet
[root@f24m ~]# ip route show default via 192.168.1.1 dev enp2s0f0 proto static metric 100 default via 172.19.11.1 dev wlp3s0b1 proto static metric 600 172.19.11.0/24 dev wlp3s0b1 proto kernel scope link src 172.19.11.35 metric 600 192.168.1.0/24 dev enp2s0f0 proto kernel scope link src 192.168.1.185 metric 100 192.168.124.0/24 dev virbr0 proto kernel scope link src 192.168.124.1 linkdown
Wirless On, Wired On with "Use this connection only for resources on its network" checked = No internet
[root@f24m ~]# ip route show default via 192.168.1.1 dev enp2s0f0 proto static metric 100 default via 172.19.11.1 dev wlp3s0b1 proto static metric 600
<snip> If you want wireless to be your default you will have to change the route metric, your LAN has a metric of 100; therefore, it will always be the default route.
You can delete both route, add the wireless route with lower metric or use 100 and add the LAN route with a higher metric and you should be set.