I have a Wireless Adapter and an Ethernet Adapter installed.
I want all traffic for network 192.168.2.0 to use Wifi on Wireless Adapter wlp0s26u1u1 192.168.2.108.
All other traffic including internet requests should use Ethernet Adapter eno1 192.168.1.105.
I think it has to be done using the route command but I'm not sure of how to write the commands.
Here my settings:
Code: Select all
Ethernet Adapter
eno1 192.168.1.105
Wireless Adapter
wlp0s26u1u1 192.168.2.108
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.1.1 0.0.0.0 UG 100 0 0 eno1
0.0.0.0 192.168.2.1 0.0.0.0 UG 600 0 0 wlp0s26u1u1
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 eno1
192.168.1.0 0.0.0.0 255.255.255.0 U 100 0 0 eno1
192.168.2.0 0.0.0.0 255.255.255.0 U 600 0 0 wlp0s26u1u1
192.168.15.0 0.0.0.0 255.255.255.0 U 0 0 0 vmnet1
192.168.29.0 0.0.0.0 255.255.255.0 U 0 0 0 vmnet8