While you can do this, as already answered, you don't need to.

It is perfectly possible, although somewhat uncommon, to assign more than
one IP-address in seperate IP networks to the same ethernet port.  For LDom
guests, you only need to make sure that the interface you're using is
actually connected to both networks.  It will work, without any additional
vlan/vswith magic.

Without LDoms, you could do something like this:

ifconfig e1000g0:1 plumb
ifconfig e1000g0:1 11.11.116.1 netmask 255.255.255.0 up
ifconfig e1000g0:2 plumb
ifconfig e1000g0:2 11.11.117.1 netmask 255.255.255.0 up

I hope I didn't add additional confusion, but I thought this would be
helpful background.

stefan


Tony MacDoodle wrote:
> I have 2 Guest domains that access 2 different networks:
> 11.11.116.0
> 11.11.117.0
> 
> Is it possible to route these 2 guest domain addresses through one
> virtual switch? This means 1 physical nic port will be mapped to a
> virtual switch and VLAN tagged?
> 
> IS this possible or do I have to stick with a 1:1 ratio of physical
> interfaces to network addresses?
> 
> ie:
> e1000g0 - vsw0 - 11.11.116.0
> e1000g1 - vsw1 - 11.11.117.0
> 
> Thanks
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> ldoms-discuss mailing list
> ldoms-discuss at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/ldoms-discuss

-- 
Stefan Hinker
Systems LOB - Systems & Performance
Sun Microsystems GmbH               Tel: +49 6103 752-300
Brandenburger Str. 2-6              Stefan.Hinker at Sun.COM
D-40880 Ratingen                    http://www.sun.de/

Performance Considerations: http://wikis.sun.com/x/yIAeBQ
               http://blogs.sun.com/cmt
---------------------------------------------------------------------------
Sitz der Gesellschaft: Sun Microsystems GmbH, Sonnenallee 1,
D-85551 Kirchheim-Heimstetten
Amtsgericht Muenchen: HRB 161028
Geschaeftsfuehrer: Thomas Schroeder, Wolfgang Engels
Vorsitzender des Aufsichtsrates: Martin Haering
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 6110 bytes
Desc: S/MIME Cryptographic Signature
URL: 
<http://mail.opensolaris.org/pipermail/ldoms-discuss/attachments/20100205/9ee15567/attachment.bin>

Reply via email to