Windows2003 server two-line dual IP dual-Nic setting method

Source: Internet
Author: User
Keywords Double Line

Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall

Dual-line Dual IP is very good, netcom users to access the Netcom line, telecommunications users access to telecommunications lines.

Many people will choose to import static routing table, this approach seems perfect, in fact, a lot of problems.

1, if the telecommunications user is resolved to the IP of Netcom, the server will return to the telecommunications line according to the routing table, but the user requests is the Netcom IP, so the user can not get anything, as if you bought something from the first floor, the mall is on the second floor to you ship, and do not tell you to go to the second floor to take.

2, even if the correct resolution, but if the education network users, the server will be because the routing table does not have IP records and will not return anything.

3, IP is constantly changing, there are additional, to keep the road from the table is really too tired.

The existence of any of the above three articles, I don't think you would consider using a static routing table.

OK, here's the point:

Windows 2003 default dual network adapter configuration is problematic, often without reason, there will be a network card disconnected, frequency, time is uncertain. The reason for this is that Windows has its own "Dead Gateway Monitor" feature, and first we have to close it in the registry.

Disable dead Gateway Monitoring

Open Registry

Hkey_local_machine\system\currentcontrolset\services:\tcpip\parameters

Right, new DOWRD item: EnableDeadGWDetect, value set to 0

This value will not take effect if it is set up to reboot the server.

At this point the problem is half done, the gateway will not jump back and forth, but this time there will be a network card can not connect.

Because Windows allows only one default gateway, to resolve this issue, follow the Feather hill.

Lower right corner tray has two network card connection icon, a telecommunication, a netcom, click one, open Network card property interface

Figure Open the TCP/IP Protocol Properties page

  

Continue, point "advanced (V) ..." button.

  

  

Notice the contents of the red box in the above image, which is the focus.

The metric for the default gateway, set to 2

The tick of the automatic hop count is removed and filled into 10.

Another card is the same setting.

This setting is complete.

There are other articles that optimize the server, welcome to my blog www.raybox.net

I hope this article can bring help to webmaster or site administrator friends.

Borrow Baidu Alliance Word, I wish you all in their respective areas of success.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.