On 25/01/2010 21:38, Christine Tran wrote:
> On Mon, Jan 25, 2010 at 4:24 PM, Enda O'Connor<Enda.Oconnor at sun.com>  
> wrote:
>
>> so zones depends on multiuser milestone which depends on routing-setup, so
>> if routing-setup depends on zones which depends on multi-user milestone,
>> then to me it appears like a circular dependency.
>>
>> Why would routing-setup depends on zones though, not seeing why
>> routing-setup would need to depend on zones.
>>
>
> Oy, yes.
>
> The reason is for zones of type shared IP on multi-router networks, I
> need to add a static route for them.  route-setup which takes care of
> this, tries to add routes when zones have not booted yet, meaning
> their physical interface is 0.0.0.0, and their virtual interface is
> not plumbed.  So the "route add" doesn't work.  So what happens is the
> box boots, zones boot, and lacks the routing information they need.
>
> We've been having to restart route-setup once zones have finished
> booting, and I was trying to solve this in a short way.  I did not
> like to add another service called "restart_routes_for_zones", it
> seemed clunky.
>
> There's not a state change that will alert route-setup to go back to
> re-add routes if new virtual interfaces are up.  That would be the
> most ideal solution I think.  Right now I think I will have to go with
> my clunker fix.
>
> CT
hmm, I think there is now a default router property in zonecfg, which 
should deal with this I believe. certainly zones cannot depend on 
route-setup me thinks.

cheers
Enda

Reply via email to