Changes

Jump to: navigation, search

Solaris zones virtual networking with NAT

22 bytes added, 10:30, 22 February 2019
no edit summary
[[Category:Solaris]]
[[Category:Networking]]
# prepare Prepare the GZ; net2 is the interface connected to the Internet.
dladm create-etherstub ether0
dladm create-vnic -l ether0 vnic0
# in sys-config set up vnic1/v4 10.0.0.2/8 with 10.0.0.1 as default router.
Delete the zone .
zoneadm -z for-sysroot shutdown
zoneadm -z for-sysroot uninstall -F
dladm delete-vnic vnic1
Restore GZ to original state .
routeadm -u -d ipv4-forwarding
ipadm delete-addr vnic0/v4

Navigation menu