I don't know how to use two Ethernet connection simultaneously on single PC. I was searching about this problem at least 4 hours, but I have no clue how to do it.
I am using Ubuntu 21.04 on this PC, this PC is connected to 2 other PCs. The first PC is used to receive files from this PC and the second one I use for remote desktop (second PC is in another room). Both PCs are connected via Ethernet cable.
However, when I turn on second connection in settings, the first one will turn off,when I turn on the first connection, the second one will turn off.
How can I use this two connections at the same time without switching between them?
In order to make this problem more understandable, please check image below:
Additional info:
ifconfig enp6s0; ifconfig enp4s0
(when the first connection is on):
enp6s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
ether f0:2f:74:1c:15:a1 txqueuelen 1000 (Ethernet)
RX packets 5 bytes 300 (300.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 24 bytes 3672 (3.6 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device memory 0xfbe00000-fbefffff
enp4s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 169.254.2.6 netmask 255.255.0.0 broadcast 169.254.255.255
inet6 fe80::c612:2978:2641:18e2 prefixlen 64 scopeid 0x20<link>
ether f0:2f:74:74:61:b5 txqueuelen 1000 (Ethernet)
RX packets 20 bytes 3285 (3.2 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 318 bytes 50979 (50.9 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
netstat -rn
(when the first connection is on):
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
0.0.0.0 10.10.10.1 0.0.0.0 UG 0 0 0 wlp5s0
10.10.10.0 0.0.0.0 255.255.255.0 U 0 0 0 wlp5s0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 enp4s0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 wlp5s0
224.0.0.0 0.0.0.0 240.0.0.0 U 0 0 0 enp4s0
ifconfig enp6s0; ifconfig enp4s0
(when the second connection is on):
enp6s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 169.254.184.248 netmask 255.255.0.0 broadcast 169.254.255.255
inet6 fe80::cc05:1420:54f5:773e prefixlen 64 scopeid 0x20<link>
ether f0:2f:74:1c:15:a1 txqueuelen 1000 (Ethernet)
RX packets 5 bytes 300 (300.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 58 bytes 8890 (8.8 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device memory 0xfbe00000-fbefffff
enp4s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
ether f0:2f:74:74:61:b5 txqueuelen 1000 (Ethernet)
RX packets 20 bytes 3285 (3.2 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 323 bytes 51487 (51.4 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
netstat -rn
(when the second connection is on):
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
0.0.0.0 10.10.10.1 0.0.0.0 UG 0 0 0 wlp5s0
10.10.10.0 0.0.0.0 255.255.255.0 U 0 0 0 wlp5s0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 enp6s0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 wlp5s0
224.0.0.0 0.0.0.0 240.0.0.0 U 0 0 0 enp6s0
Final notes:
I would appreciate something like simple guide or else.
Also, I don't want to use Internet connection for remote desktop nor file transfering.
Edit:
If you need more info, please you just write comment below.
Sorry for bad picture.