LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Routing ? (https://www.linuxquestions.org/questions/linux-networking-3/routing-289215/)

LAR12345 02-12-2005 03:05 AM

Routing ?
 
Is it possible to do this? I have 3 old Sun OS boxes and a Windows 2000 server connected via coax. Their IP are 10.21.7.20, 10.21.7.21, and 10.21.7.22 also their subnet is 255.0.0.0 Class A. I have adjusted the Windows 2000 server via the registry to route traffic thru the 2 nic cards. The first card in the server IP address is 10.21.7.30 subnet 255.0.0.0, Class A. I would like the second card to be 10.21.7.55 subnet 255.255.255.0 Class C. When I install the second card and configure it, it keeps the Windows 2000 server from communicating to the Sun Os boxes which it needs to do. I have tried to change the subnet on the Sun OS's but when I did this all 3 lost communication with each other, and I was not able to communicate to the Windows 2000 server. There are other systems on the Class C network that we would like to be able to get to the Sun OS's.

Is there a route that I could add to get this to work?

Is this possible to do period?

Any help is appreciated.

Thanks
Larry

Hamsjael 02-12-2005 05:05 AM

take a look on the interfaces
 
Hi

You should take a look at the routing table on thw w2k server, and make sure that the route:

Code:

10.21.7.0 255.255.255.0 10.21.7.55
points to the right interface (nic) !

when adding routes to w2k you can specify which interface the route should use, if you dont it will try to decide for itself. Maybe it got confused about the "same" address space with different subnetmasks.

btw.

You have got better control if you use "routing and remote access" console instead of just enabling routing in the registry.

good luck

ugge 02-12-2005 02:22 PM

First problem is that the windows server has two ip's which overlap. They all belong to the 10.0.0.0/255.0.0.0 network.
The windows machine might be able to tell them apart, because the more specific route entry for 10.21.7.55/255.255.255.0 will have precedence before 10.0.0.0/255.0.0.0
The Sun stations will not be able to make that destinction.

My suggestion is to let your windows have a 10.0.0.0/255.0.0.0 address on one NIC, and a 192.168.0./255.255.255.0 address on the other one.

Changing IP on a running Solaris is a bit more tricky. Doing it manually requires that you change configurations in several files.


All times are GMT -5. The time now is 03:44 PM.