dbaspot
Tags Register FAQ Calendar Search Today's Posts Mark Forums Read

unable to ping gateway - aix

This is a discussion on unable to ping gateway - aix ; I have a problem on a private ethernet where my F50 cannot ping its gateway. I hagotten out the service manual for the F50 and mapped ent0 (en0)'s location code to its physical slot to be sure that I was ...


Home > Database Forum > Operating Systems > aix > unable to ping gateway

Reply

 

LinkBack Thread Tools Display Modes
  #1  
Old 03-02-2007, 04:22 PM
Database Bot
 
Join Date: Sep 2009
Posts: 1,236,254
Database Administrator is on a distinguished road
Default unable to ping gateway

I have a problem on a private ethernet where my F50 cannot ping its
gateway.
I hagotten out the service manual for the F50 and mapped ent0 (en0)'s
location code to its physical slot to be sure that I was using the
adapter that was cabled up. I re-installed AIX 5.1.
then did a smit mktcpip (initial config) checked the ip address,
subnet, gateway with a co-worker.
and i could not ping the gateway. So I downed and detached en0 with
ifconfig and configured en1 and then en2 to make sure that I was
using the proper adapter and no luck each time.
I did find typo's in the hostname I was setting and I down detached
en0-en2 and then did a initial config again and still did not have any
luck.
I switch out cables, rebooted and still could not ping, I switched
ports on the hub and still had no luck. I have tried refreshing inetd
and then making sure that it is running.
I can not ping the F50 from the gateway machine -- a CWS.
what am I leaving out? Calling AIX support would be difficult because
I'd have to sit in the machine room and it 51 (out of support). Yes, I
have 53 support but will not lie to get this fixed.
Can any one help out?
thanks
LarryBoy

Reply With Quote
  #2  
Old 03-02-2007, 04:42 PM
Database Bot
 
Join Date: Sep 2009
Posts: 1,236,254
Database Administrator is on a distinguished road
Default Re: unable to ping gateway

LarryBoy wrote:
> I have a problem on a private ethernet where my F50 cannot ping its
> gateway.
> I hagotten out the service manual for the F50 and mapped ent0 (en0)'s
> location code to its physical slot to be sure that I was using the
> adapter that was cabled up. I re-installed AIX 5.1.
> then did a smit mktcpip (initial config) checked the ip address,
> subnet, gateway with a co-worker.
> and i could not ping the gateway. So I downed and detached en0 with
> ifconfig and configured en1 and then en2 to make sure that I was
> using the proper adapter and no luck each time.
> I did find typo's in the hostname I was setting and I down detached
> en0-en2 and then did a initial config again and still did not have any
> luck.
> I switch out cables, rebooted and still could not ping, I switched
> ports on the hub and still had no luck. I have tried refreshing inetd
> and then making sure that it is running.
> I can not ping the F50 from the gateway machine -- a CWS.
> what am I leaving out? Calling AIX support would be difficult because
> I'd have to sit in the machine room and it 51 (out of support). Yes, I
> have 53 support but will not lie to get this fixed.
> Can any one help out?
> thanks
> LarryBoy


What IP address are you assigning to "en0" and what is your
gateway IP Address? Are they on the same subnet?

--
Regards,
Jerry M.

This E-Mail server is a text only server, NO HTML. Attachments will be
downloaded to a non-Windowz system.
Reply With Quote
  #3  
Old 03-02-2007, 04:59 PM
Database Bot
 
Join Date: Sep 2009
Posts: 1,236,254
Database Administrator is on a distinguished road
Default Re: unable to ping gateway

