LPAR Networking: Can't ping


 
Thread Tools Search this Thread
Operating Systems AIX LPAR Networking: Can't ping
# 1  
Old 07-17-2012
LPAR Networking: Can't ping

So I have created an LPAR. I think I have configured everything properly but I can't ping the network. The LPAR is on a VLAN. Other LPARs on the same VLAN works. Here's some info on the LPAR:

Code:
# entstat -d ent1
--------------------------------------------------
ETERNET STATISTICS (en1) :
Device Type: Virtual I/O Ethernet Adapter (l-lan)
Hardware Address: 16:72:10:00:90:03
Elapsed Time: 0 days 1 hours 11 minutes 30 seconds

[snip]

Code:
# netstat -rn
Routing tables
Destination        Gateway           Flags   Refs     Use  If   Exp  Groups

Route Tree for Protocol Family 2 (Internet):
default            10.1.40.1         UG        1        44 en1      -      -
10.1.40.0          10.1.40.41        UHSb      0         0 en1      -      -   =>
10.1.40/24         10.1.40.41        U         4       932 en1      -      -
10.1.40.41         127.0.0.1         UGHS      0         1 lo0      -      -
10.1.40.255        10.1.40.41        UHSb      0         0 en1      -      -
127/8              127.0.0.1         U         4        70 lo0      -      -

Route Tree for Protocol Family 24 (Internet v6):
::1                ::1               UH        0         0 lo0      -      -

Code:
# ifconfig -a
en1: flags=1e080863,480<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT,CHECKSUM_OFFLOAD(ACTIVE),CHAIN>
        inet 10.1.40.41 netmask 0xffffff00 broadcast 10.1.40.255
         tcp_sendspace 262144 tcp_recvspace 262144 rfc1323 1
lo0: flags=e08084b<UP,BROADCAST,LOOPBACK,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT>
        inet 127.0.0.1 netmask 0xff000000 broadcast 127.255.255.255
        inet6 ::1/0
         tcp_sendspace 131072 tcp_recvspace 131072 rfc1323 1


Code:
# netstat -in
Name  Mtu   Network     Address           ZoneID    Ipkts Ierrs    Opkts Oerrs  Coll
en1   1500  link#2      16.72.10.0.90.3             17119     0      848     0     0
en1   1500  10.1.40     10.1.40.41                  17119     0      848     0     0
lo0   16896 link#1                                     70     0      916     0     0
lo0   16896 127         127.0.0.1                      70     0      916     0     0
lo0   16896 ::1                                0       70     0      916     0     0


I can't figure out why I can't ping anything other than 127.0.0.1...not even the default gateway @ 10.1.40.1. Any idea? Smilie

Code:
# ping 10.1.40.1
PING 10.1.40.1: (10.1.40.1): 56 data bytes
^C
----10.1.40.1 PING Statistics----
3 packets transmitted, 0 packets received, 100% packet loss

Code:
# lsdev -Ccadapter
ent0   Available 01-08 10/100/1000 Base-TX PCI-X Adapter (14106902)
ent1   Available       Virtual I/O Ethernet Adapter (l-lan)
ide0   Available 03-08 ATA/IDE Controller Device
usbhc0 Available 02-08 USB Host Controller (33103500)
usbhc1 Available 02-09 USB Host Controller (33103500)
vsa0   Available       LPAR Virtual Serial Adapter
vscsi0 Available       Virtual SCSI Client Adapter

Code:
# lsdev -Ccif
en0 Defined   01-08 Standard Ethernet Network Interface
en1 Available       Standard Ethernet Network Interface
et0 Defined   01-08 IEEE 802.3 Ethernet Network Interface
et1 Defined         IEEE 802.3 Ethernet Network Interface
lo0 Available       Loopback Network Interface

Code:
# lsattr -El en1
alias4                      IPv4 Alias including Subnet Mask           True
alias6                      IPv6 Alias including Prefix Length         True
arp           on            Address Resolution Protocol (ARP)          True
authority                   Authorized Users                           True
broadcast                   Broadcast Address                          True
mtu           1500          Maximum IP Packet Size for This Device     True
netaddr       10.1.40.41    Internet Address                           True
netaddr6                    IPv6 Internet Address                      True
netmask       255.255.255.0 Subnet Mask                                True
prefixlen                   Prefix Length for IPv6 Internet Address    True
remmtu        576           Maximum IP Packet Size for REMOTE Networks True
rfc1323                     Enable/Disable TCP RFC 1323 Window Scaling True
security      none          Security Level                             True
state         up            Current Interface Status                   True
tcp_mssdflt                 Set TCP Maximum Segment Size               True
tcp_nodelay                 Enable/Disable TCP_NODELAY Option          True
tcp_recvspace               Set Socket Buffer Space for Receiving      True
tcp_sendspace               Set Socket Buffer Space for Sending        True


