AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
#Power
#Operatingsystems
#Servers
 View Only
  • 1.  Virtual I/O Server version 1.5.2. Network interface problem.

    Posted 01/21/09 10:30 AM

    Originally posted by: rb7


    Hello everyone,
    We have Power5 boxes for hosting virtual machines and they run fine. We recently bought a new Power6 (520) machine.
    I installed VIOS 1.5.2 on the box to host virtual machines using Integrated Virtualization Manager. After the installation of VIOS I did the following (As mentioned in "Integrated Virtualization Manager on IBM System p5"):

    After logging in as padmin username/password:

    $ license -accept
    $ mkgencfg -o init
    $ mktcpip -hostname <hostname> -inetaddr <host_ip> -interface en0 -start -netmask <host_netmask> -gateway <host_gateway>

    The problem is that the mktcpip command runs without an error but there is no network connectivity. I cannot ping the gateway or any other host on network. The network router port is set to 1 Gigabit autonegotiate. The network cable works fine with other boxes.

    I tried reinstalling the whole VIOS but no luck. Finally I tried removing (using "rmtcpip") and re-adding interfaces (using "mktcpip") again and again for each ethernet port (en0 to en7) and it finally worked with en7 on T4 (on the back of box).

    My question is why it did not work with en0 when I mentioned it explicitly in mktcpip command? I have other Power5 boxes which work with en0 without any issues. Is that has to do with mkgencfg command?
    Thanks and Regards,
    /R.
    #AIX-Forum


  • 2.  Re: Virtual I/O Server version 1.5.2. Network interface problem.

    Posted 01/21/09 11:46 AM

    Originally posted by: bassemir


    I can't say why the mktcpip command did not work. We recently had a similiar problem with network connectivity but it turned out to be a cable issue.

    Not that it will help now but rather then uninstall and reinstall the vio server or the device I would look the configuration using smitty. Do you know you can use the command oem_setup_env to get out of the restricted padmin shell? If you run oem_setup_env you can then run smitty tcpip and look at your en0 interface connection and the ent0 adapter.

    Now that you have en7 up and can connect to your box do you still have an issue getting to en0?

    Here is another thought. Perhaps en0 is using the Integrated Virtual Etheret Adapter that is new on power6. I wonder if your mktcpip command configured this IVE adapter which is a different rj45 plug in the back of the system.

    Sorry all I have to offer is suggestions.

    Rich
    #AIX-Forum


  • 3.  Re: Virtual I/O Server version 1.5.2. Network interface problem.

    Posted 01/22/09 03:27 PM

    Originally posted by: rb7


    Rich,

    Thanks for your reply. I have read the man page of oem_setup_env but never used it before. It is a good command. I was able to get out of rksh and do other stuff like in regualar AIX box.

    As for your question, well I have not checked the en0 port as I got it working already. But en0 is not Virtual Ethernet Adapter as you suggested. Rather it is defined as Standard Enternet Adapter Interface just like others.

    I was just wondering if someone got into the same issues.

    But now I have another problem for which I would like to open a new thread.

    Thanks again,
    /R.
    #AIX-Forum


  • 4.  Re: Virtual I/O Server version 1.5.2. Network interface problem.

    Posted 01/22/09 04:14 PM

    Originally posted by: CRM


    Can you run :

    lsdev -dev ent0 -vpd

    or from oem_setup_env:

    lscfg -vl ent0

    and paste the information here, hopefully we can check that the port you think should be active is he correct one.

    regards

    Chris
    #AIX-Forum


  • 5.  Re: Virtual I/O Server version 1.5.2. Network interface problem.

    Posted 01/22/09 04:55 PM

    Originally posted by: rb7


    Chris,

    Here is the output you requested. Why did you ask for ent0 and not en0 ?
    From rksh shell:
    $lsdev -dev ent0 -vpd
    ent0 U9205.E5H.1052172-V1-C3-T0 Virtual I/O Ethernet Adapter (l-lan)

    Network Address.............ABX5E2T37603
    Displayable Message.........Virtual I/O Ethernet Adapter (l-lan)
    Hardware Location Code......U9205.E5H.1052172-V1-C3-T0
    PLATFORM SPECIFIC

    Name: l-lan
    Node: l-lan@30000003
    Device Type: network
    Physical Location: U9205.E5H.1052172-V1-C3-T0

    From oem_setup_env shell:
    lscfg -vl ent0
    ent0 U9205.E5H.1052172-V1-C3-T0 Virtual I/O Ethernet Adapter (l-lan)

    Network Address.............ABX5E2T37603
    Displayable Message.........Virtual I/O Ethernet Adapter (l-lan)
    Hardware Location Code......U9205.E5H.1052172-V1-C3-T0
    Regards,
    /R.
    #AIX-Forum


  • 6.  Re: Virtual I/O Server version 1.5.2. Network interface problem.

    Posted 01/22/09 05:13 PM

    Originally posted by: CRM


    The way I think of ent and en devices, ent is the physical adapter and en is the interface on that adapter. Not sure if this is the correct way to think of it but it works for me.

    Found an old whitepaper that explains something like this:

    http://www-03.ibm.com/systems/resources/systems_p_os_aix_whitepapers_pdf_tcpip_howto.pdf

    You stated above:

    But en0 is not Virtual Ethernet Adapter

    But checking your pasted input:

    lscfg -vl ent0
    ent0 U9205.E5H.1052172-V1-C3-T0 Virtual I/O Ethernet Adapter (l-lan)

    That looks like a virtual adapters to me.

    can you run under oem_setup_env:

    lsdev -Cc adapter

    and then:

    lsslot -c pci

    and paste them in.
    cheers

    Chris
    #AIX-Forum


  • 7.  Re: Virtual I/O Server version 1.5.2. Network interface problem.

    Posted 03/17/09 11:57 AM

    Originally posted by: rb7


    Chris,

    Sorry for not replying before. Here is what you were looking for:

    1. lsdev -Cc adapter
    ent0 Available Logical Host Ethernet Port (lp-hea)
    ent1 Available Logical Host Ethernet Port (lp-hea)
    ent2 Available Logical Host Ethernet Port (lp-hea)
    ent3 Available Logical Host Ethernet Port (lp-hea)
    ent4 Available Virtual I/O Ethernet Adapter (l-lan)
    ent5 Available Virtual I/O Ethernet Adapter (l-lan)
    ent6 Available Virtual I/O Ethernet Adapter (l-lan)
    ent7 Available Virtual I/O Ethernet Adapter (l-lan)
    ent8 Available Shared Ethernet Adapter
    fcs0 Available 02-08 FC Adapter
    fcs1 Available 02-09 FC Adapter
    ibmvmc0 Available Virtual Management Channel
    lhea0 Available Logical Host Ethernet Adapter (l-hea)
    sissas0 Available 00-08 PCI-X266 Planar 3Gb SAS Adapter
    usbhc0 Available 01-08 USB Host Controller (33103500)
    usbhc1 Available 01-09 USB Host Controller (33103500)
    vhost0 Available Virtual SCSI Server Adapter
    vhost1 Available Virtual SCSI Server Adapter
    vhost2 Available Virtual SCSI Server Adapter
    vhost3 Available Virtual SCSI Server Adapter
    vhost4 Available Virtual SCSI Server Adapter
    vhost5 Available Virtual SCSI Server Adapter
    vhost6 Available Virtual SCSI Server Adapter
    vsa0 Available LPAR Virtual Serial Adapter
    vsa1 Available LPAR Virtual Serial Adapter
    vts0 Available Virtual TTY Server Adapter
    vts1 Available Virtual TTY Server Adapter
    vts2 Available Virtual TTY Server Adapter
    vts3 Available Virtual TTY Server Adapter
    vts4 Available Virtual TTY Server Adapter
    vts5 Available Virtual TTY Server Adapter
    vts6 Available Virtual TTY Server Adapter
    1. lsslot -c pci
    2. Slot Description Device(s)
    U789C.001.DQD2386-P1-C1 PCI-E capable, Rev 1 slot with 8x lanes Empty
    U789C.001.DQD2386-P1-C2 PCI-E capable, Rev 1 slot with 8x lanes Empty
    U789C.001.DQD2386-P1-C3 PCI-E capable, Rev 1 slot with 16x lanes Empty
    U789C.001.DQD2386-P1-C4 PCI-X capable, 64 bit, 266MHz slot fcs0 fcs1
    U789C.001.DQD2386-P1-C5 PCI-X capable, 64 bit, 266MHz slot Empty
    Regards,
    /R
    #AIX-Forum


  • 8.  Re: Virtual I/O Server version 1.5.2. Network interface problem.

    Posted 03/18/09 06:11 PM

    Originally posted by: CRM


    Ok - so the ent0 is a virtual device.

    The only way for virtual devices to be visible to the outside world is if there is an SEA setup.

    Can you run lsmap -net -all lastly to see which adapter is bridged to the outside world?

    regards

    Chris
    #AIX-Forum