On Mar 2, 2:41 pm, "Jerald H. Mathews" wrote:
> LarryBoy wrote:
> > I have a problem on a private ethernet where my F50 cannot ping its
> > gateway.
> > I hagotten out the service manual for the F50 and mapped ent0 (en0)'s
> > location code to its physical slot to be sure that I was using the
> > adapter that was cabled up. I re-installed AIX 5.1.
> > then did a smit mktcpip (initial config) checked the ip address,
> > subnet, gateway with a co-worker.
> > and i could not ping the gateway. So I downed and detached en0 with
> > ifconfig and configured en1 and then en2 to make sure that I was
> > using the proper adapter and no luck each time.
> > I did find typo's in the hostname I was setting and I down detached
> > en0-en2 and then did a initial config again and still did not have any
> > luck.
> > I switch out cables, rebooted and still could not ping, I switched
> > ports on the hub and still had no luck. I have tried refreshing inetd
> > and then making sure that it is running.
> > I can not ping the F50 from the gateway machine -- a CWS.
> > what am I leaving out? Calling AIX support would be difficult because
> > I'd have to sit in the machine room and it 51 (out of support). Yes, I
> > have 53 support but will not lie to get this fixed.
> > Can any one help out?
> > thanks
> > LarryBoy

>
> What IP address are you assigning to "en0" and what is your
> gateway IP Address? Are they on the same subnet?
>
> --
> Regards,
> Jerry M.
>
> This E-Mail server is a text only server, NO HTML. Attachments will be
> downloaded to a non-Windowz system.- Hide quoted text -
>
> - Show quoted text -


gateway is 192.168.1.250
F50's IP 192.168.1.236 and subnet is 255.255.255.0 so they are on the
same subnet
I did ifconfig -a and found en0,en1,en2 all up and on the same ip ..
236.
So, I down and detached en1 and en2 but that madew no difference.
I created a /etc/netsvc.conf and placed hosts=local,bind4, then placed
a line in /etc/hosts
for the CWS at 192.168.1.250
Any ideas ya'll?
thanks to Jerry
LarryBoy

Reply With Quote
  #4  
Old 03-02-2007, 06:25 PM
Database Bot
 
Join Date: Sep 2009
Posts: 1,236,254
Database Administrator is on a distinguished road
Default Re: unable to ping gateway

LarryBoy wrote:
> >
> > What IP address are you assigning to "en0" and what is your
> > gateway IP Address? Are they on the same subnet?
> >
> > --
> > Regards,
> > Jerry M.
> >
> > This E-Mail server is a text only server, NO HTML. Attachments will be
> > downloaded to a non-Windowz system.- Hide quoted text -
> >
> > - Show quoted text -


> gateway is 192.168.1.250
> F50's IP 192.168.1.236 and subnet is 255.255.255.0 so they are on the
> same subnet
> I did ifconfig -a and found en0,en1,en2 all up and on the same ip ..
> 236.
> So, I down and detached en1 and en2 but that madew no difference.
> I created a /etc/netsvc.conf and placed hosts=local,bind4, then placed
> a line in /etc/hosts
> for the CWS at 192.168.1.250
> Any ideas ya'll?
> thanks to Jerry
> LarryBoy


Can you ping 192.168.1.236? Double check that you have the cable for
en0 in the correct jack. Try plugging the cable in each ethernet jack
then attempt to ping your gateway.

Are you using auto-negotiate to set the ethernet speed? Some of the
older RISC boxes had trouble with auto-negotiate.
--
Regards,
Jerry M.

This E-Mail server is a text only server, NO HTML. Attachments will be
downloaded to a non-Windowz system.
Reply With Quote
  #5  
Old 03-02-2007, 07:05 PM
Database Bot
 
Join Date: Sep 2009
Posts: 1,236,254
Database Administrator is on a distinguished road
Default Re: unable to ping gateway

LarryBoy wrote:
> I hagotten out the service manual for the F50 and mapped ent0 (en0)'s
> location code to its physical slot to be sure that I was using the
> adapter that was cabled up.


Use 'netstat -v ent0' and check the "Port Status"
and "Media Speed Running" to make sure that adapter
is taling to the switch. Also look at the error
counts in that display and the Transmit/Receive
counts. To the transmit counts go up when you do
the 'ping'? Are any fraes received at all?
Check 'errpt -a' to make sure you don't have any
error logs (like duplicate tcp/ip address).
Try pinging the subnet's broadcast address to
see if anyone on that subnet sees the aix box.

Paul Landay
Reply With Quote
  #6  
Old 03-03-2007, 12:34 AM
Database Bot
 
