Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

IP aliasing in Solaris

Thread Tools
 
Search this Thread
 
Old 08 June 2002, 12:16 PM
  #1  
druddle
Scooby Regular
Thread Starter
 
druddle's Avatar
 
Join Date: Mar 2001
Location: Berkshire
Posts: 5,528
Likes: 0
Received 0 Likes on 0 Posts
Post

Basically a machine with 2 x NICs with different IP addresses, that are configured as one "virtual" IP address, so that if one fails, there is still a path to the other. Applications/users connect to the machine via the virtual IP address, or alias, and the 2 NICs behind it are invisible.

Similar idea to a virtual disk (e.g. mirror)

Edited to say I have seen this used for the heartbeat connection in cluster configurations, so that even the hearbeat network is highly available.

Dave

[Edited by druddle - 8/6/2002 12:17:07 PM]
Old 08 June 2002, 03:55 PM
  #2  
Wurzel
Scooby Senior
iTrader: (1)
 
Wurzel's Avatar
 
Join Date: Nov 2000
Location: Wildberg, Germany/Reading, UK
Posts: 9,706
Likes: 0
Received 73 Likes on 54 Posts
Cool

Yes you can do it on solaris 8 what you need to do is have a valid hostname and IP Address in /etc/hosts and then:

ifconfig hme0:1 etc and set the parameters
then create in /etc/hostname.hme0:1 and add the second hostname etc

then you will have a virtual host on the system.

not sure how many times you can do it though

or just get multiple nic cards.

regards

Steve

[Edited by Wurzel - 8/6/2002 3:56:38 PM]
Old 06 August 2002, 11:23 AM
  #3  
druddle
Scooby Regular
Thread Starter
 
druddle's Avatar
 
Join Date: Mar 2001
Location: Berkshire
Posts: 5,528
Likes: 0
Received 0 Likes on 0 Posts
Post

Is there such a thing as IP Aliasing as part of Sol8 or 9 ? I dont think that there is, as any IP aliasing functionality i have ever seen has been part of clustering software (Primecluster, Sun Cluster, VCS, Observe) but i was wondering if it has been added to Solaris so it can run at a lower level.

Dave
Old 06 August 2002, 12:12 PM
  #4  
stevem2k
Scooby Regular
 
stevem2k's Avatar
 
Join Date: Sep 2001
Location: Kingston ( Surrey, not Jamaica )
Posts: 4,670
Likes: 0
Received 0 Likes on 0 Posts
Post

Sorry, I may be having a thick moment, but what are you trying to do ? Get the machine to answer on multiple i/p addresses ?

Steve
Old 06 August 2002, 01:41 PM
  #5  
orbv
Scooby Regular
 
orbv's Avatar
 
Join Date: Apr 2001
Location: Hants
Posts: 1,103
Likes: 0
Received 0 Likes on 0 Posts
Post

Sol 8/9
ifconfig hme0 addip 192.168.1.10 up

< Sol 7
ifconfig hme0:1 192.168.1.10 up

to make it through a reboot

echo 192.168.1.10 > /etc/hostsname.hme0:1
Old 06 August 2002, 01:46 PM
  #6  
orbv
Scooby Regular
 
orbv's Avatar
 
Join Date: Apr 2001
Location: Hants
Posts: 1,103
Likes: 0
Received 0 Likes on 0 Posts
Post

Whoops wrong thing. You want Sun traffic manager or whatever its called today. (ipmp).

Description

IP Network Multipathing provides interface failover and load spreading when you have multiple interface cards connected to the same IP link (e. g. Ethernet). IP Multipathing is bundled with Solaris 8.
Old 06 August 2002, 01:48 PM
  #7  
orbv
Scooby Regular
 
orbv's Avatar
 
Join Date: Apr 2001
Location: Hants
Posts: 1,103
Likes: 0
Received 0 Likes on 0 Posts
Post

SunCluster has pnmd (public network managment demon) but thats no good on a standalone machine and it does not load share.

Trending Topics

Old 06 August 2002, 02:23 PM
  #8  
druddle
Scooby Regular
Thread Starter
 
druddle's Avatar
 
Join Date: Mar 2001
Location: Berkshire
Posts: 5,528
Likes: 0
Received 0 Likes on 0 Posts
Post

More details on Sun IPMP here.

Dave
Old 06 August 2002, 06:54 PM
  #9  
ids
Scooby Regular
 
ids's Avatar
 
Join Date: May 1999
Posts: 424
Likes: 0
Received 0 Likes on 0 Posts
Cool

Depending on what you are doing you need to get Mutipathing working (IMHO a crock of cack) or better use Sun Trunking software... in fact just received a copy today... however its a cost item of $999 !!! per server

Plus you will need a decent switch to connect to.... Were using Cisco 6509's so no issues here !

Ids
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
Pete The Biker
Computer & Technology Related
3
05 May 2004 11:00 PM
Kevin Mc
Computer & Technology Related
3
06 April 2004 04:52 PM
DrEvil
Computer & Technology Related
9
13 January 2004 10:36 AM
druddle
Computer & Technology Related
10
23 September 2003 12:12 PM
druddle
Computer & Technology Related
8
05 November 2002 11:12 AM



Quick Reply: IP aliasing in Solaris



All times are GMT +1. The time now is 09:10 AM.