LinuxEthernet and Wifi at the same time connection problems

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Jessica282

Thread Starter
Joined
Jun 21, 2017
Messages
2
For the longest time I've been trying to setup Ethernet and WiFi at the same time, WiFi for the server hosting and Ethernet for regular use but when I have the Ethernet connected I stop being able to connect to my server which is specifically listening on 192.168.2.9:25565 and That IP is in a DMZ On the router.

When I disconnect the Ethernet however I can connect via WAN again.

I'm on fedora 25 and have had this problem on Ubuntu, Debian and many other distributions.

In case it's not clear when I disconnect the Ethernet cable from my laptop, On my Desktop which is on my Ethernet network I can connect VIA Wan.
 

zx10guy

Trusted Advisor
Spam Fighter
Joined
Mar 30, 2008
Messages
6,434
More information about the network setup is needed. What's the IP configuration for both the wireless and Ethernet interfaces?
 

Jessica282

Thread Starter
Joined
Jun 21, 2017
Messages
2
Wireless:
wlp0s26u1u2: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1492
inet 192.168.2.9 netmask 255.255.255.0 broadcast 192.168.2.255
inet6 fe80::dbb7:4be0:7df9:743d prefixlen 64 scopeid 0x20<link>
ether 00:00:00:00:00:00 txqueuelen 1000 (Ethernet)
RX packets 420872 bytes 147769885 (140.9 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 117916 bytes 20346332 (19.4 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
Wired:
enp3s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.133 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::56f9:3460:75cb:dc68 prefixlen 64 scopeid 0x20<link>
ether 00:00:00:00:00:00 txqueuelen 1000 (Ethernet)
RX packets 956953 bytes 1362403414 (1.2 GiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 479329 bytes 36350905 (34.6 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

Note: When I check "Use this connection only resources on its network" I'm able to connect to the server again, But then I can't use my Ethernet for anything but internal use.
 

zx10guy

Trusted Advisor
Spam Fighter
Joined
Mar 30, 2008
Messages
6,434
I'm guessing you have a default gateway configured for both network interfaces. If so, that's your problem.
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Staff online

Top