Static Wired/Ethernet + Wireless = no Internet

Kernels & Hardware, configuring network, installing services

Static Wired/Ethernet + Wireless = no Internet

Postby cb90 » 2020-11-03 23:46

Hi all, Debian Buster user here.

I can connect to the internet just fine if I use my wireless interface.

However, after connecting to another device over an Ethernet connection (a static IP address is needed for this), I immediately lose internet connectivity.

Any ideas on why this is happening and how to circumvent it?

Thanks!

Code: Select all
enp0s31f6: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.0.100  netmask 255.255.255.0  broadcast 192.168.0.255
        inet6 fe80::c9b0:2978:e160:d4ef  prefixlen 64  scopeid 0x20<link>
        ether 8c:16:45:d3:8b:a2  txqueuelen 1000  (Ethernet)
        RX packets 479  bytes 106898 (104.3 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 1513  bytes 158686 (154.9 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 16  memory 0xf1300000-f1320000 

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 54504  bytes 5483166 (5.2 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 54504  bytes 5483166 (5.2 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlp6s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 fe80::6f12:3b9b:f7d7:308f  prefixlen 64  scopeid 0x20<link>
        ether 04:d3:b0:77:59:e3  txqueuelen 1000  (Ethernet)
        RX packets 3844396  bytes 4498361833 (4.1 GiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 1689235  bytes 580905421 (553.9 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
cb90
 
Posts: 5
Joined: 2020-09-22 17:30

Re: Static Wired/Ethernet + Wireless = no Internet

Postby Head_on_a_Stick » 2020-11-04 17:40

Which software are you using to connect?
Black Lives Matter

Debian buster-backports ISO image: for new hardware support
User avatar
Head_on_a_Stick
 
Posts: 12795
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Static Wired/Ethernet + Wireless = no Internet

Postby cb90 » 2020-11-04 23:32

NetworkManager
cb90
 
Posts: 5
Joined: 2020-09-22 17:30

Re: Static Wired/Ethernet + Wireless = no Internet

Postby troffasky » 2020-11-06 16:53

Paste output of "ip route" from when it's not working.
troffasky
 
Posts: 25
Joined: 2017-11-05 11:00

Re: Static Wired/Ethernet + Wireless = no Internet

Postby cb90 » 2020-11-10 02:37

Sorry for the late reply, did not have access to the setup until now.

First ip route command is while connected to the other device via static IP (i.e. internet connection not working), the final ip route command was executed after the wired connection was disconnected via the network manager's GUI.

Code: Select all
host@host ~ $ ip route
default via 192.168.0.1 dev enp0s31f6 proto static metric 100
default via 192.168.1.1 dev wlp6s0 proto dhcp metric 600
169.254.0.0/16 dev wlp6s0 scope link metric 1000
172.17.0.0/16 dev docker0 proto kernel scope link src 172.17.0.1 linkdown
192.168.0.0/24 dev enp0s31f6 proto kernel scope link src 192.168.0.100 metric 100
192.168.1.0/24 dev wlp6s0 proto kernel scope link src 192.168.1.11 metric 600
host@host ~ $ sudo ifconfig
docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255
        ether 02:42:43:85:79:a0  txqueuelen 0  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

enp0s31f6: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.0.100  netmask 255.255.255.0  broadcast 192.168.0.255
        inet6 fe80::c9b0:2978:e160:d4ef  prefixlen 64  scopeid 0x20<link>
        ether 8c:16:45:d3:8b:a2  txqueuelen 1000  (Ethernet)
        RX packets 9  bytes 1936 (1.8 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 112  bytes 14065 (13.7 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 16  memory 0xf1300000-f1320000 

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 20285  bytes 3993866 (3.8 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 20285  bytes 3993866 (3.8 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlp6s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.11  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 fe80::6f12:3b9b:f7d7:308f  prefixlen 64  scopeid 0x20<link>
        ether 04:d3:b0:77:59:e3  txqueuelen 1000  (Ethernet)
        RX packets 1724675  bytes 2280725006 (2.1 GiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 572482  bytes 136030348 (129.7 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

host@host ~ $ ip route
default via 192.168.1.1 dev wlp6s0 proto dhcp metric 600
169.254.0.0/16 dev wlp6s0 scope link metric 1000
172.17.0.0/16 dev docker0 proto kernel scope link src 172.17.0.1 linkdown
192.168.1.0/24 dev wlp6s0 proto kernel scope link src 192.168.1.11 metric 600
cb90
 
Posts: 5
Joined: 2020-09-22 17:30


Return to System configuration

Who is online

Users browsing this forum: arzgi and 15 guests

fashionable