Join Date: Sep 2009
Posts: 1,236,254
Database Administrator is on a distinguished road
Default Re: unable to ping gateway

On 2 Mar 2007 12:22:27 -0800, "LarryBoy"
wrote:

>I have a problem on a private ethernet where my F50 cannot ping its
>gateway.
>I hagotten out the service manual for the F50 and mapped ent0 (en0)'s
>location code to its physical slot to be sure that I was using the
>adapter that was cabled up. I re-installed AIX 5.1.
>then did a smit mktcpip (initial config) checked the ip address,
>subnet, gateway with a co-worker.
>and i could not ping the gateway. So I downed and detached en0 with
>ifconfig and configured en1 and then en2 to make sure that I was
>using the proper adapter and no luck each time.
>I did find typo's in the hostname I was setting and I down detached
>en0-en2 and then did a initial config again and still did not have any
>luck.
>I switch out cables, rebooted and still could not ping, I switched
>ports on the hub and still had no luck. I have tried refreshing inetd
>and then making sure that it is running.
>I can not ping the F50 from the gateway machine -- a CWS.
>what am I leaving out? Calling AIX support would be difficult because
>I'd have to sit in the machine room and it 51 (out of support). Yes, I
>have 53 support but will not lie to get this fixed.
>Can any one help out?
>thanks
>LarryBoy


What response do you get? "No route to host"? Or just no response?

Do you have a link indicator on the ethernet board when you plug the cable
in? Does it go away when you unplug the cable? Are you attached to a hub,
or to a switch? You DO have a hub or a switch in the circuit, don't you?
(If not, you need a crossover cable).

Have you tried running diagnostics on the port with the loopback test
plug?

Are the port and switch configured the same? (either both set to auto or
both set to the same speed and duplex). Can the CWS ping anything else?
(It could be the system with the problem).

Tom
Reply With Quote
  #7  
Old 03-05-2007, 01:43 PM
Database Bot
 
Join Date: Sep 2009
Posts: 1,236,254
Database Administrator is on a distinguished road
Default Re: unable to ping gateway

On Mar 2, 4:24 pm, "Jerald H. Mathews" wrote:
> LarryBoy wrote:
>
> > > What IP address are you assigning to "en0" and what is your
> > > gateway IP Address? Are they on the same subnet?

>
> > > --
> > > Regards,
> > > Jerry M.

>
> > > This E-Mail server is a text only server, NO HTML. Attachments will be
> > > downloaded to a non-Windowz system.- Hide quoted text -

>
> > > - Show quoted text -

> > gateway is 192.168.1.250
> > F50's IP 192.168.1.236 and subnet is 255.255.255.0 so they are on the
> > same subnet
> > I did ifconfig -a and found en0,en1,en2 all up and on the same ip ..
> > 236.
> > So, I down and detached en1 and en2 but that madew no difference.
> > I created a /etc/netsvc.conf and placed hosts=local,bind4, then placed
> > a line in /etc/hosts
> > for the CWS at 192.168.1.250
> > Any ideas ya'll?
> > thanks to Jerry
> > LarryBoy

>
> Can you ping 192.168.1.236? Double check that you have the cable for
> en0 in the correct jack. Try plugging the cable in each ethernet jack
> then attempt to ping your gateway.
>
> Are you using auto-negotiate to set the ethernet speed? Some of the
> older RISC boxes had trouble with auto-negotiate.
> --
> Regards,
> Jerry M.
>
> This E-Mail server is a text only server, NO HTML. Attachments will be
> downloaded to a non-Windowz system.- Hide quoted text -
>
> - Show quoted text -



Jerry
I can ping 192.1168.1.2 when I do netstat -v ent0 the "Port Status "
is down and the speed is auto-negotiate. I have tried switching the
cable out with a different one and that does not help. Ihave tried
switching to a different port on the hub and that does not help, I
have tried switching the cable to the other ethernet adapter slotted
above but I am really sure according to the F50 Service Manual and the
AIX location code that I am using the right adapter. What does the
port status mean? That nothing is seen on the other end of the cable
or ??
Thanks
Larry

Reply With Quote
  #8  
Old 03-06-2007, 08:41 AM
Database Bot
 
