Multiple interfaces to one IP address?

Posted by Delan Azabani on Super User See other posts from Super User or by Delan Azabani
Published on 2010-05-30T07:13:45Z Indexed on 2010/05/30 7:22 UTC
Read the original article Hit count: 326

At present, I have:

  • a Netgear router with DHCP off at 192.168.0.1
  • my computer
    • eth0 at 192.168.0.2
    • wlan0 at 192.168.0.2

The wlan0 interface always connects to the router, while the eth0 interface connects to other computers with crossover and acts as a dnsmasq DHCP server for network boot and installation.

If I use the Gnome NetworkManager to enable both connections, that is, with wlan0 connected to the router/internet and eth0 to another computer, both as 192.168.0.2, I cannot access the internet while eth0 is connected.

Why is this? How can I configure my computer to follow wlan0 for Internet usage, but use eth0 for itself (the latter is working but blocking wlan0).

© Super User or respective owner

Related posts about linux

Related posts about ubuntu