[Linux-cluster] 2 IP addrs on one NIC : for 2 applications listening on same tcp port to bind to
Shaun Mccullagh
Shaun.Mccullagh at espritxb.nl
Fri Jan 16 15:31:08 UTC 2009
You also need to change
DEVICE=eth0
to
DEVICE=eth0:1
in /etc/sysconfig/network-scripts/ifcfg-eth0:1
HTH
S
________________________________
From: linux-cluster-bounces at redhat.com [linux-cluster-bounces at redhat.com] On Behalf Of sunhux G [sunhux at gmail.com]
Sent: 16 January 2009 16:21
To: linux clustering
Subject: Re: [Linux-cluster] 2 IP addrs on one NIC : for 2 applications listening on same tcp port to bind to
Sorry that repeated replies were posted, I must have clicked
too many times.
Just to verify, I'll just make a copy of existing file :
cp -p /etc/sysconfig/network-scripts/ifcfg-eth0 /etc/sysconfig/network-scripts/ifcfg-eth0:1
Then edit ifcfg-eth0:1 to update it with the secondary IP address/mask
- is this correct?
________________________________
Op dit e-mailbericht is een disclaimer van toepassing, welke te vinden is op http://www.espritxb.nl/disclaimer
NB: Vanaf heden zijn al onze mailadressen gewijzigd in ... at espritxb.nl! Pas dit svp aan in uw adresboek.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-cluster/attachments/20090116/55ebce17/attachment.htm>
More information about the Linux-cluster
mailing list