From Wiki-UX.info

Network connectivity troubleshooting
Jump to: navigation, search

Network connectivity troubleshooting

Contents

Commands

  1. lanscan
  2. linkloop
  3. lanadmin
  4. arp
  5. ping
  6. netstat
  7. nslookup

lanscan

# lanscan
Hardware Station        Crd Hdw   Net-Interface  NM  MAC       HP-DLPI DLPI
Path     Address        In# State NamePPA        ID  Type      Support Mjr#
0/1/2/0  0x00156004A2FA 0   UP    lan0 snap0     1   ETHER     Yes     119
0/1/2/1  0x00156004A2FB 1   UP    lan1 snap1     2   ETHER     Yes     119
0/4/1/0/6/0 0x0016353E5012 2   UP    lan2 snap2     3   ETHER     Yes     119
LinkAgg0 0x000000000000 900 DOWN  lan900 snap900 5   ETHER     Yes     119
LinkAgg1 0x000000000000 901 DOWN  lan901 snap901 6   ETHER     Yes     119
LinkAgg2 0x000000000000 902 DOWN  lan902 snap902 7   ETHER     Yes     119
LinkAgg3 0x000000000000 903 DOWN  lan903 snap903 8   ETHER     Yes     119
LinkAgg4 0x000000000000 904 DOWN  lan904 snap904 9   ETHER     Yes     119
# lanscan -v
-------------------------------------------------------------------------------
Hardware Station        Crd Hdw   Net-Interface  NM  MAC       HP-DLPI DLPI
Path     Address        In# State NamePPA        ID  Type      Support Mjr#
0/1/2/0  0x00156004A2FA 0   UP    lan0 snap0     1   ETHER     Yes     119
 
Extended Station                           LLC Encapsulation
Address                                    Methods
0x00156004A2FA                             IEEE HPEXTIEEE SNAP ETHER NOVELL
 
Driver Specific Information
iether
-------------------------------------------------------------------------------
Hardware Station        Crd Hdw   Net-Interface  NM  MAC       HP-DLPI DLPI
Path     Address        In# State NamePPA        ID  Type      Support Mjr#
0/1/2/1  0x00156004A2FB 1   UP    lan1 snap1     2   ETHER     Yes     119
 
Extended Station                           LLC Encapsulation
Address                                    Methods
0x00156004A2FB                             IEEE HPEXTIEEE SNAP ETHER NOVELL
 
Driver Specific Information
iether
-------------------------------------------------------------------------------
Hardware Station        Crd Hdw   Net-Interface  NM  MAC       HP-DLPI DLPI
Path     Address        In# State NamePPA        ID  Type      Support Mjr#
0/4/1/0/6/0 0x0016353E5012 2   UP    lan2 snap2     3   ETHER     Yes     119
 
Extended Station                           LLC Encapsulation
Address                                    Methods
0x0016353E5012                             IEEE HPEXTIEEE SNAP ETHER NOVELL
 
Driver Specific Information
igelan
-------------------------------------------------------------------------------
Hardware Station        Crd Hdw   Net-Interface  NM  MAC       HP-DLPI DLPI
Path     Address        In# State NamePPA        ID  Type      Support Mjr#
LinkAgg0 0x000000000000 900 DOWN  lan900 snap900 5   ETHER     Yes     119
 
Extended Station                           LLC Encapsulation
Address                                    Methods
0x000000000000
 
Driver Specific Information
hp_apa
-------------------------------------------------------------------------------
Hardware Station        Crd Hdw   Net-Interface  NM  MAC       HP-DLPI DLPI
Path     Address        In# State NamePPA        ID  Type      Support Mjr#
LinkAgg1 0x000000000000 901 DOWN  lan901 snap901 6   ETHER     Yes     119
 
Extended Station                           LLC Encapsulation
Address                                    Methods
0x000000000000
 
Driver Specific Information
hp_apa
-------------------------------------------------------------------------------
Hardware Station        Crd Hdw   Net-Interface  NM  MAC       HP-DLPI DLPI
Path     Address        In# State NamePPA        ID  Type      Support Mjr#
LinkAgg2 0x000000000000 902 DOWN  lan902 snap902 7   ETHER     Yes     119
 
