Tuesday, September 11, 2012

Set a Netmask in a Zone

Here's how you can setup a netmask in a zone. It's not difficult at all...!

#zonecfg -z zonename

> add net
net> set physical=bge134001
net> set address= (Here's the trick! You'll have to put it this way /24 in order it to work)
net> set defrouter=
net> end

And then you have to reboot the zone:

#zoneadm -z zonename reboot

That's it!!

No comments: