Network between zones
Hi
I wondered if it is possible to send IP packages between zones. I have tried but when i ping the global zone from a non-global(destroy-zone) zone displays host unreachable. All of this is because i want to have an nfs server in the global zone and nfs client in the non-global, the purpose is to test some commands in the same computer because i don't have another one. :) Maybe this output can help: *-----------------------------------------------* * destroy-zone * *-----------------------------------------------* # zoneadm list destroy-zone # ifconfig -a lo0:1: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1 inet 127.0.0.1 netmask ff000000 rtls0:1: flags=201000803<UP,BROADCAST,MULTICAST,IPv4,CoS> mtu 1500 index 2 inet 192.168.200.2 netmask ffffff00 broadcast 192.168.200.255 # netstat -rn Routing Table: IPv4 Destination Gateway Flags Ref Use Interface -------------------- -------------------- ----- ----- ---------- --------- 192.168.200.0 192.168.200.2 U 1 20 rtls0:1 224.0.0.0 192.168.200.2 U 1 0 rtls0:1 127.0.0.1 127.0.0.1 UH 1 34 lo0:1 *-----------------------------------------------* * global zone * *-----------------------------------------------* # zoneadm list global destroy-zone # 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 destroy-zone inet 127.0.0.1 netmask ff000000 rtls0: flags=201000802<BROADCAST,MULTICAST,IPv4,CoS> mtu 1500 index 2 inet 192.168.200.3 netmask ffffff00 broadcast 192.168.200.255 ether 8:0:46:ee:86:ac rtls0:1: flags=201000803<UP,BROADCAST,MULTICAST,IPv4,CoS> mtu 1500 index 2 zone destroy-zone inet 192.168.200.2 netmask ffffff00 broadcast 192.168.200.255 lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu 8252 index 1 inet6 ::1/128 rtls0: flags=202004801<UP,MULTICAST,DHCP,IPv6,CoS> mtu 1500 index 2 inet6 fe80::a00:46ff:feee:86ac/10 ether 8:0:46:ee:86:ac # netstat -rn Routing Table: IPv4 Destination Gateway Flags Ref Use Interface -------------------- -------------------- ----- ----- ---------- --------- 224.0.0.0 127.0.0.1 U 1 0 lo0 127.0.0.1 127.0.0.1 UH 8 259 lo0 Routing Table: IPv6 Destination/Mask Gateway Flags Ref Use If --------------------------- --------------------------- ----- --- ------- ----- fe80::/10 fe80::a00:46ff:feee:86ac U 1 0 rtls0 ff00::/8 fe80::a00:46ff:feee:86ac U 1 0 rtls0 ::1 ::1 UH 1 41 lo0 |
Quote:
The issue in your case is that the network interface is down in the global zone. You can fix that with: Code:
ifconfig rtls0 up |
Thanks i will do it
|
All times are GMT -5. The time now is 11:37 PM. |