I managed to add the route using a temporary IP in the subnet, however still cannot ping the zone, not even from its global zone. Here are the routes I am seeing in the global zone :

Routing Table: IPv4
Destination Gateway Flags Ref Use Interface -------------------- -------------------- ----- ----- ---------- ---------
default              xx.121.24.254        UG        1       2106
default              xx.121.41.254        UG        1          0
xx.121.24.0          xx.121.24.211        U         1        136 vfe0
224.0.0.0            xx.121.24.211        U         1          0 vfe0
127.0.0.1            127.0.0.1            UH        1          0 lo0

and here are the routes seen from the zone :

Routing Table: IPv4
Destination Gateway Flags Ref Use Interface -------------------- -------------------- ----- ----- ---------- ---------
xx.121.41.77         xx.121.41.77         UH        1          0 vfe0:1
224.0.0.0            xx.121.41.77         U         1          0 vfe0:1
127.0.0.1            127.0.0.1            UH        1          0 lo0:1

If needed I could use IP instances (I'm running Solaris 10 Update 5), but have only one physical ethernet interface, is that possible ?

Thanks for your help,
Alain


On Jun 5, 2008, at 1:32 AM, Erik Nordmark wrote:

Alain Durand wrote:
Thanks for your answer, I might be missing something obvious, but how
can I add this route ?

(global zone) # route add default xx.121.41.254
add net default: gateway xx.121.41.254: Network is unreachable

I forgot about that part.
The common way is to add the route while you have a temporary IP address
in the global zone, and then remove it.
E.g.,
        ifconfig vfe0 addif xx.121.41.254.77/24 up
        route add default xx.121.41.254
        ifconfig vfe0 removeif xx.121.41.254.77
and then boot the zone.

   Erik
_______________________________________________
zones-discuss mailing list
zones-discuss@opensolaris.org

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

Reply via email to