How To Plumb New IP in The Zone On Fly

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 5

9/23/13 UnixArena: How to plumb new IP in the zone on fly

HOME ALL ARTIC LES SOLARIS 11 LINUX VERITAS VMWARE SHELL SC RIPTS ESX ADVERTISE

Advertise Here

LINUX VMWARE ITIL STORAGE BACKUP UNIX-AIX DATA-CENTER DATA-INFRA DESKTOPS

HOME SOLARIS NETWORKING HOW TO PLUMB NEW IP IN THE ZONE ON FLY

How to plumb new IP in the zone on fly


at 13:37 Lingeswaran R Solaris Networking Zones

As we all know that plumbing a new interface and assigning a IP address in Solaris 10 global zone. Have
you ever added the new IP address in local zone without rebooting it ? Will it work by adding the IP
information in zone's configuration using zonecfg ? No. If you add a any new configuration, in zonecfg
requires a reboot. But oracle offers other ways to plumb the IP in to local zone on the fly.

Here is step by step guide to add a new IP address in local zone.But prior to do that ,we should create
virtual NIC instance in global.

Setup:
Here i am having aggregation aggr1312012 and aggr1312012:1 used by some other instance.
So i need to create aggr1312012:2 for new IP address on the global zone.
Here I am just verifying how many virtual aggregations already exists for aggr1312012.

[root@ global ~]# ifconfig -a |grep -i aggr1312012


aggr1312012: flags=201000842 mtu 1500 index 10
aggr1312012:1: flags=201000843 mtu 1500 index 10

So now we are good to plumb the instance 2 from aggregation aggr1312012.


The new virtual insterface will aggr1312012:2 .

[root@global ~]# ifconfig aggr1312012:2 plumb

Checking the newly created virtual instance

[root@global ~]# ifconfig -a |grep -i aggr1312012


aggr1312012: flags=201000842 mtu 1500 index 10
aggr1312012:1: flags=201000843 mtu 1500 index 10
aggr1312012:2: flags=201000842 mtu 1500 index 10

Login in to local zone and verify the existing IP.

[root@global ~]# zlogin localzone


# ifconfig -a
lo0:6: flags=2001000849 mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
aggr1312012:1: flags=201000843 mtu 1500 index 10
inet 101.10.117.140 netmask ffffffc0 broadcast 101.10.117.191
# exit
[Connection to zone 'localzone' pts/19 closed]

Plumbing the new IP on the fly to local zone

[root@global ~]# ifconfig aggr1312012:2 101.10.117.135 netmask 255.255.255.192 z


one localzone
[root@global ~]# ifconfig aggr1312012:2 up

[root@global ~]# zlogin localzone


[Connected to zone 'localzone' pts/19]
Last login: Thu Jan 12 23:11:57 on pts/19
# ifconfig -a
lo0:5: flags=2001000849 mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
aggr1312012:2: flags=201000843 mtu 1500 index 10
inet 101.10.117.135 netmask ffffffc0 broadcast 101.10.117.191
aggr1312012:1: flags=201000843 mtu 1500 index 10
inet 101.10.117.140 netmask ffffffc0 broadcast 101.10.117.191

www.unixarena.com/2012/07/how-to-plumb-new-ip-in-zone-on-fly.html 1/5
9/23/13 UnixArena: How to plumb new IP in the zone on fly
# exit
[Connection to zone 'localzone' pts/19 closed]
[root@global ~]#

Using zonecfg you can add the new IP information to this zone. So that newly configured IP will be
persist across the reboot.

zonecfg -z Arena-zone
zonecfg:Arena-zone> add net
zonecfg:Arena-zone>set address=101.10.117.135
zonecfg:Arena-zone>set physical=aggr1312012
zonecfg:Arena-zone>end

The same way you can un-plumb the IP address from the local zone and you can remove the
address permanently by removing the entries from zonecfg.

That's all here. Thank you for reading this article. Please leave a comment if you have any doubt.I will get
back to you.

You might also like:


How to configure IPMP on Solaris 10 ?
Solaris 11 - New Features & Capabilities of Zones
Solaris Zone(Containers) - Interview Questions
How to find the Solaris global zone from local zone using script
LinkWithin

0 comments 0

Leave a message...

Best Community Share

No one has commented yet.

Su b s cri b e d Ad d D i s q u s to yo u r s i te

Newer Post Older Post Home


SEARCH UNIX-ARENA
Loading...

SPONSORS

FOLLOW
UNIXARENA
ON
Advertise Here FACEBOOK

Get RSS
Feed from
FeedBurner

FREE WHITEPAPERS/WEBCASTS

Improving the Candidate Experience


Linux Virtual Memory Manager
Advance Bash-Scripting
Securing & Optimizing Linux-Hacking Solution
Oracle Magazine - How to Articles
MS Excel 2013 Tips & Tricks

www.unixarena.com/2012/07/how-to-plumb-new-ip-in-zone-on-fly.html 2/5
9/23/13 UnixArena: How to plumb new IP in the zone on fly
MS Outlook 2013 Tips & Tricks
Linux Command Line Cheat Sheet
Linux Patch Management Guide
More Free white Papers......

POPULAR POSTS

How to scan new FC LUNS and SCSI disks in


Linux ?

