Currently, it is to hold a single problem resolution that I ran into.
Unfortunately... it didnt seem to work. No interface was automatically configured in the sol10 zone. I tried looking around the net for examples,but all full examples seemed to use "net", instead of "anet".
Interestingly, using the VLAN VNIC as a base worked fine if I specified an old-style "net" resource with "physical=vlanX". But then you lose the full virtualization of the network interface -- ie: the ability to use snoop in the zone. So this was not acceptible to me.
I tried to do the /etc/hostname.net0 approach, but that was failing too.
Poking around /lib/svc/method/net-physical, turned up that it was tweaked
for the zone, and quits if any link-protection-address is set. Which means,
you cannot set "allowed-address", if you want a solaris 10 zone to use the
hostname.net0 approach.
Thus, what worked in zonecfg is as follows:
brand: solaris10 ip-type: exclusive anet: linkname: net0 lower-link: auto allowed-address not specified link-protection mac-nospoof vlan-id: 1234And then in the zone itself,
/etc/hostname.net0 (with usual contents) /etc/netmasks (if appropriate) /etc/defaultrouter (with usual contents)This worked! I now have solaris 10 zones, theoretically in a vlan (although dladm does not seem to show it), and I can use snoop in the solaris 10 zone as well.
Written by:Philip Brown
Bolthole Top -
Back to Solaris
11 top -
Search Bolthole.com