Since I have a problem with another physical interface (link is down), I
thought I'd try to assign a logical interface to a Solaris PV guesst domain and
assign an IP.
'nge0:1:'
bash-3.2# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232
index 1
inet 127.0.0.1 netmask ff000000
nge0: flags=201000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4,CoS> mtu 1500 index 2
inet 10.5.62.54 netmask fffff800 broadcast 10.5.63.255
ether 0:14:4f:2:12:34
nge0:1: flags=201000842<BROADCAST,RUNNING,MULTICAST,IPv4,CoS> mtu 1500 index 2
inet 10.5.63.98 netmask ff000000 broadcast 10.255.255.255
How can it be done? I did attempt but failed.
bash-3.2# uname -a
SunOS va64-x4200g-sca11 5.11 snv_80 i86pc i386 i86xpv
bash-3.2# cat snv.1.boot.py
name = 'solaris-pv'
memory = '1024'
vcpus = 4
disk = [ 'phy:/dev/zvol/dsk/snv-pool/vol,0,w' ]
on_poweroff = 'destroy'
on_reboot = 'restart'
on_crash = 'preserve'
#vif = [ 'ip=10.5.63.98', 'bridge=nge0:1' ]
bash-3.2#
bash-3.2# svccfg -s xvm/xend listprop | grep default
config/default-nic astring nge0:1
bash-3.2#
May be we can't give logical interface to default-nic but I couldn't get it to
work when I specified as 'bridge' as well.
Thanks,
/Saurabh
This message posted from opensolaris.org
_______________________________________________
xen-discuss mailing list
[email protected]