Dhcp and default route

D

Diego Balgera

Hi,

I have a Pc running Win2k sp4 with 2 Ip interfaces connected to 2 different
networks (the internet and a private network) and the Pc acts as Dhcp
client.
There are Dhcp servers in both network, each of them releasing the Ip
address, netmask and default router. The problem is that the default route
has to be set for the internet side only, and the private network has to be
reached with some specific routes instead (that I could write with "route -p
add ......".
Do you know if there is the possibility for the Dhcp client, asking the Dhcp
server in the private network, do not put the default route in the Pc's
routing table? Or delete this route after having received it?
Note that the Pc is unattended, the configuration must survive a reboot and
no user usually logs in.

Thank you in advance!
Best regards.
Diego.
 
C

Chris Edson [MSFT]

If they are simple host-to-host routes (i.e. routes to specific machines
only, rather than to a particular network/range of addresses), you could
look into configuring option 33 Static Routes for the scope in question at
the DHCP Server.


--
==============================
Chris Edson
(e-mail address removed)

This posting is provided "AS IS" with
no warranties, and confers no rights.
===============================
 
D

Diego Balgera

Thank you Chris,

my problem is a bit different. I cannot touch the Dhcp server configuration
since it is not administered by me. But I receive from this Dhcp server a
default route that I would like do not receive (or to eliminate after having
received it).

Is there any possibility to do this?

Thank you again.
Diego.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top