[rhelv6-list] Configuring a loopback adapter

Matthias Saou matthias at saou.eu
Fri Feb 14 14:43:43 UTC 2014


On Fri, 14 Feb 2014 11:21:33 +0200
John Stein <tde3000 at gmail.com> wrote:

> Copy and paste problem. Device is actually up with these settings,
> just can't connect to the WSD.

To debug, run tcpdump on the interface(s) where the packets are
supposed to arrive and also leave.

Then start playing with the arp_ignore settings you mentioned, *and*
the arp_announce and rp_filter ones as needed. You really need to be
careful with all of them.

For a typical LVS-DR setup, here's what I have on some RHEL6 web servers
where packets arrive on the private eth1 and are expected to go out
through eth0 where the default gateway resides (and with the LVS IP
addresses aliased on lo like you did) :

sysctl { 'net.ipv4.conf.all.arp_announce': value => '2' }
sysctl { 'net.ipv4.conf.all.arp_ignore':   value => '1' }
sysctl { 'net.ipv4.conf.eth1.rp_filter':   value => '0' }

HTH,
Matthias

> On Feb 13, 2014 11:55 PM, "John Haxby" <john.haxby at gmail.com> wrote:
> 
> > On 12 February 2014 14:14, John Stein <tde3000 at gmail.com> wrote:
> >
> >> I am trying to configure some rhel 6.2 servers to work with a WSD
> >> load balancer.
> >>
> >> What I have in each servers ifcfg-lo:1 file:
> >>
> >> Device=lo:1
> >> Ipaddr=192.168.10.100
> >> Netmask=255.255.255.255
> >> Network=192.168.10.0
> >> Broadcast=192.168.10.255
> >> Onboot=yes
> >>
> >> I've also tried changing the arp_ignore parameters to 1 for the
> >> loopback adapter like I've found in the net.
> >> It's still not working.
> >>
> >
> > Is that a copy-and-paste problem or is it really Device, Ipaddr, etc
> > instead of DEVICE, IPADDR, etc?

-- 
            Matthias Saou                  ██          ██
                                             ██      ██
Web: http://matthias.saou.eu/              ██████████████
Mail/XMPP:  matthias at saou.eu             ████  ██████  ████
                                       ██████████████████████
GPG: 4096R/E755CC63                    ██  ██████████████  ██
     8D91 7E2E F048 9C9C 46AF          ██  ██          ██  ██
     21A9 7A51 7B82 E755 CC63                ████  ████




More information about the rhelv6-list mailing list