I have a T5220 running ldm:
/opt/SUNWldm/bin/ldm -V
Logical Domain Manager (v 1.3)
Hypervisor control protocol v 1.4
Using Hypervisor MD v 1.0
System PROM:
Hypervisor v. 1.7.7 @(#)Hypervisor 1.7.7 2010/03/15
09:26\015
OpenBoot v. 4.30.7 @(#)OBP 4.30.7 2010/03/15 07:43
and Solaris 10:
uname -a
SunOS zoot 5.10 Generic_142900-05 sun4v sparc SUNW,SPARC-Enterprise-T5220
cat /etc/release
Solaris 10 8/07 s10s_u4wos_12b SPARC
Copyright 2007 Sun Microsystems, Inc. All Rights Reserved.
Use is subject to license terms.
Assembled 16 August 2007
Each LDom has two vnets (vnet1 and vnet2). I need to change vnet2 to a
different IP. The new IP is in a different network vlan, so I must change all
LDoms at once or add a new virtual switch and virtual network devices. It
doesn't make sense to do them all at the same time, so I working on defining a
new physical nic ect.
The current setup seems nonsensical to me, but here's what I running today:
The primary/IO domain has four network connections defined, two physical and
two virtual:
e1000g0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 10.19.19.3 netmask ffffffc0 broadcast 10.19.19.63
ether 0:21:28:1:5e:98
e1000g1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
inet nnn.nnn.nnn.204 netmask ffffffe0 broadcast nnn.nnn.110.223
ether 0:21:28:1:5e:99
vsw0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 4
inet nnn.nnn.nnn.205 netmask ffffffe0 broadcast nnn.nnn.110.223
ether 0:14:4f:f9:48:d9
vsw1: flags=1000842<BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 5
inet nnn.nnn.nnn.205 netmask ffff0000 broadcast nnn.nnn.255.255
ether 0:14:4f:fa:c3:f4
and, yes, vsw0 and vsw1 have the same IP address
/opt/SUNWldm/bin/ldm list -l primary
NAME STATE FLAGS CONS VCPU MEMORY UTIL UPTIME
primary active -n-cv- SP 8 4G 1.8% 19d 20h 51m
...
VSW
NAME MAC NET-DEV ID DEVICE LINKPROP
DEFAULT-VLAN-ID PVID VID MTU MODE
primary-vsw0 00:14:4f:f9:48:d9 e1000g0 0 switch@0 1
1 1500
primary-vsw1 00:14:4f:fa:c3:f4 e1000g1 1 switch@1 1
1 1500
Here's one of the LDoms (one that I can play with)
/opt/SUNWldm/bin/ldm list -l SYS1
NAME STATE FLAGS CONS VCPU MEMORY UTIL UPTIME
SYS1 active -n---- 5011 2 1G 0.5% 20d 3h 48m
...
NETWORK
NAME SERVICE ID DEVICE MAC
MODE PVID VID MTU LINKPROP
vnet1 primary-vsw0@primary 0 network@0
00:ff:00:ff:32:10 1 1500
vnet2 primary-vsw1@primary 1 network@1
00:14:4f:fb:15:2e 1 1500
ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232
index 1
inet 127.0.0.1 netmask ff000000
vnet0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 10.19.19.60 netmask ffffffc0 broadcast 10.19.19.63
ether 0:ff:0:ff:32:10
vnet1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
inet nnn.nnn.nnn.221 netmask ffffffe0 broadcast nnn.nnn.110.223
ether 0:14:4f:fb:15:2e
I have wired e1000g2 to the switch and the network guy done his thing.
Several years ago support and I had a very hard time getting e1000g2 configured
and working. I do not understand why vsw1 has different netmask and broadcast
from e1000g1.
I am trying to proceed carefully.
I assume I need to define e1000g2 in the primary domain just as I would on any
physical server. I assume e1000g2 needs an IP address and netmask that fit the
real network but how to I define the virtual switch?
Thanks for any help or pointers,
Glen
--
This message posted from opensolaris.org
_______________________________________________
ldoms-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/ldoms-discuss