<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: VM virtual network config in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/vm-virtual-network-config/m-p/5097177#M527596</link>
    <description>Case closed. Thanks all</description>
    <pubDate>Wed, 12 Mar 2008 11:08:29 GMT</pubDate>
    <dc:creator>jimmie_smith</dc:creator>
    <dc:date>2008-03-12T11:08:29Z</dc:date>
    <item>
      <title>VM virtual network config</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vm-virtual-network-config/m-p/5097171#M527590</link>
      <description>I'm having trouble communicating with a VM guest i created. The guest host is online and can communicate with the host system, and can even reach the physical gateway(outside of the host) but cannot reach another subnet. The guest exists on the same network as the host system. For example say my host system is 10.1.1.20 with a default gateway of 10.1.1.1. I have a vswitch setup that automatically was assigned 10.1.1.20 and my guest vm is 10.1.1.22. I made the gateway of the guest host system 10.1.1.20. (i also tried the real gateway as well..didn't work). Is this the correct ip configuration for the guest host in contrast to the vswitch and host system. Do I have to use a vlan? I'm just a bit confused on the virtual network and the admin guide didn't really spell it out for me as far as providing a &amp;amp;quot;real-world&amp;amp;quot; example.&lt;BR /&gt;&lt;BR /&gt;-I can ssh to host system and from host i can ssh to the guest vm&lt;BR /&gt;-I can ping the host system from the vm as well as the virtual and physical gateway.&lt;BR /&gt;-I can reach(ssh/ping) the host from a different subnet but not the guest vm&lt;BR /&gt;-The guest vm and the host are on the same subnet&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 11 Mar 2008 18:26:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vm-virtual-network-config/m-p/5097171#M527590</guid>
      <dc:creator>jimmie_smith</dc:creator>
      <dc:date>2008-03-11T18:26:40Z</dc:date>
    </item>
    <item>
      <title>Re: VM virtual network config</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vm-virtual-network-config/m-p/5097172#M527591</link>
      <description>Bonsoir Jimmie,&lt;BR /&gt;&lt;BR /&gt;"I have a vswitch setup that automatically was assigned 10.1.1.20" --&amp;gt; probably because you have configured the virtual switch on the lan card used by the host itself. Not an issue, but for myself I prefer using NIC that are not in use by the host. Have you some free NIC that you could affect to virtual switchs (lanscan at host level) ?&lt;BR /&gt;&lt;BR /&gt;"I made the gateway of the guest host system 10.1.1.20" --&amp;gt; Not good&lt;BR /&gt;&lt;BR /&gt;"i also tried the real gateway as well..didn't work" --&amp;gt; It should have worked. You MUST use the official gateway of your network, in the same way you would do for a "pysical" host. Can you ping it from the guest ? Can you ping any host on the same subnet from the guest ? If not, maybe your network admin has configured some MAC filtering on the network switchs ?&lt;BR /&gt;&lt;BR /&gt;"Do I have to use a vlan?" --&amp;gt; Unless your network admin has configured vlan, there is no need. What about this, did he ?&lt;BR /&gt;&lt;BR /&gt;In a general way, you can, and you must,  think to networks from guest point of view in the same way than for pysical hosts. The main difference is that your virtual machine is connected to a virtual switch.&lt;BR /&gt;&lt;BR /&gt;Maybe you could post some more informations :&lt;BR /&gt;&lt;BR /&gt;VM host :&lt;BR /&gt;&lt;BR /&gt;- lanscan&lt;BR /&gt;- netstat -rnv&lt;BR /&gt;- hpvmmet -V -S &lt;VSWITCHNAME&gt;&lt;BR /&gt;- hpvmstatus -V -P &lt;VMNAME&gt;&lt;BR /&gt;&lt;BR /&gt;VM Guest :&lt;BR /&gt;&lt;BR /&gt;- lanscan&lt;BR /&gt;- netstat -rnv&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Eric&lt;/VMNAME&gt;&lt;/VSWITCHNAME&gt;</description>
      <pubDate>Tue, 11 Mar 2008 18:58:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vm-virtual-network-config/m-p/5097172#M527591</guid>
      <dc:creator>Eric SAUBIGNAC</dc:creator>
      <dc:date>2008-03-11T18:58:51Z</dc:date>
    </item>
    <item>
      <title>Re: VM virtual network config</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vm-virtual-network-config/m-p/5097173#M527592</link>
      <description>After the vswitch is assigned to the guest with hpvmmodify the configuration on the quest is exactly the same as any other type of server.&lt;BR /&gt;&lt;BR /&gt;assign IP with ipconfig&lt;BR /&gt;assign GW with route add default&lt;BR /&gt;&lt;BR /&gt;The default route points to your router not the vHost..&lt;BR /&gt;&lt;BR /&gt;If you must just start over.&lt;BR /&gt;-create vswitch with hpvmnet assigning lan interface from vHost.&lt;BR /&gt;-allocate the vswitch to the vGuest with hpvmmodify -a network:lan::vswitch:vswitch_name&lt;BR /&gt;&lt;BR /&gt;Configure lan on vGuest as you would any other host.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 11 Mar 2008 19:10:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vm-virtual-network-config/m-p/5097173#M527592</guid>
      <dc:creator>Tim Nelson</dc:creator>
      <dc:date>2008-03-11T19:10:10Z</dc:date>
    </item>
    <item>
      <title>Re: VM virtual network config</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vm-virtual-network-config/m-p/5097174#M527593</link>
      <description>I think this is the problem. Default gateway should be 10.66.128.1 for vm-guest which a physical network device..correct? Notice below i can ping the gateway from the vm, but get an error when trying to add it as the default route. I've recreated the vswitch and removed/re-added the vnic via hpvmmodify then restarted the vm. &lt;BR /&gt;&lt;BR /&gt;Note hpvm1 is the vm ...hpux1 is the host. This is VM.A.03.00. &lt;BR /&gt;&lt;BR /&gt;As you can see the host has 2 physical nics. I removed the ip configuration from lan1 on the host at your suggestion.&lt;BR /&gt;&lt;BR /&gt;root@hpvm1# netstat -rnv&lt;BR /&gt;Routing tables&lt;BR /&gt;Dest/Netmask                    Gateway            Flags   Refs Interface  Pmtu&lt;BR /&gt;127.0.0.1/255.255.255.255       127.0.0.1          UH        0  lo0        4136&lt;BR /&gt;10.66.128.21/255.255.255.255    10.66.128.21       UH        0  lan0       4136&lt;BR /&gt;10.66.128.0/255.255.255.0       10.66.128.21       U         2  lan0       1500&lt;BR /&gt;127.0.0.0/255.0.0.0             127.0.0.1          U         0  lo0           0&lt;BR /&gt;root@hpvm1# ping 10.66.128.1&lt;BR /&gt;PING 10.66.128.1: 64 byte packets&lt;BR /&gt;64 bytes from 10.66.128.1: icmp_seq=0. time=0. ms&lt;BR /&gt;64 bytes from 10.66.128.1: icmp_seq=1. time=0. ms&lt;BR /&gt;64 bytes from 10.66.128.1: icmp_seq=2. time=0. ms&lt;BR /&gt;&lt;BR /&gt;----10.66.128.1 PING Statistics----&lt;BR /&gt;3 packets transmitted, 3 packets received, 0% packet loss&lt;BR /&gt;round-trip (ms)  min/avg/max = 0/0/0&lt;BR /&gt;&lt;BR /&gt;root@hpvm1# route add default 10.66.128.1&lt;BR /&gt;add net default: gateway 10.66.128.1: Network is unreachable&lt;BR /&gt;root@hpvm1#lanscan&lt;BR /&gt;Hardware Station        Crd Hdw   Net-Interface  NM  MAC       HP-DLPI DLPI&lt;BR /&gt;Path     Address        In# State NamePPA        ID  Type      Support Mjr#&lt;BR /&gt;0/0/0/0  0xEE99DA3A9BAD 0   UP    lan0 snap0     1   ETHER     Yes     119&lt;BR /&gt;root@hpvm1# ifconfig lan0&lt;BR /&gt;lan0: flags=1843&lt;UP&gt;&lt;BR /&gt;        inet 10.66.128.21 netmask ffffff00 broadcast 10.66.128.255&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;------------------------------&lt;BR /&gt;FROM HOST&lt;BR /&gt;root@hpux1# lanscan&lt;BR /&gt;Hardware Station        Crd Hdw   Net-Interface  NM  MAC       HP-DLPI DLPI&lt;BR /&gt;Path     Address        In# State NamePPA        ID  Type      Support Mjr#&lt;BR /&gt;0/1/2/0  0x0017A4AB2125 0   UP    lan0 snap0     1   ETHER     Yes     119&lt;BR /&gt;0/1/2/1  0x0017A4AB2124 1   UP    lan1 snap1     2   ETHER     Yes     119&lt;BR /&gt;root@hpux1# ifconfig lan0&lt;BR /&gt;lan0: flags=1843&lt;UP&gt;&lt;BR /&gt;        inet 10.66.128.20 netmask ffffff00 broadcast 10.66.128.255&lt;BR /&gt;root@hpux1# ifconfig lan1&lt;BR /&gt;ifconfig: no such interface&lt;BR /&gt;root@hpux1# hpvmnet -V&lt;BR /&gt;Name                    : localnet&lt;BR /&gt;number                  : 1&lt;BR /&gt;PID                     : 2436&lt;BR /&gt;State                   : Up&lt;BR /&gt;Mode                    : Shared&lt;BR /&gt;NamePPA                 : n/a&lt;BR /&gt;Host MAC Address        : N/A&lt;BR /&gt;Host IP Address         : N/A&lt;BR /&gt;Number of guests        : 0&lt;BR /&gt;&lt;BR /&gt;Name                    : vswitch1&lt;BR /&gt;number                  : 4&lt;BR /&gt;PID                     : 6521&lt;BR /&gt;State                   : Up&lt;BR /&gt;Mode                    : Shared&lt;BR /&gt;NamePPA                 : lan1&lt;BR /&gt;Host MAC Address        : 0x0017a4ab2124&lt;BR /&gt;Host IP Address         :&lt;BR /&gt;Number of guests        : 1&lt;BR /&gt;Guest's Name            : hpvm1&lt;BR /&gt;  MAC Address           : 0xEE99DA3A9BAD&lt;BR /&gt;  IP Address            : 10.66.128.21&lt;BR /&gt;  Vswitch Port          : 1&lt;BR /&gt;root@hpux1# hpvmstatus -V -P hpvm1&lt;BR /&gt;[Virtual Machine Details]&lt;BR /&gt;Virtual Machine Name    : hpvm1&lt;BR /&gt;Virtual Machine UUID    : 9547a0d8-ec84-11dc-8d24-0017a4ab2125&lt;BR /&gt;Virtual Machine ID      : 1&lt;BR /&gt;Virtual Machine Label   :&lt;BR /&gt;VM's Model Name         : server Integrity Virtual Machine&lt;BR /&gt;VM's Serial Number      : VM00810000&lt;BR /&gt;VM's Config Version     : 3.0.0&lt;BR /&gt;VM's Config Label       : HPVM A.03.00.00 clearcase eval-opt Thu May 17 2007 09h14m08s PDT&lt;BR /&gt;Operating System        : HPUX&lt;BR /&gt;OS Version Number       :&lt;BR /&gt;State                   : On (OS)&lt;BR /&gt;Start type              : Manual&lt;BR /&gt;Console type            : vt100-plus&lt;BR /&gt;Guest's hostname        :&lt;BR /&gt;Guest's IP address      : 10.66.128.21&lt;BR /&gt;EFI location            : /opt/hpvm/guest-images/common/efi&lt;BR /&gt;Pattern File location   : /opt/hpvm/guest-images/common/patterns.vmmpat&lt;BR /&gt;Guest revision          : 1&lt;BR /&gt;Running on serverid     : 0&lt;BR /&gt;Running on pid          : 6992&lt;BR /&gt;Application controllers : NONE&lt;BR /&gt;Distributed             : 0&lt;BR /&gt;&lt;BR /&gt;[Authorized Administrators]&lt;BR /&gt;Oper Groups:&lt;BR /&gt;Admin Groups:&lt;BR /&gt;Oper Users:&lt;BR /&gt;Admin Users:&lt;BR /&gt;        jlsmith&lt;BR /&gt;&lt;BR /&gt;[Virtual CPU Details]&lt;BR /&gt;Number Virtual CPUs     : 1&lt;BR /&gt;Minimum Virtual CPUs    : 1&lt;BR /&gt;Maximum Virtual CPUs    : 4&lt;BR /&gt;Percent Entitlement     : 100.0%&lt;BR /&gt;Maximum Entitlement     : 100.0%&lt;BR /&gt;&lt;BR /&gt;[Memory Details]&lt;BR /&gt;Total memory            : 2 GB&lt;BR /&gt;Minimum memory limit    : 512 MB&lt;BR /&gt;Maximum memory limit    : 64 GB&lt;BR /&gt;Reserved memory         : 64 MB&lt;BR /&gt;Minimum reserved limit  : 32 MB&lt;BR /&gt;Maximum reserved limit  : 64 GB&lt;BR /&gt;VHPT Size               : 1 MB&lt;BR /&gt;&lt;BR /&gt;[Storage Interface Details]&lt;BR /&gt;Guest Device type       : dvd&lt;BR /&gt;Guest Adaptor type      : scsi&lt;BR /&gt;Ioscan format           : 0/0/1/0.0.0&lt;BR /&gt;Bus                     : 0&lt;BR /&gt;Device                  : 1&lt;BR /&gt;Function                : 0&lt;BR /&gt;Target                  : 0&lt;BR /&gt;Lun                     : 0&lt;BR /&gt;Physical Storage type   : disk&lt;BR /&gt;Physical Device         : /dev/rdsk/c0t0d0&lt;BR /&gt;&lt;BR /&gt;Guest Device type       : disk&lt;BR /&gt;Guest Adaptor type      : scsi&lt;BR /&gt;Ioscan format           : 0/0/1/0.1.0&lt;BR /&gt;Bus                     : 0&lt;BR /&gt;Device                  : 1&lt;BR /&gt;Function                : 0&lt;BR /&gt;Target                  : 1&lt;BR /&gt;Lun                     : 0&lt;BR /&gt;Physical Storage type   : lv&lt;BR /&gt;Physical Device         : /dev/vx/rdsk/rootdg/vmvol01&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;[Network Interface Details]&lt;BR /&gt;Physical Storage type   : vswitch&lt;BR /&gt;Guest Adaptor type      : lan&lt;BR /&gt;Backing                 : vswitch1&lt;BR /&gt;Vswitch Port            : 1&lt;BR /&gt;Ioscan format           : 0/0/0/0&lt;BR /&gt;Bus                     : 0&lt;BR /&gt;Device                  : 0&lt;BR /&gt;Function                : 0&lt;BR /&gt;Mac Address             : ee-99-da-3a-9b-ad&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;[Misc Interface Details]&lt;BR /&gt;Guest Device type       : serial&lt;BR /&gt;Guest Adaptor type      : com1&lt;BR /&gt;Physical Storage type   : tty&lt;BR /&gt;Physical Device         : console&lt;BR /&gt;&lt;/UP&gt;&lt;/UP&gt;</description>
      <pubDate>Tue, 11 Mar 2008 23:19:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vm-virtual-network-config/m-p/5097174#M527593</guid>
      <dc:creator>jimmie_smith</dc:creator>
      <dc:date>2008-03-11T23:19:28Z</dc:date>
    </item>
    <item>
      <title>Re: VM virtual network config</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vm-virtual-network-config/m-p/5097175#M527594</link>
      <description>Bonjour Jimmie,&lt;BR /&gt;&lt;BR /&gt;Just before I take some times to analyze deeper your config, you miss metric when adding default route in the guest :&lt;BR /&gt;&lt;BR /&gt;route add default 10.66.128.1&lt;BR /&gt;&lt;BR /&gt;should be :&lt;BR /&gt;&lt;BR /&gt;route add default 10.66.128.1 1&lt;BR /&gt;&lt;BR /&gt;See U later&lt;BR /&gt;&lt;BR /&gt;Eric&lt;BR /&gt;</description>
      <pubDate>Wed, 12 Mar 2008 07:29:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vm-virtual-network-config/m-p/5097175#M527594</guid>
      <dc:creator>Eric SAUBIGNAC</dc:creator>
      <dc:date>2008-03-12T07:29:01Z</dc:date>
    </item>
    <item>
      <title>Re: VM virtual network config</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vm-virtual-network-config/m-p/5097176#M527595</link>
      <description>Yep, that was it. Thank you very much</description>
      <pubDate>Wed, 12 Mar 2008 10:48:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vm-virtual-network-config/m-p/5097176#M527595</guid>
      <dc:creator>jimmie_smith</dc:creator>
      <dc:date>2008-03-12T10:48:23Z</dc:date>
    </item>
    <item>
      <title>Re: VM virtual network config</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vm-virtual-network-config/m-p/5097177#M527596</link>
      <description>Case closed. Thanks all</description>
      <pubDate>Wed, 12 Mar 2008 11:08:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vm-virtual-network-config/m-p/5097177#M527596</guid>
      <dc:creator>jimmie_smith</dc:creator>
      <dc:date>2008-03-12T11:08:29Z</dc:date>
    </item>
  </channel>
</rss>

