Re: [zones-discuss] Zones and Routing

2007-08-01 Thread John-Paul Drawneek
run screaming to opensolaris b60 or higher and get ip-instances for your zones.

had this problem for 2yrs, never found a bodge that work.

set your zones to ip-exclusive and they get there own default route.

What nics you got in the box?  That was my main problem is waiting for gl3 
driver for my nics

hope this helps
 
 
This message posted from opensolaris.org
___
zones-discuss mailing list
zones-discuss@opensolaris.org


Re: [zones-discuss] Zones and Routing

2007-08-01 Thread James Carlson
Robert Smicinski writes:
> The route for network A -> network C is different than the route for network 
> B -> network C.
[...]
> What's up with that?  Is there only one routing table?

Yes.

> Can I force a zone to use a specific route and interface?

Only if you use an exclusive stack instance.  See the "ip-type"
property in zonecfg(1M).

(Are you running an OpenSolaris-based distribution?  If so, then if
you have a recent enough build, you should already have this feature.)

-- 
James Carlson, Solaris Networking  <[EMAIL PROTECTED]>
Sun Microsystems / 1 Network Drive 71.232W   Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757   42.496N   Fax +1 781 442 1677
___
zones-discuss mailing list
zones-discuss@opensolaris.org


Re: [zones-discuss] Zones and Routing

2007-08-01 Thread Jeff Victor
Robert Smicinski wrote:
> Hi all,
> 
> We have a machine on 2 networks (network A and network B) with 2 separate
> ethernet ports.
> 
> We are creating zones that need to get to network C.
> 
> The route for network A -> network C is different than the route for
> network B -> network C.
> 
> When I create a zone that's on network A, and add the default route to it,
> it works fine. When I create a zone that's on network B, and add the
> default route to it (so in the global zone, I have 2 default routes),
> routing gets all futzed up in the zones.
> 
> It does really fun things when I do "route get" in the zone, like showing
> me interfaces that don't exist in the zone, and seemingly trying to route
> traffic over this phantom interface.
> 
> What's up with that?  Is there only one routing table?  Can I force a zone
> to use a specific route and interface?

In Solaris 10, up through (and including) update 11/06, there is only one 
routing table for all zones in a system.  This can make it difficult to 
accomplish non-trivial routing.

Solaris 10 update 4 (to be available soon) includes many improvements to 
zones.  One of them is called "IP Instances."  It allows a platform 
administrator to configure a zone with exclusive access to a NIC.  Along with 
that comes the ability for the zone administrator (root user in the zone) to 
configure its own network information, including IP address, routing, naming, 
etc.  This will allow you to do what you are trying to do.


--
Jeff VICTOR  Sun Microsystemsjeff.victor @ sun.com
OS AmbassadorSr. Technical Specialist
Solaris 10 Zones FAQ:http://www.opensolaris.org/os/community/zones/faq
--
___
zones-discuss mailing list
zones-discuss@opensolaris.org


[zones-discuss] Zones and Routing

2007-08-01 Thread Robert Smicinski
Hi all,

We have a machine on 2 networks (network A and network B) with 2 separate 
ethernet ports.

We are creating zones that need to get to network C.

The route for network A -> network C is different than the route for network B 
-> network C.

When I create a zone that's on network A, and add the default route to it, it 
works fine.
When I create a zone that's on network B, and add the default route to it (so 
in the global zone, I have 2 default routes), routing gets all futzed up in the 
zones.

It does really fun things when I do "route get" in the zone, like showing me 
interfaces that don't exist in the zone, and seemingly trying to route traffic 
over this phantom interface.

What's up with that?  Is there only one routing table?  Can I force a zone to 
use a specific route and interface?

- Bob


___
zones-discuss mailing list
zones-discuss@opensolaris.org