SUMMARY: IP Address Alias

From: Bill R. Williams <brwms_at_etsu.edu>
Date: Fri Jan 30 2004 - 08:48:51 EST
A big thanks to:
Angelo Bonfieti Junior, Anna Lee, Bertus Bekker, Casper Dik, Dan Lowe,
Darren Dunham, David Selders, Eric Noriega, James Noyes, JV, Kris
Briscoe, Martin Schmitt, Nelson Arzola, Sandwich Maker, Simon Burr,
SteinAxt, Steve Mickeler, Wesley W. Garland

All of whom pretty much said, "Yes, it's that simple."
And several who offered other tips, hints, etc.

-- 
 ---------------------------------------------
 Bill R. Williams               <brw@etsu.edu>
 ------------------------ ETSU Library Systems

On Thu, Jan 29, 2004 at 05:29:23PM -0500, Bill R. Williams wrote:
> I am experienced in the generic U*IX systems (Linux, AIX, etc.);
> 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@etsu.edu>
>  ------------------------ ETSU Library Systems
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Fri Jan 30 08:54:37 2004

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:26 EST