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

x
?
Solved

cannot ping NIC 2 in win2k server

Posted on 2004-11-30
8
Medium Priority
?
581 Views
Last Modified: 2011-10-03
Hi,
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:192.168.0.4, Gateway:192.168.2.3
Local PC(which I tried to ping from) IP:192.168.0.2 Gateway:192.168.2.3
NIC 2-
IP;192.168.2.3 gateway 192.168.2.3(is the address of the second router(linksys WAN port) connected to the second network)

I need some help to connect and ping 192.168.2.3(nic 2) from
192.168.0.2
I appreciate your help
cheers

0
Comment
Question by:rockygold
  • 4
  • 4
8 Comments
 
LVL 41

Expert Comment

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

http://support.microsoft.com/directory/article.asp?ID=KB;EN-US;Q262397

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 192.168.1.1 and the router is connecting the 192.168.1.0

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

prompt within Windows or from a batch file:

ROUTE ADD 201.115.1.0 MASK 255.255.255.0 192.168.1.1

This command instructs Windows to send all traffic that is destined for the 201.115.1.0 network to the

192.168.1.1 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.


0
 

Author Comment

by:rockygold
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 192.168.2.2(which 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 192.168.1.0/25 or whatever?

thanks



0
 
LVL 41

Expert Comment

by:stevenlewis
ID: 12714818
>>NIC 1-
IP:192.168.0.4, Gateway:192.168.2.3
can't be, not on the same network. If the ip is 192.168.0.4 then the gateway has to be 192.168.0.x
where x is 1-254 and not 4
also
NIC 2-
IP;192.168.2.3 gateway 192.168.2.3
can't be, can't have two devices with the same ip address
0
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

by:rockygold
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 192.168.2.3. It was 192.168.2.2.(This 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- 192.168.0.1
PC-2-192.168.0.2
win2k server NIC1-192.168.0.3

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

NET B(2 PCs+ linksys)
...............................................................

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

I am still confused with what has to be the gateway for the above 2 PC's in NET B. i assume it's 192.168.1.2(which 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



0
 
LVL 41

Accepted Solution

by:
stevenlewis earned 200 total points
ID: 12715510
>>Internal Ip of the linksys is typically-192.168.1.1
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
http://www.wown.com/j_helmig/tcpip.htm
0
 

Author Comment

by:rockygold
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.
Thanks
0
 

Author Comment

by:rockygold
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 192.168.0.2// gateway-192.168.0.1
pc 2-IP 192.168.0.3// gateway-192.168.0.1

win2k-nic 1-192.168.0.1
**win2k-nic 2-192.168.2.3(WAN)//gateway 192.168.2.2

NET (2) -linksys router+ 2 pcs

**LINKSYS-192.168.2.2(WAN)//gateway 192.168.2.3
linksys internal IP-192.168.1.1

PC 1-IP 192.168.1.2//gateway192.168.1.1
PC 2-IP 192.168.1.4//gateway192.168.1.1

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


0
 
LVL 41

Expert Comment

by:stevenlewis
ID: 12737538
Glad to hear it!
0

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