Windows 2000 DHCP option 003 two router IP's

Posted on 2006-04-06
Last Modified: 2010-04-13
We have two T1's in different buildings. We are going to connect the two buildings with fiber optic cable, but I would still like to make use of the T1 in the other building. I noticed you can add multiple routers in the 003 DHCP option. Are there any performance issues with doing this, or is there a way to add a metric in the DHCP options. I am thinking about changes my scope to include the both the and 103.1 subnets. Exclude the 103.1 from the scope, and using this as a redundant gateway in the event our primary T1 fails. Has anyone done this, and knows that it will work? Are there any known performance issues with doing this?
Question by:Rodney Barnhardt
    LVL 70

    Accepted Solution


    You can have multiple default Gateways on Windows machines and it will act as a failover in the event of the first gateway going down.

    For the implementation I've done of this we had one gateway with a higher metric so the second connection would only ever be used in the event of the first failing. The changover itself is surprising neat and it normally takes a couple of minutes at the most for client machines to realise, if the first gateway becomes available again clients will simply switch back automatically.

    Remember that whatever you do the Default Gateway has to be on a directly attached network for it to work.

    LVL 31

    Author Comment

    by:Rodney Barnhardt
    Now we have two seperate routers and two seperate firewalls. Is there a way to set the metric in the DHCP server options? I realize if both T1 came to the same location I could set the metric on the router or the firewall. I did not notice a setting in the DHCP options to set a metric.
    LVL 77

    Expert Comment

    by:Rob Williams
    If stuck, you could use a batch file or add to logon script something similar to the following, to set the metric:

    netsh interface ip set address name = "Local Area Connection" gateway = gwmetric = 1

    I would assume this would work, as the logon script would run after DHCP has assigned the IP and gateway, and this would simply update the TCP/IP configuration. However, I don't know if it would retain the metric if the user were to stay logged in longer than the DHCP lease time, and a new lease were issued.

    Just food for thought.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
    Outlook Free & Paid Tools
    This video is in connection to the article "The case of a missing mobile phone (". It will help one to understand clearly the steps to track a lost android phone.
    Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now