- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- network not working on newly created hp-ux guest
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2011 08:20 AM
02-17-2011 08:20 AM
# hpvmnet
Name Number State Mode NamePPA MAC Address IPv4 Address
======== ====== ======= ========= ======== ============== ===============
localnet 1 Up Shared N/A N/A
vswitch0 3 Up Shared lan0 0x00237d447f28 10.200.10.39
# hpvmnet -S vswitch0 -v
Version B.04.20.05
Name Number State Mode NamePPA MAC Address IPv4 Address
======== ====== ======= ========= ======== ============== ===============
vswitch0 3 Up Shared lan0 0x00237d447f28 10.200.10.39
[Port Configuration Details]
Port Port Port Untagged Number of Active VM Tagged
Number State Adaptor VLANID Reserved VMs VLANIDs
======= ============ ======== ======== ============ ============ =============
1 Active lan none 1 hp-eval-01 none
[Configured Host IP Address(es)]
10.200.10.39
10.200.10.38
And I added that switch to my vm.
# hpvmstatus -P hp-eval-01
[Virtual Machine Details]
Virtual Machine Name VM # OS Type State
==================== ===== ======= ========
hp-eval-01 3 HPUX On (OS)
[Authorized Administrators]
Oper Groups :
Admin Groups :
Oper Users :
Admin Users :
[Virtual CPU Details]
#vCPUs Entitlement Maximum
====== =========== =======
1 10.0% 100.0%
[Memory Details]
Total Reserved
Memory Memory
======= ========
16 GB 64 MB
[Dynamic Memory Information]
NOTE: Dynamic data unavailable, configured values only
Minimum Target Memory Maximum
Memory Memory Entitlement Memory
=========== =========== =========== ===========
2048 MB 4096 MB - 16384 MB
[Storage Interface Details]
Guest Physical
Device Adaptor Bus Dev Ftn Tgt Lun Storage Device
======= ========== === === === === === ========= =========================
disk scsi 0 1 0 1 0 lv /dev/vg00/rguest
disk scsi 0 1 0 2 0 disk /dev/rdsk/c0t8d0
[Network Interface Details]
Interface Adaptor Name/Num PortNum Bus Dev Ftn Mac Address
========= ========== ========== ======= === === === =================
vswitch lan localnet 1 0 0 0 92-09-13-0a-b5-77
vswitch lan vswitch0 1 0 2 0 a2-93-19-16-11-2c
[Misc Interface Details]
Guest Physical
Device Adaptor Bus Dev Ftn Tgt Lun Storage Device
======= ========== === === === === === ========= =========================
serial com1 tty console
But I cannot get in or out of my vm...ping, ftp, telnet, ssh, etc. all time out.
What did I miss during the configuration of this guest?
Thanks in advance.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2011 08:25 AM
02-17-2011 08:25 AM
Re: network not working on newly created hp-ux guest
netstat -in
nwmgr
ifconfig lan0
ifconfig lan1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2011 08:46 AM
02-17-2011 08:46 AM
Re: network not working on newly created hp-ux guest
# netstat -in
Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll
lan1 1500 10.200.10.0 10.200.10.39 1236 0 1220 0 0
lo0 32808 127.0.0.0 127.0.0.1 592 0 592 0 0
# nwmgr
Name/ Interface Station Sub- Interface Related
ClassInstance State Address system Type Interface
============== ========= ============== ======== ============== =========
lan0 UP 0x9209130AB577 iether 1000Base-T
lan1 UP 0xA2931916112C iether 1000Base-T
lan900 DOWN 0x000000000000 hp_apa hp_apa
lan901 DOWN 0x000000000000 hp_apa hp_apa
lan902 DOWN 0x000000000000 hp_apa hp_apa
lan903 DOWN 0x000000000000 hp_apa hp_apa
lan904 DOWN 0x000000000000 hp_apa hp_apa
# ifconfig lan0
ifconfig: no such interface
# ifconfig lan1
lan1: flags=1843
inet 10.200.10.39 netmask ffffff00 broadcast 10.200.10.255
I originally configured the guest with lan0, but that was not working, so tried lan1 since it seemed the macid corresponded to lan1 (output from hpvmnetfor vmswitch0's mac address corresponds to lan1 on guest itself). Still doesn't work with lan1 though.
Thanks for your help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2011 10:37 AM
02-17-2011 10:37 AM
Re: network not working on newly created hp-ux guest
Are you sure that you have posted information from the GUEST as asked by melvyn ?
It seems that yes (did the check with mac adresses). So, you have the same IP in the Guest and in the VM host : 10.200.10.39.
It simply can't work. As with any physical box, IP addresses must be unique for each NIC or vNIC.
Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2011 10:42 AM
02-17-2011 10:42 AM
Re: network not working on newly created hp-ux guest
# netstat -in
Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll
lo0 32808 127.0.0.0 127.0.0.1 338 0 338 0 0
lan0:1* 1500 10.200.10.0 10.200.10.39 102 0 102 0 0
lan0 1500 10.200.10.0 10.200.10.38 498 0 342 0 0
Thank you for your response!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2011 11:20 AM
02-17-2011 11:20 AM
Solutionlan0:1* 1500 10.200.10.0 10.200.10.39 102 0 102 0 0
--> Do you have MC/ServiceGuard running on the host ? Check with command 'cmviewcl'
If yes it probably means that a package has the same IP than the Guest..
If this package is there to start the VM in a 'VM as package' configuration, you don't need to specify the VM's IP in the package configuration. In this case stop the package, modify configuration to delete the IP, then restart the VM by starting the package.
If this package has nothing to do with the VM, but has its own utility, it simply means that you have an IP conflict : one of the 2 IP must be modified.
--> Now, if MC/ServiceGuard is not running at all, where is this IP coming from ? And what for ?
If you can safely state that it is useless at host level, you can delete it with :
ifconfig lan0:1 0
And probably edit /etc/rc.config.d/netconf
I am to leave for the moment.
HTH
Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2011 11:38 AM
02-17-2011 11:38 AM
Re: network not working on newly created hp-ux guest
Again, many thanks. I was banging my head on my keyboard about this for 2 days. :(