Click to See Complete Forum and Search --> : TCP/IP Problem


onur
March 31st, 2000, 10:05 AM
Hi.
I have 2 LANs.
All PC's are Win95/98, servers NT4.5.
The servers of these two LANs are connected to the internet and they have static IP's. So they can ping each other.
The clients in each LAN can ping their servers, using local IP numbers.
What I want is, to be able to ping the server of the remote LAN from the local client. What is the way to do this? does the 'route' command work?
Thanks in advance.
Onur Altintas.
altintas@hititcs.com

Sir Nado
March 31st, 2000, 02:32 PM
Are these LAN's seperate domains? Are you using DHCP? Do you have a trust relationship established?

BLEEHAM
March 31st, 2000, 02:53 PM
ROUTE [-f] [-p] [commnd] [desitation] [netmask] [gateway] [metriccost]

-f = flushes all entries
-p = peristent used with add

[commands]
ADD
DELETE
CHANGE

[DESTINATION]
NETOWRK ID TO WHICH PACKETS MIGHT BE SENT

[NetMask]
submask is another name for it

[Gateway]
IP ADDRESS

[METRICCOST]
HOP COUNT used to determine the route a packet takes.


Hope it helps.

peterve
April 2nd, 2000, 11:56 AM
When you say that your servers have a static IP, I assume that they have a static valid internet IP. Second, the servers will have two NIC's right ? Ip forwarding is enabled so you can ping from your clients in the LAN to the valid internet IP (external NIC) in the server by putting the servers Internal IP address as their default gateway.
Third, never give a default gateway on the server itself when it's multihomed (dual NIC)
Now, you can ping from your clients to the OTHER server's external (internet) IP, because it is a valid internet IP too.
To have access to the LAN clients on the other LAN, you will have to implement NAT
(Proxy server)

Hope this helps

------------------
Peter Van Eeckhoutte
System Administrator
peter.ve@itinera.be