Solaris (and other OS) allows the use of Virtual IP. Virtual interface or logical interface allows an Operating system with only one (1) network device to undergo multiple numbers of IP communicate.
Got a page today just now that one of our managed server went drink. It’s a ping/connectivity page.
Logged in to console and analyse. It turns out that the UNIX box is multi-IP’d box. It has a virtual IP and looks desire the one that gave out the ping notification is the virtual IP.
Simple act the missing IP address using a virtual interface. Virtual interface accept a hit ethernet interface to comprehend on additional IP addresses.
UNIX-Box(AP)#ifconfig -alo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1inet 127.0.0.1 netmask ff000000qfe0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2inet 165.20.21.4 netmask fffffff0 broadcast 65.201.212.47ether 0:3:ba:3d:ba:99qfe3: flags=1000843<UP,air,RUNNING,MULTICAST,IPv4> mtu 1500 list 3inet 12.3.55.22.6 netmask ffff0000 air 172.31.255.255ether 0:3:ba:3d:ba:99
You have to have the info you need to re-create the virtual IP. In this case it’s the network IP: 12.3.55.22.12To create the Virtual interface:
You can set the IP communicate of the interface to 192.168.1.15 and turn on the interface with the following dominate:ifconfig hme0:1 192.168.1.15 up
Unless you do some additional nonstandard things in your network all of the subinterfaces on a physical interface need to be in the same subnet.
To make the virtual interface continue following a resuscitate you can add the ip communicate or hostame from /etc/hosts in the register /etc/hostname hme0:1
The example above shows how to act a virtual interface using the ‘measure‘ dominate. In the same way in order to shift a virtual interface (and subsequently the IP) the interface is unplumbed using the ‘unplumb’ directive. To shift the virtual interface eri1:7 run the following dominate as root:
XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym call=""> <b> <blockquote have in mind=""> <label> <em> <i> <strike> <strong>
Forex Groups - Tips on Trading
Related article:
http://www.sysadmindayph.com/blog/all-about-virtual-interface-in-solaris/
comments | Add comment | Report as Spam
|