Hi,
I am discussing a problem with a customer who is trying to configure
vnic in a NGZ thru sysidcfg.
He is giving a sysidcfg file in which network_interface is configured
as vnic0.
So, the NGZ should create this vnic and configure this.
Here is the information that they have given regarding the NGZ and
the interfaces:
From global zone:
$ zoneadm -z mathesar-z1 list -v
ID NAME STATUS PATH BRAND
IP 10 mathesar-z1 running /export/home/zones/mathesar-z1
native excl
$ ifconfig -a lo0:
flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232
index 1
inet 127.0.0.1 netmask ff000000 e1000g0:
flags=1004843<UP,BROADCAST,RUNNING,MULTICAST,DHCP,IPv4> mtu 1500 index 2
inet 10.8.57.93 netmask ffffff00 broadcast 10.8.57.255
ether 0:14:4f:20:82:24 lo0:
flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu 8252
index 1
inet6 ::1/128 e1000g0: flags=2000841<UP,RUNNING,MULTICAST,IPv6> mtu
1500 index 2
inet6 fe80::214:4fff:fe20:8224/10 ether 0:14:4f:20:82:24
e1000g0:1: flags=2080841<UP,RUNNING,MULTICAST,ADDRCONF,IPv6> mtu 1500
index 2
inet6 2002:a08:39f0:1:214:4fff:fe20:8224/64
$ dladm show-vnic LINK OVER SPEED
MACADDRESS MACADDRTYPE VID
vnic0 e1000g1 1000 2:8:20:4f:b3:a6 random 0
$ zonecfg -z mathesar-z1 info
zonename: mathesar-z1
zonepath: /export/home/zones/mathesar-z1
brand: native
autoboot: true
bootargs: pool: limitpriv: scheduling-class: ip-type: exclusive
hostid: inherit-pkg-dir:
dir: /lib
inherit-pkg-dir:
dir: /platform
inherit-pkg-dir:
dir: /sbin
inherit-pkg-dir:
dir: /usr
net:
address not specified
physical: vnic0
defrouter not specified
$ zlogin mathesar-z1 ifconfig -a lo0:
flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232
index 1
inet 127.0.0.1 netmask ff000000 vnic0:
flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 10.0.1.100 netmask ffffff00 broadcast 10.0.1.255
ether 2:8:20:4f:b3:a6 lo0:
flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu 8252
index 1
inet6 ::1/128 vnic0: flags=2004841<UP,RUNNING,MULTICAST,DHCP,IPv6>
mtu 1500 index 2
inet6 fe80::8:20ff:fe4f:b3a6/10 ether 2:8:20:4f:b3:a6
$ zlogin mathesar-z1 cat /etc/hostname.vnic0
mathesar-z1
Now the problem that is observed is, during zlogin an error message
is getting printed.
The error message is: "vnic0 is not a valid network interface line 7
position 19".
If you have any suggestion on possible workarounds or solutions,
please let me know.
Regards,
Narendra