Join Date: Sep 2009
Posts: 1,236,254
Database Administrator is on a distinguished road
Default Re: unable to ping gateway

LarryBoy wrote:
> I can ping 192.1168.1.2 when I do netstat -v ent0 the "Port Status "
> is down and the speed is auto-negotiate. I have tried switching the
> cable out with a different one and that does not help. Ihave tried
> switching to a different port on the hub and that does not help, I
> have tried switching the cable to the other ethernet adapter slotted
> above but I am really sure according to the F50 Service Manual and the
> AIX location code that I am using the right adapter. What does the
> port status mean? That nothing is seen on the other end of the cable
> or ??
> Thanks
> Larry
>


Being able to ping your own address tells you almost nothing
about the state of the adapter/port/cable/switch/router/etc,
except that that address is defined for that adapter. On the
current levels of AIX a ping to a local address does not get
to the adapter, it stays within the AIX O.S. and travels over
the loopback interface. You can see that by checking the
routing table:
netstat -rn
where a line like:
192.168.1.236 127.0.0.1 UGHS # ### lo0 - - -
tells you that the 'lo0' interface is used to access the
192.168.1.236 address.

If the 'netstat -v' shows the port status is down then the
adapter is not talking to the switch/hub. That usually means
the cable is bad, but could also mean the switch port is
disabled or you have the wrong AIX ethernet port. If you
just run 'netstat -v' it will show the status of all the
"Available" ethernet ports.

There were some models of AIX ethernet adapters which
had multiple physical interfaces on the card. I am not
talking about the multiple RJ45 sockets on a multi-port
card, but cards that had both an 10baseT (RJ45) and a 10base2
or 10base5 port For example, ssee the 8-Y and 8-Z cards
in the SC38-0516 manual:
http://publib16.boulder.ibm.com/pser...pdf/380516.pdf
To select between those multiple ports you may have to
set a field in the 'smit chgenet' panel.

Maybe you should just post the output of:
netstat -v
netstat -in
netstat -rn
lsdev -C | grep ent
lsattr -E -l enX
for all the enX that are Available
lsattr -E -l entX
for all the entX that are Available
and then we can stop guessing and look at the
current config for clues.

Paul Landay
Reply With Quote
  #9  
Old 03-08-2007, 10:34 AM
Database Bot
 
Join Date: Sep 2009
Posts: 1,236,254
Database Administrator is on a distinguished road
Default Re: unable to ping gateway

TomK wrote:
> On 2 Mar 2007 12:22:27 -0800, "LarryBoy"
> wrote:
>


>> I can not ping the F50 from the gateway machine -- a CWS.



You mention a "CWS" - are you dealing/working with an SP????

Paul
Reply With Quote
  #10  
Old 03-08-2007, 11:24 AM
Database Bot
 
Join Date: Sep 2009
Posts: 1,236,254
Database Administrator is on a distinguished road
Default Re: unable to ping gateway

LarryBoy wrote:


> Jerry
> I can ping 192.1168.1.2 when I do netstat -v ent0 the "Port Status "
> is down and the speed is auto-negotiate. I have tried switching the
> cable out with a different one and that does not help. Ihave tried
> switching to a different port on the hub and that does not help, I
> have tried switching the cable to the other ethernet adapter slotted
> above but I am really sure according to the F50 Service Manual and the
> AIX location code that I am using the right adapter. What does the
> port status mean? That nothing is seen on the other end of the cable
> or ??
> Thanks
> Larry


If it were my system I would drag a Windowz PC and a hub to the F50, \
assign the Windowz PC the IP address to 192.168.1.3. Connect the F50
to the hub and the PC to the hub with standard known good Cat 5 patch
cables.

Make sure the link light is lit on both network adapter cards.
On the F50 configure on one network interface active.

Then try to ping the PC from the F50 and the F50 to the PC.

--
Regards,
Jerry M.

This E-Mail server is a text only server, NO HTML. Attachments will be
downloaded to a non-Windowz system.
Reply With Quote
Reply

Thread Tools
Display Modes



All times are GMT -4. The time now is 06:25 AM.