Extended Station                           LLC Encapsulation
Address                                    Methods
0x000000000000
 
Driver Specific Information
hp_apa
-------------------------------------------------------------------------------
Hardware Station        Crd Hdw   Net-Interface  NM  MAC       HP-DLPI DLPI
Path     Address        In# State NamePPA        ID  Type      Support Mjr#
LinkAgg3 0x000000000000 903 DOWN  lan903 snap903 8   ETHER     Yes     119
 
Extended Station                           LLC Encapsulation
Address                                    Methods
0x000000000000
 
Driver Specific Information
hp_apa
-------------------------------------------------------------------------------
Hardware Station        Crd Hdw   Net-Interface  NM  MAC       HP-DLPI DLPI
Path     Address        In# State NamePPA        ID  Type      Support Mjr#
LinkAgg4 0x000000000000 904 DOWN  lan904 snap904 9   ETHER     Yes     119
 
Extended Station                           LLC Encapsulation
Address                                    Methods
0x000000000000
 
Driver Specific Information
hp_apa
-------------------------------------------------------------------------------

linkloop

# lanscan | grep lan
0/1/2/0  0x00156004A2FA 0   UP    lan0 snap0     1   ETHER     Yes     119
0/1/2/1  0x00156004A2FB 1   UP    lan1 snap1     2   ETHER     Yes     119
0/4/1/0/6/0 0x0016353E5012 2   UP    lan2 snap2     3   ETHER     Yes     119
LinkAgg0 0x000000000000 900 DOWN  lan900 snap900 5   ETHER     Yes     119
LinkAgg1 0x000000000000 901 DOWN  lan901 snap901 6   ETHER     Yes     119
LinkAgg2 0x000000000000 902 DOWN  lan902 snap902 7   ETHER     Yes     119
LinkAgg3 0x000000000000 903 DOWN  lan903 snap903 8   ETHER     Yes     119
LinkAgg4 0x000000000000 904 DOWN  lan904 snap904 9   ETHER     Yes     119
 
# linkloop -i 0 0x00156004A2FA
Link connectivity to LAN station: 0x00156004A2FA
 -- OK

lanadmin

# lanadmin -s 0
Speed                           = 100000000
 
# lanadmin -x 0
Speed = 100 Full-Duplex.
Autonegotiation = On.
 
# lanadmin -m 0
MTU Size                        = 1500
 
# lanadmin -a 0
Station Address                 = 0x0013211a94da

netstat -in

# netstat -in
Name      Mtu  Network         Address         Ipkts              Ierrs Opkts              Oerrs Coll
lan0      1500 16.90.48.0      16.90.48.75     129153             0     11890              0     0
lo0      32808 127.0.0.0       127.0.0.1       38248              0     38248              0     0
 
# netstat -i
Name      Mtu  Network         Address         Ipkts              Ierrs Opkts              Oerrs Coll
lan0      1500 16.90.48.0      delta.cri.hp.com
                                               129556             0     11926              0     0
lo0      32808 loopback        localhost       38276              0     38276              0     0

netstat -rn

# netstat -rn
Routing tables
Destination           Gateway            Flags Refs Interface  Pmtu
127.0.0.1             127.0.0.1          UH    0    lo0       32808
16.90.48.75           16.90.48.75        UH    0    lan0      32808
16.90.48.0            16.90.48.75        U     2    lan0       1500
127.0.0.0             127.0.0.1          U     0    lo0       32808
default               16.90.48.1         UG    0    lan0       1500
 
# netstat -r
Routing tables
Destination           Gateway            Flags Refs Interface  Pmtu
localhost             localhost          UH    0    lo0       32808
delta.cri.hp.com      delta.cri.hp.com   UH    0    lan0      32808
16.90.48.0            delta.cri.hp.com   U     2    lan0       1500
loopback              localhost          U     0    lo0       32808
default               16.90.48.1         UG    0    lan0       1500
This page was last modified on 2 July 2008, at 17:41. This page has been accessed 810 times.