1837491 Members
3599 Online
110117 Solutions
New Discussion

hpvmnet

 
sen_ux
Valued Contributor

hpvmnet

How to change the assosiated lan of a vswitch from lan0 to lan1.?
6 REPLIES 6
Yogesh M Puranik
Valued Contributor

Re: hpvmnet

Hi,

for example,If you have following configuration,


# lanscan
Hardware Station Crd Hdw Net-Interface NM MAC HP-DLPI DLPI
Path Address In# State NamePPA ID Type Support Mjr#
0/0/3/0 0x00306E4A93E6 0 UP lan0 snap0 1 ETHER Yes 119
0/1/2/0 0x00306E4A92EF 1 UP lan1 snap1 2 ETHER Yes 119



If you wana change lan from lan0 to lan1 then your command should be,

#hpvmnet -C -S hostnet -n 1

Check the status again after change using,

#hpvmnet


Rgds

Yogesh
(Your points are highly appritiated )


sen_ux
Valued Contributor

Re: hpvmnet

Yes..this works .
Small correction in my qstn.

I have created a vswitch without a lan.
and i want to add a lan.
Yogesh M Puranik
Valued Contributor

Re: hpvmnet


Hi again,

#hpvmnet -c -S vswitch-name -n nic-id

Where,

-c indicates the creation of a vswitch.
-S vswitch-name specifies the name of the vswitch.
-n nic-id specifies the network interface on the VM Host that the new vswitch will use. For example, â n 0 indicates lan0.


Rgds

Yogesh
(Your points are highly appritiated)
sen_ux
Valued Contributor

Re: hpvmnet

this is for creation of a new switch.

I have created the switch with

#hpvmnet -c -S vswitch

did not specify a lan here.

After creating this i want to add a lan to this.
Yogesh M Puranik
Valued Contributor

Re: hpvmnet

To add,

# hpvmmodify -P guestname -a network:lan:,,:vswitch:


Rgds

Yogesh
(Your points are highly appritiated)
SoorajCleris
Honored Contributor

Re: hpvmnet

Hi Sen_ux,

It is a valid question you asked.

Which is your VMHost, which version?
Need to check, if 4.1 supports online migration of network card to the switch. But other versions you may need to recreate the switch.

Regards,
Sooraj
"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity" - Dennis Ritchie