SUMMARY: Zones, Mac Addresses

From: Lally Singh <lally.singh_at_gmail.com>
Date: Tue Jul 29 2008 - 12:25:44 EDT
Thanks to:
  Emmanuel Mejias
  Dennis Clarke
  D. Ratliff
  Hendrik Visage
  Francisco Roque
  and Matthew Stier

Question: Can you run multiple zones off of a single NIC, all sharing
the same MAC address?

Answer: YES.  Set up virtual NICs with different IPs, and give them
all the same MAC address.  Solaris will do the right thing.

Documentation Links: (This is all quoted)

http://www.sun.com/software/solaris/howtoguides/containersLowRes.jsp

In particular: http://docs.sun.com/app/docs/doc/817-1592/z.conf.start-29?a=view
contains a section on how to set up a zone.

The zonecfg(1M) man page has more info as well:
http://docs.sun.com/app/docs/doc/816-5166/zonecfg-1m?a=view

as does the zones(5) man page:
http://docs.sun.com/app/docs/doc/816-5175/zones-5?a=view

Configuration help:
I have some experience with this.

get a list of your zones with

   zoneadm list -vc

get the config for a zone with

   zonecfg -z zonename info

then setup exclusive mode ip if needed.

better yet .. run snoop to verify your MAC address data and you shoudl
see the same MAC for all your traffic from that one NIC

Thanks again everyone!

-- 
H. Lally Singh
Ph.D. Candidate, Computer Science
Virginia Tech
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Tue Jul 29 12:33:50 2008

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:44:11 EST