1832910 Members
2746 Online
110048 Solutions
New Discussion

Re: Networking

 
SOLVED
Go to solution
Ahmad Munawwar
Frequent Advisor

Networking

Hi,

How both machine be able to communicate? I can't ping each other.

Regards,
Munawwar

Workstation configuration:
/etc/hosts
150.236.124.1 gateway
150.236.124.25 xmws01
127.0.0.1 local host loopback

netstat -rn
destination gateway flags interface
127.0.0.1 127.0.0.1 UH lo0
150.236.124.25 127.0.0.1 UH lo0
default 150.236.124.1 UG lan0
150.236.124.0 150.236.124.25 U lan0


Server Configuration:
/etc/hosts
150.236.95.243 xmmas
127.0.0.1 localhost loopback
150.236.95.244 xmws01 wshost01 # 080009-9354B8
#150.236.95.244 xmws01 wshost01 # 0060B0-7F7930
#150.236.120.166 kancil wshost02 # 001083-fdff21
198.24.9.55 EMYKLNT151
150.236.95.228 ossmas1

netstat -rn
Routing tables
Destination Gateway Flags Refs Use Interface Pmtu PmtuTime
127.0.0.1 127.0.0.1 UH 0 116198 lo0 4608
150.236.95.243 127.0.0.1 UH 2811223019 lo0 4608
default 150.236.95.1 UG 10 942174 lan0 1500
150.236.95.0 150.236.95.243 U 0 153387 lan0 1500

8 REPLIES 8
Joaquin Gil de Vergara
Respected Contributor

Re: Networking

try with

#linkloop

it checks conectivity at MAC level... if you don't reach you have a cable problem

mac address is obtained with lanscan in each server

Teach is the best way to learn
Ahmad Munawwar
Frequent Advisor

Re: Networking

Hi,

The linkloop result is OK. The cable is OK.

Joaquin Gil de Vergara
Respected Contributor

Re: Networking

what says
#netstat -in
and
#ifconfig lan0

in each one?
Teach is the best way to learn
U.SivaKumar_2
Honored Contributor

Re: Networking

Hi,
Are you using switch for interconnection. What are all the port settings ?. If you have enabled auto-negotiation turn it off and set
a fixed speed viz. 100 and duplex mode depending the server's network card.

Have recycled the power of the switch.

regards,
U.Sivakumar
Innovations are made when conventions are broken
T G Manikandan
Honored Contributor

Re: Networking

150.236.124.0 150.236.124.25 U lan0

I want this to be changed to
150.236.0.0 150.236.124.25

#route delete 150.236.124.0 150.236.124.25
#route add 150.236.0.0 150.236.124.25 0

now try doing a ping to
150.236.95.243.


Revert.
Ron Kinner
Honored Contributor
Solution

Re: Networking

First thing I see is an error in your server's /etc/hosts. You have:
150.236.95.244 xmws01 wshost01 # 080009-9354B8

However, xmws01's IP address is 150.236.124.25. If you are trying to ping using names then it's no wonder it fails. See if you can ping with the iP address. If that fails then see below:

Since they each have a different gateway it appears that they are on separate LANs and they should talk to each other via their gateway routers. Verify that you can ping each router's IP address from the box which uses it as its gateway. IF you are using 11.0 or higher the router has to respond to pings or it will be declared a Dead Gateway and will not be used. (You can change this with NDD but the default is to have this feature on.)If that works then ping the other box's gateway router ip address. If that doesn't work then look at the routers.

It's clear from your netstat -rn tables that you are using a 255.255.255.0 mask on each box. If you want them to be on the same physical LAN (Connected by nothing more than a hub or switch or crossover cable) then you would have to either change the mask to 255.255.0.0 on both boxes and the gateways or change one of the boxes so that it has the same first three numbers as the other box and also change the default gateway to that used by the other box. Then clean up your /etc/hosts files.

Ron

Ahmad Munawwar
Frequent Advisor

Re: Networking

Hi,

The Server can ping WS gw (150.236.124.1) BUT the WS itself can't ping it own gateway (150.236.124.1).

It stuck somewhere. Please advice

br,
Munawwar
Ahmad Munawwar
Frequent Advisor

Re: Networking

Hi all,

Thank a lot for your information. The problem resolve by assigned the WS with different Ip address and configured it on the network.

Time to give you all rewards.

ADIOS AMIGOS,
Munawwar