configure zones to have different network interface and network

Thread Tools Search this Thread
Operating Systems Solaris configure zones to have different network interface and network
# 1  
Old 07-19-2011
configure zones to have different network interface and network

i need to configure a zone to use different interface (bge2) than global and have connected to completely different network switch & to use its own defaultrouter and hosts file .. is it possible ..if so ?

# 2  
Old 07-19-2011
yes it is. in zonecfg,
set ip-type=exclusive
add net 
set physical=bge2

don't set the ip and the default router. do it inside the zone.
also make sure the interface is unplumbed from the global zone.

# 3  
Old 07-19-2011
I have seen it done this way.
If the global zone has 2 interfaces set the one your not useing to IP address Then the zone can use that interface but the global zone will not be able to.

I hope this helps.
# 4  
Old 07-19-2011
@bitlord, this method has many disadvantages. It was useful before exclusive IP zones were introduced but has now lost most of its interest.
# 5  
Old 07-19-2011
Thanks for the info. I will have to look into exclusive IP zones. Can you tell me the disadvantages of the way I do it. This way I can learn from you.
# 6  
Old 07-19-2011
With shared IP interfaces, you cannot prevent the global zone from doing whatever it wants like capturing the traffic and configuring the zone interface. There is no real isolation. The non global zone has basically no control and cannot even snoop its own (virtual) interface.
With exclusive IP interfaces, the global zone doesn't see the physical interface. The non global zone has full control, can plumb the interface, set its IP statically or dynamically, snoop its traffic, manage routing, and so on.
This User Gave Thanks to jlliagre For This Post:
# 7  
Old 07-20-2011
Thanks for the info jlliagre.
I will look into doing it your way. I can't use snoop at work but the other stuff might be really useful.

Last edited by bitlord; 07-21-2011 at 09:22 AM.. Reason: error
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Network / global zones (Solaris 10 / 8) config recommendations

I have a few non-globa zones running in a 10.10.xx.xx network on a machine that is on a 192.168.xx.xx network. My goal is to allow each of the non-global zones to communicate to each other while not communicating on the 192.168.xx.xx network. I am using the current version of Solaris 10 in... (7 Replies)
Discussion started by: BradJM
7 Replies

2. UNIX for Dummies Questions & Answers

Adding a network interface to a bonded interface

I have a RHEL 5 system with a bonded interface configure using only one network port (eth0). So I have config file for ifcfg-bond0 and ifcfg-eth. I'd like to configure eth5 to be the second SLAVE in the bond. My question is, after I modify ifcfg-eth5, can I add eth5 to the bond0 interface without... (1 Reply)
Discussion started by: westmoreland
1 Replies

3. Solaris

No network cable But Network interface is UP and Running

I've one Netra 240 After changing main board and system configuration card reader, Network is not accessible any more, Network interfaces are always UP and Running even when there is no cable connected to Network interfaces. I tried to restart and plumb/unplumb with no luck. ifconfig -a... (7 Replies)
Discussion started by: samer.odeh
7 Replies

4. IP Networking

network interface -

Hello, Please, how can i create a network interface with a routable IP address on linux (ubuntu) ? AND How can i desactivate an interface? Thank you so much for help. (1 Reply)
Discussion started by: chercheur857
1 Replies

5. IP Networking

Network interface-

Hello, Please what's the difference between: AND Thank you so much (3 Replies)
Discussion started by: chercheur857
3 Replies

6. UNIX and Linux Applications

Access to network interface (Mac-network)

Hi, I'm a italian student. For my thesis I develop a gateway with protocol 6lowpan. For that I must access to network interface to develope my personal stack based on standard 802.15.4. Can you help me? I need an explanation for that. (0 Replies)
Discussion started by: berny88
0 Replies

7. Solaris

Configure network interface for Solaris 10

Hi, I have installed Solaris 10 on VMware7, When i used ifconfig -a to check network interface, it has shown lo0 as loopback interface. Please advise how to configure network interfaces using VMware. (1 Reply)
Discussion started by: ajhal04
1 Replies

8. Red Hat

How to configure network interface card in OEL.

Hi I have installed OEL 4 on my dell XPS laptop. But when i connect the LAN cable and try to acesss internet. it does not work. the led's in the port do not blink when i plug in the cable .do i need some drivers please suggest. Thanks Ankur (2 Replies)
Discussion started by: ankurk
2 Replies

9. UNIX for Advanced & Expert Users

network interface problem

Hi expert, Need some help on network interface issue.. I have added 2 x NIC card onto the Ultra 2 system recently and configured as hme1 and hme2. I have unconfigured the onboard hme0 network interface and it was running fine till few days later, i keep recieving error messages showing hme0... (6 Replies)
Discussion started by: sc2005
6 Replies

10. UNIX for Dummies Questions & Answers

Network Interface

Hi ! Does anyone know how can i get information about my network interface ... if it works in half or full duplex mode !! Thx in adivance ! Witt (4 Replies)
Discussion started by: witt
4 Replies
Login or Register to Ask a Question