Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


cannot ping NIC 2 in win2k server

Posted on 2004-11-30
Medium Priority
Last Modified: 2011-10-03
I installed 2 NICs in win2k server machine and configured RRAS with LAN routing.
*NIC 1 connected to the switch in a local network (network A).
*NIC 2 act as the WAN connection and connected another LAN(Network B).
From another computer in the same network(network A), I can ping the 1st NIC(local) of win2k server but not the 2nd NIC(WAN). Can ping from win2k server to (network A)

How can I ping the 2nd NIC from another PC on the same LAN(network A)?
IP details of win2k server are
NIC 1-
IP:, Gateway:
Local PC(which I tried to ping from) IP: Gateway:
NIC 2-
IP; gateway the address of the second router(linksys WAN port) connected to the second network)

I need some help to connect and ping 2) from
I appreciate your help

Question by:rockygold
  • 4
  • 4
LVL 41

Expert Comment

ID: 12707101
your gateways are messed up, they are in the wrong network
in addition
you can try multiple gateways


When two network adapters are present in a computer (multihomed), a default gateway should only be assigned

to one of the network adapter's TCP/IP properties. If one of the network adapters is used to connect

to the Internet, the default gateway should be assigned to that network adapter. In many cases, the

default gateway, as well as the other necessary TCP/IP information is assigned automatically by the

Internet Service Provider by using Dynamic Host Configuration Protocol (DHCP). This can be confirmed

by using the IP Configuration utility (Winipcfg.exe) to view the TCP/IP properties for the network adapter

you are using to connect to the Internet.

For the network adapter that is connected only to the Local Area Network (LAN), such as a home or corporate

network, a static routing entry must be entered into the computer's routing table if the computer needs

to obtain access to network resources across a router or multiple routers. For example, if the router

interface on the same subnet has an IP address of and the router is connecting the

network to a network, the following command would need to be entered either at a command

prompt within Windows or from a batch file:


This command instructs Windows to send all traffic that is destined for the network to the interface on the router. To verify that the ROUTE ADD command was successful, use the ROUTE

PRINT command to view the current routing table. If multiple routers are being used on the LAN segment,

a separate ROUTE ADD is needed for each router.

Note that the routing entry is not persistent in Windows 98/95, even with the -p switch, and is lost

after you restart the computer. To have this entry automatically added for every Windows session, create

a batch file with the necessary ROUTE ADD command(s) and place it in the Windows StartUp folder to be

executed each time Windows starts.

If DHCP is used to assign IP addresses on the LAN, the DHCP server should be configured to not provide

a default gateway.


Author Comment

ID: 12713036
thanks for your prompt feedback,
could you please tell me which gateway is being messed up?
Sorry I wanted to say that 2nd NIC's gateway is is the WAN IP address of the 2nd router connected to network B)

or do youthink the 2nd router has to be in a different subnet such as or whatever?


LVL 41

Expert Comment

ID: 12714818
>>NIC 1-
IP:, Gateway:
can't be, not on the same network. If the ip is then the gateway has to be 192.168.0.x
where x is 1-254 and not 4
NIC 2-
IP; gateway
can't be, can't have two devices with the same ip address
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


Author Comment

ID: 12715452
Heaps of thanks again,
I am certainly going to do the way u recommend,
Before that I need to clear few things.
There were few reasons behind to do it this way.

*Also, NIC 2 gateway was not It was is IP address of the second router-BEFSR41-assigned to the WAN(internet) port Sorry about the typing error.

I tried it this way because I got confused with the second router's gateway settings.
 Ok then what do you think I'm gonna assing the IP's again as below

NET A(2 PC's + win2k server as a router)
PC 1-
win2k server NIC1-

The gatway for the above will be the IP of the NIC2-
The gateway for the NIC 2 will be the IP of the 2nd router(linksysBEFSR41)-

NET B(2 PCs+ linksys)

The gatway for the 2nd router(linksys WAN port) will be of NIC 2)
PC 1-
PC 2-
Internal Ip of the linksys is typically-

I am still confused with what has to be the gateway for the above 2 PC's in NET B. i assume it's is the WAN IP of the linksys router)

Hope this is better than the previos.or any changes that I have to make so that i can ping one another?

Thanks alot

LVL 41

Accepted Solution

stevenlewis earned 200 total points
ID: 12715510
>>Internal Ip of the linksys is typically-
then this is the gateway
the gateway is the door out of the network, but the door has to be on the network
but you missed a very important part of my first post

"When two network adapters are present in a computer (multihomed), a default gateway should only be assigned

to one of the network adapter's TCP/IP properties"
plase go thru and read thoroughly my first post
also see here for good info on tcp

Author Comment

ID: 12732211
Thanks alot ,
I'm gonna go through   manythings +what u suggested within the next couple of days and try setup the whole thing from the scratch. I have also started to grasp alot of new things about routing after having some reads.I'll getback to you with some good results.Please let me know if u have anymore new suggestions about routing on windows networks.

Author Comment

ID: 12737465
Finally I got a bit of picture,  Thanks a lot for all your help.Now I am able to ping every PC and the routers in both LANs,The method that I used was,

NET (1)  -win2k server+ 2 pcs

pc 1-IP gateway-
pc 2-IP gateway-

win2k-nic 1-
**win2k-nic 2-

NET (2) -linksys router+ 2 pcs

linksys internal IP-


This way they all work fine.Doesn't mean that I have got everything right, I still need to share files between these 2 networks and ad an adsl internet connection which comes from another LAN to my LAB
Thanks heaps

LVL 41

Expert Comment

ID: 12737538
Glad to hear it!

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The Need In an Active Directory enviroment, the PDC emulator provide time synchronization for the domain. This is important since Active Directory uses Kerberos for authentication.  By default, if the time difference between systems is off by more …
This article offers some helpful and general tips for safe browsing and online shopping. It offers simple and manageable procedures that help to ensure the safety of one's personal information and the security of any devices.
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Enter Foreign and Special Characters Enter characters you can't find on a keyboard using its ASCII code ... and learn how to make a handy reference for yourself using Excel ~ Use these codes in any Windows application! ... whether it is a Micr…

572 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