Re: Setting Loopback on real server
David Adams <[email protected]>
| Newsgroups | gmane.linux.highavailability.ultramonkey |
|---|---|
| Message-ID | <[email protected]> |
The netmask for this special loopback interface should be 255.255.255.255 (as per the documentaiton). With the netmask you're using covering the whole subnet you're on it is no wonder you lose connectivity to the machine. > Hello All, > > I have been struggling with this for few days now, can anyone > please give me some pointers as to how to sort this one out. > > I have managed to run a director but on issuing the command > /sbin/ipvsadm -L -nI get this result IP Virtual Server version > 1.2.0 (size=4096) > Prot LocalAddress:Port Scheduler Flags > -> RemoteAddress:Port Forward Weight ActiveConn InActConn > TCP xx.xxx.102.47:80 rr persistent 600 > -> xx.xxx.102.44:80 Route 0 0 0 > -> xx.xxx.102.43:80 Route 0 0 0 > -> 127.0.0.1:80 Local 1 0 0 > which indicates that none of the real servers are responding.The > reason is that I am unable to setup loopback VIP on the real > server, as soon as I setup the lookback interface lo:0 using > detailsDEVICE=lo:0 > IPADDR=xx.xxx.102.47 > NETMASK=255.255.255.128 > NETWORK=xx.xxx.102.0 > BROADCAST=127.255.255.255 > ONBOOT=yes > NAME=loopbackthe real server goes down.and only comes back up when > the lookback address is removed, can anyone please guide me how to > sort this one out, thanks a lot.Imran. -- Ultra Monkey - http://www.ultramonkey.org/ To UNSUBSCRIBE, email to [email protected], with a body: unsubscribe ultramonkey-users [email protected] where "[email protected]" is YOUR email address.