Last edited by PPPP; 07-17-2012 at 12:21 PM.. Reason: Added more info
# 2  
Old 07-17-2012
Is 10.1.40.41 an external network or is it virtual and does only exist in on your managed system?
# 3  
Old 07-17-2012
Quote:
Originally Posted by zaxxon
Is 10.1.40.41 an external network or is it virtual and does only exist in on your managed system?
10.1.40.41 is the IP of the LPAR I'm trying to setup. It only exists in my private network.
# 4  
Old 07-17-2012
But you ping your default GW 10.1.40.1 in your example. Is there any such?
# 5  
Old 07-17-2012
I can't ping even the default GW. You will notice it says 100% packet loss.
# 6  
Old 07-17-2012
Maybe you are in the wrong VLAN. Check the VLAN-ID of your adapter.
# 7  
Old 07-17-2012
Quote:
Originally Posted by zaxxon
Maybe you are in the wrong VLAN. Check the VLAN-ID of your adapter.
How do I check that on the command line?

In the HMC, I was able to graphically confirm that the LPAR is on the same VLAN as another LPAR that is connected to the network, but on a different subnet.


Code:
Partitions VLAN 1* 
AIX DEV  
AIX_CSS  <--- Working LPAR
AIX_QA  
AIX_SA  <--- My LPAR
QA-AIX61  
SLES9  
VIOServer   
  
* Indicates the VLAN is bridged

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Programming

Ping test sends mail when ping fails

help with bash script! im am working on this script to make sure my server will stay online, so i made this script.. HOSTS="192.168.138.155" COUNT=4 pingtest(){ for myhost in "$@" do ping -c "$COUNT" "$myhost" &&return 1 done return 0 } if pingtest $HOSTS #100% failed... (4 Replies)
Discussion started by: mort3924
4 Replies

2. AIX

How to differentiate between a standalone LPAR and a VIOC (which again is a lpar)?

There can be configurations in IBM Server wherein a standalone partition is created on some supported IBM Server Or A VIOS - VIOC LPARs created. Now in both cases they are lpars. But if I want to differentiate b/w a standalone LPAR vs an VIOC LPAR how can I do..? On a... (2 Replies)
Discussion started by: Manish00712
2 Replies

3. Shell Programming and Scripting

How to get reason for ping failure using perls Net::Ping->new("icmp");?

Hi I am using perl to ping a list of nodes - with script below : $p = Net::Ping->new("icmp"); if ($p->ping($host,1)){ print "$host is alive.\n"; } else { print "$host is unreacheable.\n"; } $p->close();... (4 Replies)
Discussion started by: tavanagh
4 Replies

4. AIX

Networking Issue (Cant Ping the gateway)

Hi, I installed AIX 7.1 on a blade though (hmc with vio). I can ping the IP address, but not the gateway. Is there anything that I should configure? Is there anything that I have to check with vio setting or Am I missing any configuration? Please let me know further. Thank you (5 Replies)
Discussion started by: pjeedu2247
5 Replies

5. Shell Programming and Scripting

Animation Ping on Solaris Like Cisco Ping

Hi, I develop simple animation ping script on Solaris Platform. It is like Cisco ping. Examples and source code are below. bash-3.00$ gokcell 152.155.180.8 30 Sending 30 Ping Packets to 152.155.180.8 !!!!!!!!!!!!!.!!!!!!!!!!!!!!!. % 93.33 success... % 6.66 packet loss...... (1 Reply)
Discussion started by: gokcell
1 Replies

6. AIX

LPAR freezes after switching of storage (lpar is mirrored)

Hi all, I have the following configuration 2 ds3524 storage disk systems located over 2 locations 2 P720 server located over 2 locations DS3524 are connected to san switch. Each vio server has 1 fc adapter attached to a san switch. per p720 server 2 virtual io servers. Vio 1 has 1 lun... (2 Replies)
Discussion started by: markiemark
2 Replies

7. AIX

LPAR creation

can i get a step b syep explanation in creating LPAR... i have searched for tutorials i couldn't find the right one.... (2 Replies)
Discussion started by: udtyuvaraj
2 Replies

8. AIX

LPAR

I am planning for System P with 2 number of 2-core processor (4 core in total). Can I make 3 LPARS with this processor configuration without the support of micropartitioning, that means with simple LPAR only. (3 Replies)
Discussion started by: pchangba
3 Replies

9. IP Networking

ping and networking

Dear friends, Please explain the functionality of the ping command and explain the network details, and IP layers. I want some more clarification about following things i) switch ii) hub iii) routers iv) proxy (3 Replies)
Discussion started by: thangappan
3 Replies

10. AIX

LPAR and CFGMGR

I have a P570 that for some reason is not allowing the P1-T6 NIC to be recognized. I have confirmed from the HMC that it is set for the LPAR, but when I do a cfgmgr, it won't recognize it. It though is recognizing the slot cards just fine which are P1-C3 for one shelf and P1-C3 of another shelf.... (1 Reply)
Discussion started by: LegendMan
1 Replies
Login or Register to Ask a Question