IP Address Alias
2007-12-25 2:46:00
however, I am really a novice in the specifics of Sun/Solaris 9
systems.
IOW: I have done no real configurational things to speak of on Solaris
-- our Suns were installed/configured by a vendor.
Now I need to add an IP Address alias to one of the Ethernet devices,
and do so without messing things up. (Critical demand server.)
I think I see how the 'ifconfig' (probably) works.
Here's how I think it should work:
Presuming that I have these fakey IP addresses:
-----------------------------------
# ifconfig OUTPUT
qfe0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
inet 111.222.33.101 netmask ffffff00 broadcast 111.222.33.255
qfe0:1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
inet 111.222.33.102 netmask ffffff00 broadcast 111.222.33.255
-----------------------------------
There's already an alias as 111.222.33.102,
I want to add another alias as 111.222.33.103
I *think* I can define and bring online this alias with:
* ifconfig qfe0:2 111.222.33.103 netmask 255.255.255.0 up
(the 'ifconfig plumb' has already been done on base qfe0)
More importantly, this interface needs to come up at BOOT TIME
>From what I can gather this is what I need to see to:
* The /etc/network, /etc/netmask, and /etc/defaultrouter files
already contain the proper settings for my fake '111.222.0.0'
network.
* Add new, unique "IPAddress hostname" to /etc/hosts:
111.222.33.103 bitbucket.localdomain bitbucket
* Create: /etc/hostname.qfe0:2 which contains:
bitbucket
... Is that it? Just creating the hostname.DEV containing a name
matching an entry in /etc/hosts will bring the device online at boot
time? It can't be that simple.
--
---------------------------------------------
Bill R. Williams <brw at etsu.edu>
------------------------ ETSU Library Systems
Comments
Got something to say?
You must be logged in to post a comment.

