Solaris Zone configuration

So I have a zone, called assist. the server is running, I bound the network adapter to ce3, but it doesn't seem to work. I can't get out to the internet. I can ping the device from the host, but not from my desktop.

here is the network configuration from the zone side:

# ifconfig -a
lo0:1: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
        inet 127.0.0.1 netmask ff000000
ce3:1: flags=1000803<UP,BROADCAST,MULTICAST,IPv4> mtu 1500 index 5
        inet 155.216.1.74 netmask fffffff0 broadcast 155.216.1.79

here is the network configuration on the host side:

ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
        inet 127.0.0.1 netmask ff000000
lo0:1: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
        zone assist
        inet 127.0.0.1 netmask ff000000
ce0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
        inet 155.216.1.71 netmask fffffff0 broadcast 155.216.1.79
        ether 0:3:ba:da:a6:93
ce1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
        inet 155.216.13.72 netmask fffffff0 broadcast 155.216.1.79
        ether 0:3:ba:da:a6:94
ce2: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 4
        inet 155.216.1.73 netmask fffffff0 broadcast 155.216.1.79
        ether 0:3:ba:da:a6:95
ce3: flags=1000803<UP,BROADCAST,MULTICAST,IPv4> mtu 1500 index 5
        inet 0.0.0.0 netmask ff000000
        ether 0:3:ba:da:a6:96
ce3:1: flags=1000803<UP,BROADCAST,MULTICAST,IPv4> mtu 1500 index 5
        zone assist
        inet 155.216.1.74 netmask fffffff0 broadcast 155.216.1.79

The gateway should be 155.216.1.65, I was thinking maybe of trying ce0 instead of ce3 to check if maybe it was a problem with the network.

Looks like ce3 on the global does not have a valid IP address.

ce3: flags=1000803<UP,BROADCAST,MULTICAST,IPv4> mtu 1500 index 5
        inet 0.0.0.0 netmask ff000000
        ether 0:3:ba:da:a6:96

Try something like this.

ifconfig ce3 155.216.1.75 netmask 255.255.255.0 up

from the global. Then your zone should be good.

Make sure to update your /etc/hostname.ce3 file on the global so that it is persistent through reboots or you will lose your IP config on ce3.

Your ce3 interface does not have a link to the network as there is no "RUNNING" status. (see the other interfaces) If you correct this error I'm sure most of your issues will disappear.

2 Likes

I guess it helps to plug in the interface.
thanks.