...
For this purpose we will create a virtual software switch (etherstub) and name it, for example, vsw0:
Code Block |
---|
root@dilos:~# dladm create-etherstub vsw0 dladm set-linkprop -p mtu=1500 vsw0 |
After that we have to create an interface (end point) for this etherstub in the form of VNIC instead of physical cable connected to a physical NIC and name it, for example, int0 and then connect it to the etherstub vsw0 and check that everything is created:
...
Code Block |
---|
root@dilos:~# routeadm -u -e ipv4-forwarding
root@dilos:~# routeadm
Configuration Current Current
Option Configuration System State
---------------------------------------------------------------
IPv4 routing disabled disabled
IPv6 routing disabled disabled
IPv4 forwarding enabled enabled
IPv6 forwarding disabled disabled
Routing services "route:default ripng:default"
Routing daemons:
STATE FMRI
disabled svc:/network/routing/ripng:default
online svc:/network/routing/ndp:default
disabled svc:/network/routing/legacy-routing:ipv4
disabled svc:/network/routing/legacy-routing:ipv6
disabled svc:/network/routing/rdisc:default
disabled svc:/network/routing/route:default
root@dilos:~# dladm set-linkprop -p mtu=1500 vsw0 |
Now it is enabled, configure the first zone to test the result. The full zone installation procedure is described here and you can do it. Below is just some significant points that should be done for network configuration:
...