Skip Ramsay
2007-Nov-21 17:54 UTC
[crossbow-discuss] help configuring a ce trunk for use by nonglobal zones
I am trying to configure a V890 to have a management port on 1 network using the onboard eri and 2 nonglobal zones each using a ce port on another network. Do the the constraint of the ce NIC not being GLDv3, I have created a trunk consisting of ce0 and ce1 in the global zone. This should create a fat pipe in the global zone which both nonglobal zones can effectively share. Because I don''t want the global zone to have it''s own IP addr on this second network, I have added a startup script (S98xxx) which simply plumbs the trunk head. When zone boots, the zone IP is established (Shared IP) and all is well - so far ... The problem is that the nonglobal zones needs a default route to work. I tried putting a route add default script in a S99xxx file hoping that it would be picked up after the the zone boots but no joy. I can manually add the route add default command but how or where can I get it into the system startup? tia -skip -- <http://www.sun.com> * Skip Ramsay Data Center Technologist - Communications Sector * *Sun Microsystems, Inc.* 199 Forest Street Marlborough, MA 01752 US Phone x21340/+1 781 442 1340 FAX 651-846-5487 Mobile 508-641-7547 Email Skip.Ramsay at Sun.COM <http://www.sun.com>
Fritz.Wittwer at swisscom.com
2007-Nov-26 06:50 UTC
[crossbow-discuss] help configuring a ce trunk for use by nonglobalzones
Hi Skip, I have a similar setup, I solved this by bringing the interface up with an valid address from a local zone first, then add the default route for this address and afterwards assigning the address 0.0.0.0 # temporarily assigns an address so we can add the default route ifconfig ce3 <LocalZoneIP>/27 deprecated route add default <LocalZoneDefaultRoute> # remove the address again ifconfig ce3 0.0.0.0 So I end up with an interface with more than one default route, but the global zone does not use it at all, and each local zone has only one valid default route. Fritz -----Original Message----- From: crossbow-discuss-bounces at opensolaris.org [mailto:crossbow-discuss-bounces at opensolaris.org] On Behalf Of Skip Ramsay Sent: Wednesday, November 21, 2007 6:55 PM To: crossbow-discuss at opensolaris.org Subject: [crossbow-discuss] help configuring a ce trunk for use by nonglobalzones I am trying to configure a V890 to have a management port on 1 network using the onboard eri and 2 nonglobal zones each using a ce port on another network. Do the the constraint of the ce NIC not being GLDv3, I have created a trunk consisting of ce0 and ce1 in the global zone. This should create a fat pipe in the global zone which both nonglobal zones can effectively share. Because I don''t want the global zone to have it''s own IP addr on this second network, I have added a startup script (S98xxx) which simply plumbs the trunk head. When zone boots, the zone IP is established (Shared IP) and all is well - so far ... The problem is that the nonglobal zones needs a default route to work. I tried putting a route add default script in a S99xxx file hoping that it would be picked up after the the zone boots but no joy. I can manually add the route add default command but how or where can I get it into the system startup? tia -skip -- <http://www.sun.com> * Skip Ramsay Data Center Technologist - Communications Sector * *Sun Microsystems, Inc.* 199 Forest Street Marlborough, MA 01752 US Phone x21340/+1 781 442 1340 FAX 651-846-5487 Mobile 508-641-7547 Email Skip.Ramsay at Sun.COM <http://www.sun.com> _______________________________________________ crossbow-discuss mailing list crossbow-discuss at opensolaris.org http://mail.opensolaris.org/mailman/listinfo/crossbow-discuss
Skip Ramsay
2007-Nov-26 11:21 UTC
[crossbow-discuss] help configuring a ce trunk for use by nonglobalzones
Thanks Fritz! That sounds like it will work perfectly! I''ll try it today. Where did you put theses commands, ie. rc2.d/S99xxx or rc3.d/S99xxx ? -skip Fritz.Wittwer at swisscom.com wrote:> Hi Skip, > I have a similar setup, > > I solved this by bringing the interface up with an valid address from a > local zone first, then add the default route for this address and > afterwards assigning the address 0.0.0.0 > > > # temporarily assigns an address so we can add the default route > ifconfig ce3 <LocalZoneIP>/27 deprecated > > route add default <LocalZoneDefaultRoute> > # remove the address again > ifconfig ce3 0.0.0.0 > > > So I end up with an interface with more than one default route, but the > global zone does not use it at all, and each local zone has only one > valid default route. > > > Fritz > > > > -----Original Message----- > From: crossbow-discuss-bounces at opensolaris.org > [mailto:crossbow-discuss-bounces at opensolaris.org] On Behalf Of Skip > Ramsay > Sent: Wednesday, November 21, 2007 6:55 PM > To: crossbow-discuss at opensolaris.org > Subject: [crossbow-discuss] help configuring a ce trunk for use by > nonglobalzones > > I am trying to configure a V890 to have a management port on 1 network > using the onboard eri and 2 nonglobal zones each using a ce port on > another network. Do the the constraint of the ce NIC not being GLDv3, I > have created a trunk consisting of ce0 and ce1 in the global zone. This > should create a fat pipe in the global zone which both nonglobal zones > can effectively share. Because I don''t want the global zone to have > it''s own IP addr on this second network, I have added a startup script > (S98xxx) which simply plumbs the trunk head. When zone boots, the zone > IP is established (Shared IP) and all is well - so far ... > > The problem is that the nonglobal zones needs a default route to work. > I tried putting a route add default script in a S99xxx file hoping that > it would be picked up after the the zone boots but no joy. I can > manually add the route add default command but how or where can I get it > into the system startup? > > tia > -skip > >-- <http://www.sun.com> * Skip Ramsay Data Center Technologist - Communications Sector * *Sun Microsystems, Inc.* 199 Forest Street Marlborough, MA 01752 US Phone x21340/+1 781 442 1340 FAX 651-846-5487 Mobile 508-641-7547 Email Skip.Ramsay at Sun.COM <http://www.sun.com>