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 Jun 8, 2002 | 12:16 PM
  #1  
druddle's Avatar
druddle
Thread Starter
Scooby Regular
 
Joined: Mar 2001
Posts: 5,528
Likes: 0
From: Berkshire
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]
Reply
Old Jun 8, 2002 | 03:55 PM
  #2  
Wurzel's Avatar
Wurzel
Scooby Senior
iTrader: (1)
 
Joined: Nov 2000
Posts: 9,708
Likes: 73
From: Wildberg, Germany/Reading, UK
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]
Reply
Old Aug 6, 2002 | 11:23 AM
  #3  
druddle's Avatar
druddle
Thread Starter
Scooby Regular
 
Joined: Mar 2001
Posts: 5,528
Likes: 0
From: Berkshire
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
Reply
Old Aug 6, 2002 | 12:12 PM
  #4  
stevem2k's Avatar
stevem2k
Scooby Regular
 
Joined: Sep 2001
Posts: 4,670
Likes: 0
From: Kingston ( Surrey, not Jamaica )
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
Reply
Old Aug 6, 2002 | 01:41 PM
  #5  
orbv's Avatar
orbv
Scooby Regular
 
Joined: Apr 2001
Posts: 1,103
Likes: 0
From: Hants
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
Reply
Old Aug 6, 2002 | 01:46 PM
  #6  
orbv's Avatar
orbv
Scooby Regular
 
Joined: Apr 2001
Posts: 1,103
Likes: 0
From: Hants
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.
Reply
Old Aug 6, 2002 | 01:48 PM
  #7  
orbv's Avatar
orbv
Scooby Regular
 
Joined: Apr 2001
Posts: 1,103
Likes: 0
From: Hants
Post

SunCluster has pnmd (public network managment demon) but thats no good on a standalone machine and it does not load share.
Reply
Old Aug 6, 2002 | 02:23 PM
  #8  
druddle's Avatar
druddle
Thread Starter
Scooby Regular
 
Joined: Mar 2001
Posts: 5,528
Likes: 0
From: Berkshire
Post

More details on Sun IPMP here.

Dave
Reply
Old Aug 6, 2002 | 06:54 PM
  #9  
ids's Avatar
ids
Scooby Regular
 
Joined: May 1999
Posts: 424
Likes: 0
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
Reply
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
Pete The Biker
Computer & Technology Related
3
May 5, 2004 11:00 PM
Kevin Mc
Computer & Technology Related
3
Apr 6, 2004 04:52 PM
DrEvil
Computer & Technology Related
9
Jan 13, 2004 10:36 AM
druddle
Computer & Technology Related
10
Sep 23, 2003 12:12 PM
druddle
Computer & Technology Related
8
Nov 5, 2002 11:12 AM




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