[OmniOS-discuss] Zone network fails to work.

Richard Skelton skeltonr at btconnect.com
Mon Sep 12 17:23:07 UTC 2016


Hi,
I have a Sun X4170 with igb network.
I am using omnios-r151018-ae3141d
Here are my steps to create a zone called fred :-
dladm show-phys
LINK         MEDIA                STATE      SPEED  DUPLEX    DEVICE
usbecm0      Ethernet             down       10     full      usbecm0
igb2         Ethernet             unknown    0      half      igb2
igb0         Ethernet             up         1000   full      igb0
igb3         Ethernet             unknown    0      half      igb3
igb1         Ethernet             unknown    0      half      igb1


dladm create-vnic -l igb0 fred
zfs create -o mountpoint=/zones rpool/zones

/usr/sbin/zonecfg -z fred

create
set zonepath=/zones/fred
set autoboot=true
set limitpriv=default,dtrace_proc,dtrace_user
set ip-type=exclusive
add net
set physical=fred
end
verify
commit
exitz
oneadm -z fred install
zoneadm -z fred boot
zlogin -e+ -C fred

dladm show-vnic
LINK         OVER         SPEED  MACADDRESS        MACADDRTYPE         VID
fred      ?            1000   2:8:20:f4:52:49   random              0

ipadm create-if fred

ipadm create-addr -T static -a 192.168.240.214/24 fred/v4static
route -p add default 192.168.240.254

ping 192.168.240.214
192.168.240.214 is alive
ping 192.168.240.254
no answer from 192.168.240.254


ifconfig  
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu
8232 index 1
    inet 127.0.0.1 netmask ff000000
fred: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
    inet 192.168.240.214 netmask ffffff00 broadcast 192.168.240.255
    ether 2:8:20:f4:52:49
lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu
8252 index 1
    inet6 ::1/128
fred: flags=20002000840<RUNNING,MULTICAST,IPv6> mtu 1500 index 2
    inet6 ::/0
    ether 2:8:20:f4:52:49


What am I missing :-(

Cheers
Richard


More information about the OmniOS-discuss mailing list