Zones: Exclusive IP question


 
Thread Tools Search this Thread
Operating Systems Solaris Zones: Exclusive IP question
# 1  
Old 11-07-2011
Zones: Exclusive IP question

Hi there

when setting my zone config file up, I would naturally set 'set ip-type=exclusive' but I wanted to know, whether on the 'set physical=' line whether I could use a virtual interface that ive created in the global zone such as bge0:1.

for example


Code:
 
create -b
set zonepath=/zones/server01
set autoboot=true
set ip-type=exclusive
add net
set physical=bge0:1
end

traditionally, i have always either used the read physical, thus truly dedicating the whole port to the zone, or used vlan tagged interface which both work fine. Would a Virtual Nic work OK as well ?

ps; i dont currently have a server to test this on hence why im on here Smilie
# 2  
Old 11-07-2011
Never tried before if your system is not critical or non production environment give it a try if it complains then this is might not be possible if everything goes okay then it works.
Please share with us your experiment with us.

---------- Post updated at 10:17 PM ---------- Previous update was at 10:14 PM ----------

I believe it's possible have a look here.
# 3  
Old 11-07-2011
No. You can't use a virtual interface like bge0:1. Exclusive precisely means the interface is wholly owned by the zone and virtual interface, sharing its stack with its underlying physical one, can't fulfill the requirement.
With OpenSolaris/Solaris 11 (Express) and crossbow, you can create a vnic an dedicate it to a zone.
# 4  
Old 11-08-2011
Quote:
Originally Posted by jlliagre
No. You can't use a virtual interface like bge0:1. Exclusive precisely means the interface is wholly owned by the zone and virtual interface, sharing its stack with its underlying physical one, can't fulfill the requirement.
With OpenSolaris/Solaris 11 (Express) and crossbow, you can create a vnic an dedicate it to a zone.
Thanks, you mention you cannot share the underlying stack, but ive got this working with vlan tagged interfaces on the same physical interfacae

so for example on bge1

I can create for vlan 123 and 456 the following interfaces and exclusive IP both of them

bge1230001
bge4560001

and this works fine, does this not use the same underlying stack ?
# 5  
Old 11-08-2011
It is not. VLAN interfaces do not share the same stack by definition, the idea being precisely to isolate data. What is shared is the physical interface.
# 6  
Old 11-08-2011
thanks Guys
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

How to create a Solaris local zone with an exclusive NIC?

I'm trying to migrate a Solaris 10 flar archive from a Sun M3000 to a T4-1. When I first created the zone I followed the Oracle instructions here: Transitioning an Oracle Solaris 10 Instance to an Oracle Solaris 11 System - Transitioning From Oracle Solaris 10 to Oracle Solaris 11 That worked... (6 Replies)
Discussion started by: Michele31416
6 Replies

2. UNIX for Dummies Questions & Answers

Exclusive access for few IPs to NTP device

How to provide a client exclusive access to the NTP device or NTP server. Example: 1. Configured md5 authentication for a subnet added below restriction line to the subnet as below in ntp.conf file. Also configured the keys and md5 authentication working . restrict 192.168.1.0 mask... (1 Reply)
Discussion started by: iqtan
1 Replies

3. UNIX for Advanced & Expert Users

Mutually Exclusive Autosys jobs

Hi I have 2 autosys jobs (JobA and JobB) both are in different boxes but part of one big box. I want to make them mutually exclusive so that when JobA is running then JobB should not run and wait for jobA to finish/fail/terminate and vice versa. Both jobs have their own starting conditions... (1 Reply)
Discussion started by: SPJ47
1 Replies

4. Solaris

Can any one explain me Shared-IP and Exclusive IP ??

Hi All, I want to know what is shared-IP and exclusive-IP while configuring zone? How the global zone and non-global communicate with each other? When I do ifconfig -a on my machine it shows below output My doubt is they are physical and virtual interfaces in below output what is... (8 Replies)
Discussion started by: vijaysachin
8 Replies

5. Solaris

Question - zones / zonecfg

Hi all Can someone give me a quick `simple man` run down on the various FS types / paramters which you need to configure. E.g. special, raw, match, type I understand raw, the raw filesystem, type is the lofs, zfs,ufs, but match ? special ? When would you use lofs, over ufs... (0 Replies)
Discussion started by: sbk1972
0 Replies

6. UNIX for Dummies Questions & Answers

extract text between two strings exclusive

Hi, I'm trying to retrieve text between two strings excluding the two strings. So for example I have the following input: type=friend username=phone1 secret=password host=dynamic dtmfmode=rfc2833 mailbox=9664 context=sip insecure=very canreinvite=no nat=yes realm=192.168.1.122... (3 Replies)
Discussion started by: the1armedcoder
3 Replies

7. Solaris

[Solaris 10]Zones and exclusive ip

Hello, I have a V120 server with two network interfaces. I would like to use one of them in my non global zone. I set the "ip-type=exclusive" as described here Solaris 10 8/07: Exclusive-IP Non-Global Zones (System Administration Guide: Solaris Containers-Resource Management and Solaris Zones) -... (2 Replies)
Discussion started by: Tex-Twil
2 Replies

8. Linux

Non exclusive sound device access!!

Hi, I was wondering if any of you guys know of way to make applications that use sound device on linux to access it in a "non-exclusive manner", the aim is to be able to use more than one application that requires the sound device. Thanks (0 Replies)
Discussion started by: andryk
0 Replies
Login or Register to Ask a Question

Featured Tech Videos