In message <1481154627.91285535031577.javamail.tweb...@sf-app1>, Orvar Korvar w
rites:
>Ok, so I shut down e1000g0 which means my global zone can not access internet.
> The local zone will have e1000g0:1 which I do not shut down, which means the 
>local zone can access internet. Correct?

Works for me.

# ifconfig e1000g0 |grep inet
inet 192.168.1.2 netmask ffffff00 broadcast 192.168.1.255
# zonecfg -z foo export
create -b
set zonepath=/var/opt/zones/foo
set brand=ipkg
set autoboot=false
set ip-type=shared
add net
set address=192.168.1.3/24
set physical=e1000g0
set defrouter=192.168.1.1
end
# ifconfig e1000g0:1
e1000g0:1: flags=1100843<UP,BROADCAST,RUNNING,MULTICAST,ROUTER,IPv4> mtu 1500 
index 2
        zone foo
        inet 192.168.1.3 netmask ffffff00 broadcast 192.168.1.255
# ifconfig e1000g0 down


John
groenv...@acm.org

_______________________________________________
zones-discuss mailing list
zones-discuss@opensolaris.org

Reply via email to