Sol 10 zones routing issue

From: Aaron Taylor (kusoneko@gmail.com)
Date: Wed Jan 11 2006 - 12:55:10 EST


I've got a small issue here. We've got an E3500 that serves up a couple
zones for different development services. The root zone has connections to
two private and one public subnets. It's default gateway is a router on the
public subnet. The cvs zone has a connection to one private subnet.

The issue is that the cvs zone isn't on the subnet that the root zone has
it's default gw on and therefore doesn't get a default gw of it's own on
bootup.

For example:

>>>>>>>>>>>>>>>>>>>>
-bash-3.00# uname -a
SunOS zones0 5.10 Generic_118822-23 sun4u sparc SUNW,Ultra-Enterprise
-bash-3.00# netstat -rn

Routing Table: IPv4
  Destination Gateway Flags Ref Use Interface
-------------------- -------------------- ----- ----- ------ ---------
192.168.0.0 192.168.0.233 U 1 5 hme0
192.168.2.0 192.168.2.6 U 1 25 hme2
xxx.yyy.zzz.0 xxx.yyy.zzz.aaa U 1 1953 hme1
224.0.0.0 192.168.0.233 U 1 0 hme0
default xxx.yyy.zzz.1 UG 1 4228
127.0.0.1 127.0.0.1 UH 1 0 lo0
bash-3.00# zlogin cvs
[Connected to zone 'cvs' pts/2]
Last login: Wed Jan 11 09:40:16 on pts/2
Sun Microsystems Inc. SunOS 5.10 Generic January 2005
# bash
bash-3.00# uname -a
SunOS cvs 5.10 Generic_118822-23 sun4u sparc SUNW,Ultra-Enterprise
bash-3.00# netstat -rn

Routing Table: IPv4
  Destination Gateway Flags Ref Use Interface
-------------------- -------------------- ----- ----- ------ ---------
192.168.0.0 192.168.0.11 U 1 0 hme0:1
224.0.0.0 192.168.0.11 U 1 0 hme0:1
127.0.0.1 127.0.0.1 UH 1 0 lo0:1
>>>>>>>>>>>>>>>>>>>>

The default gw for the root zone has to be on the public IP for a couple of
network services to work(eg: https, etc). How do I tell the cvs zone what
gefault gw to use on it's private subnet?

--
Thanks,
   -Aaron Taylor
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers


This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:38:25 EDT