Configuring default gateway returned by dhcp server

Posted by comp1mp on Super User See other posts from Super User or by comp1mp
Published on 2010-03-21T19:59:45Z Indexed on 2010/03/21 20:01 UTC
Read the original article Hit count: 1241

Filed under:
|
|

Hello,

I have a machine which connects via ethernet to a private LAN, and wireless to a network which provides internet connectivity. The private LAN uses a wireless router to perform DHCP.

The problem is that the wireless and NIC adapters have different default gateways. The default gateway for the private LAN has a lower adapter metric, and is thus chosen by the routing algorithm. I am thus unable to browse the internet when connected to both adapters.

The following link has a solution for manually setting the adapter metric to a high number. http://superuser.com/questions/77822/how-to-tell-windows-7-to-ignore-a-default-gateway

I was hoping to find a different solution.

Does any one know of a router that allows you to configure its DHCP server to return an empty default gateway? I cannot find such an option for my linksys wrt300n.

Configuring a static ip address with no default gateway does work, however I would like to use DHCP if possible.

Does anyone know of a different way to specify a default gateway for a windows 7 machine with multiple network adapters without mucking with the adapter metric?

Thanks, Matthew

© Super User or respective owner

Related posts about dhcp

Related posts about router