Paul van der Zwan writes:
> service address=10.1.1.1
> default gateway=192.168.1.254
> zone1 on host1 has 192.168.1.1 on bge0 and 10.1.1.1 on vni0
> zone1 on host2 has 192.168.1.2 on bge0 and 10.1.1.1 on vni0

That looks like a variant on the original design target for vni, so
I'd expect it to work.

> The loadbalancer routes 10.1.1.1 traffic for session1 to 192.168.1.1
> Would traffic from zone1 be able to go out to the internet using the  
> default gateway
> 192.168.1.254 with a source of 10.1.1.1 or would the source become  
> 192.168.1.1 ( even if
> the application binds to 10.1.1.1 ) ?

Yes, it should be able to reach that router because the configuration
of bge0 in the zone gives it access to that subnet.

No, the system never alters a chosen source address.  The only time we
ever pick a source address is when the application itself has not
chosen one -- either it hasn't called bind() at all, or it has called
bind() and supplied an all-zeros address.

> Is there some documentation on the routing in Solaris 10 esp. in  
> combination with zones ?

Besides the man pages and docs.sun.com, there's some useful
information in the FAQ:

  http://www.opensolaris.org/os/community/zones/faq/#cfg_io

-- 
James Carlson, Solaris Networking              <[EMAIL PROTECTED]>
Sun Microsystems / 35 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

Reply via email to