Solaris 10 Interview questions

How to configure two node VCS cluster on


Solaris using Laptop/Desktop

VMware ESXi 5.1 - Step By Step Installation


Guide

VMware vCenter 5.1 Server Installation Step


by Step Guide

VXVM (Veritas Volume Manager) Training

How to configure IPMP on Solaris 10 ?

How to get SUN server serial number ?

Solaris 10's Resource Management and Shell


Limit(ulimit)

Veritas cluster Agents (VCS agents)

BLOG ARCHIVE

2013 (104)
September (5)
August (13)
July (24)
June (15)
May (26)
April (8)
March (12)
February (1)

2012 (64)
September (2)
August (7)
July (50)
Solaris 10 installation on
vmware workstation
How to change the Solaris host
name on fly
How to share the windows
folders to vmware guest
How to install vmware tools on
Solaris guest OS
How to create sparse root zone
in Solaris

www.unixarena.com/2012/07/how-to-plumb-new-ip-in-zone-on-fly.html 3/5
9/23/13 UnixArena: How to plumb new IP in the zone on fly
How to create new CPU
resource pool in Solaris
How to configure password less
authentication usin...
How to check currently using
semaphores in Solaris...
How to create Solaris virtual
machine in vmware wo...
Performance issues -Network
Solaris run levels
VI Editor- Command Reference
Live upgrade patch installation
before OS patching...
Unix File's - hard link and soft
link
How to add new filesystem in
VCS cluster ?
Veritas cluster concepts
How to fix the corrupted VXFS
Filesystem with Syma...
How to use the mirror VXVM
volume for backout reas...
cfg2html on Solaris - OS
configuration Backup
Performance issues-Solaris
Part2-CPU
How to concatenate two tar
files in Solaris
IO Bottleneck - Disk
performance issue
How to enable SAR(System
Activity Reporter) in Sol...
veritas cluster-LLT
configuration & Removing LLT
l...
Demonstration ZFS snapshots
on Solaris
How to cleanup veritas volume
manager device tree ...
VXVM Failures
how to configure Sun X86 Blade
ILOM ?
Sun ILOM T5220, T5240,
x4600, X4450 configure
how to boot Solaris local zone
in single user mode...
ZFS quick command reference
with examples
How to add new SWAP in
Solaris 10 on fly
Difference between Crash
dumps and Core dumps - So...
How to take console of SUN
hardware ?
How to recover the OS using
ZFS snapshot
How to recover a destroyed zfs
storage pool
ifconfig:Error:Cannot assign
requested address-sol...
Dtrace-To find high kernal
usage
Solaris OS and veritas patching
procedure with VCS...
RedhatLinux SAN Migration using
LVM
Preventing zone core files on
Global zone -Solaris...
Solaris 10- OS patching using
Live-upgrade
DF command shows incorrect
usage in VXFS

www.unixarena.com/2012/07/how-to-plumb-new-ip-in-zone-on-fly.html 4/5
9/23/13 UnixArena: How to plumb new IP in the zone on fly
How to plumb new IP in the
zone on fly
UFS to ZFS conversion-Using
Live upgrade
Solaris ZONE + Liveupgrade
compatibility model So...
Oracle server-Virtualization
Technologies
Solaris 10's Resource
Management:Controlling
proce...
Solaris 10's Resource
Management and Shell Limit(u...
lucreate failed due to - Zones
residing on top lev...
June (5)

SOLARIS VMWARE VERITAS LINUX INTERVIEW Q CERTIFICATIONS FREE E-BOOKS


Solaris-10 ESXi-5.1 VXVM-Articles HOW-TO Solaris Oracle-Solaris VMware-ESX
Solaris-11 vCenter-Server-5.1 VXVM-Training LVM-Training VXVM Symantec Linux
Zones VMware-Workstation VCS-Cluster Networking VCS Redhat-Linux Database
ZFS Tools Linux VMware Windows
Performance VMware-ESXi ITIL Backup
Live-Upgrade ITIL
Resource-Management SAN

About UnixArena
UnixArena was built by Lingeswaran R on
June 2012 to help Unix system
administrators by sharing various technical TAGS
articles and tutorials. Get Subscribed to
RSS of UnixArena or Get updates via C ERTIFIC ATIONS ( 3) HOW TO ARTIC LES- LINUX ( 8) INFRA PRODUC TS ( 4)
Email.Free OS related E-Books can be INTERVIEW QUESTIONS ( 10) LIVE UPGRADE ( 6) LVM ( 7) OPENFILER ( 4)
download from Here. Find UnixArena on PERFORMANC E ISSUES ( 6) REDHAT-LINUX ( 17) RESOURC E MANAGEMENT ( 6)
Twitter and Facebook as well.
SOLARIS 10 ( 62) SOLARIS11 ( 13) TRAINING ( 13) TUTORIALS ( 2) VC S ( 14)
Know More>>>
VMWARE ESXI 5 ( 7) VXVM ( 26) ZFS ( 16) ZONES ( 20)
SHARETHIS

Copyright 2012-2013 UnixArena | Privacy Policy | Contact US Theme Designed by designhuntr.Powered by Blogger

www.unixarena.com/2012/07/how-to-plumb-new-ip-in-zone-on-fly.html 5/5

You might also like