[OmniOS-discuss] Zone network fails to work.
Richard Skelton
skeltonr at btconnect.com
Mon Sep 12 20:35:33 UTC 2016
Sorry in my haste I posted fred not fred5
See corrections below :-)
Richard Skelton wrote:
> Hi,
> I have a Sun X4170 with igb network.
> I am using omnios-r151018-ae3141d
> Here are my steps to create a zone called fred5 :-
> 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 fred5
> zfs create -o mountpoint=/zones rpool/zones
>
> /usr/sbin/zonecfg -z fred5
>
> create
> set zonepath=/zones/fred5
> set autoboot=true
> set limitpriv=default,dtrace_proc,dtrace_user
> set ip-type=exclusive
> add net
> set physical=fred5
> end
> verify
> commit
> exitz
> oneadm -z fred5 install
> zoneadm -z fred5 boot
> zlogin -e+ -C fred5
>
> dladm show-vnic
> LINK OVER SPEED MACADDRESS MACADDRTYPE VID
> fred5 ? 1000 2:8:20:f4:52:49 random 0
>
> ipadm create-if fred5
>
> ipadm create-addr -T static -a 192.168.240.214/24 fred5/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
> fred5: 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
> fred5: flags=20002000840<RUNNING,MULTICAST,IPv6> mtu 1500 index 2
> inet6 ::/0
> ether 2:8:20:f4:52:49
>
>
> What am I missing :-(
>
> Cheers
> Richard
> _______________________________________________
> OmniOS-discuss mailing list
> OmniOS-discuss at lists.omniti.com
> http://lists.omniti.com/mailman/listinfo/omnios-discuss
>
More information about the OmniOS-discuss
mailing list