Powered By Blogger

Thursday, July 5, 2012

Setting UP private interface between two zones:


        Setting UP private interface between two zones:

1)      Connect two physical server using cross over cable
2)      ifconfig nxge3 inet 192.168.0.10 netmask 255.255.255.0 broadcast 192.168.0.255
3)      ifconfig nxge3 up
4)      Make changes to the zone so that it will persistent
bash-3.00# zonecfg -z zone
zonecfg:testzone> add net
zonecfg:testzone:net> set address=192.168.0.15
zonecfg:testzone:net> set physical=nxge3
zonecfg:testzone:net> end
zonecfg:testzone> verify
zonecfg:testzone> commit
zonecfg:testzone> exit

5)      Create interface and attach to the zone from the global
# ifconfig nxge3 addif 192.168.0.15 netmask 255.255.255.0 broadcast 192.168.0.255 zone testzone up
Created new logical interface nxge3:1

No comments:

Post a Comment

Welcome to the UNIX world