I have two laptops both of which are running CentOS 7. Both are connected to a wireless access point for Internet connectivity. I also have connected them to each other through a switch as a lab for my RHCSA exam.
The problem is that whenever I connect them through the switch, they lose internet connectivity. The wireless connection is working, they have their IP addresses but no internet connectivity.
To bring back the internet connectivity I have to disable the Ethernet adapters through nmcli
command.
I just have started using LINUX so I must be missing something.
EDIT: This is the kernel routing table while the problem exists:
# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default gateway 0.0.0.0 UG 100 0 0 enp0s25
default gateway 0.0.0.0 UG 600 0 0 wlo1
10.10.10.0 0.0.0.0 255.255.255.0 U 100 0 0 enp0s25
192.168.43.0 0.0.0.0 255.255.255.0 U 600 0 0 wlo1
route
command on both machines. – Ned64 Nov 4 '17 at 9:44