1

I have an active LAN (Ethernet) and WiFi connection.

When both are active it seems all traffic is routed to LAN but I want all internet traffic routed to WiFi and only internal IPs (10 . * . * . * ) routed to the LAN adapter.

How can I use route add make my WiFi Gateway the default for everything and my LAN Gateway only route 10.*?

DavidPostill
  • 162,382
Marc
  • 413

1 Answers1

0

It means you have probably set a gateway for both interfaces.

If you use the Ethernet interface only for network 10.x.x.x and nothing else (no network behind it), then simply remove the gateway from this interface. You don't need to add a route unless there is more networks behind the 10.x.x.x interface.

Doezer
  • 451
  • 2
  • 11