Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have been facing this issue in the past two days.
We have LVS with Keepalived with DR setup .. we have multiple IP's connected and serving many port.
There are two systems - lets say W1 and W2 . that have ports 80/443 - it was working well for the longest time ever. recently we updates the servers to Centos 6.6 for patching ever since the LVS is having issue forwarding connections to the system. however......
ports 80 and 443 are open and the LVS can connect to them. services on the VMs are running fine even LVS can see the have the ports open:
however after few hours the connections are no longer forwarded. it still shows as up and active and VM's are running - but any connections coming from the LVS is not going. even TCPDUMP is not showing anything.
To fix it I have to 'service keepalived restart' and it works again. and few hours it drops.
Did any one have this issue before and what it the fix.
if you need any further information please let me know.
I have been facing this issue in the past two days.
We have LVS with Keepalived with DR setup .. we have multiple IP's connected and serving many port.
There are two systems - lets say W1 and W2 . that have ports 80/443 - it was working well for the longest time ever. recently we updates the servers to Centos 6.6 for patching ever since the LVS is having issue forwarding connections to the system. however......
ports 80 and 443 are open and the LVS can connect to them. services on the VMs are running fine even LVS can see the have the ports open:
however after few hours the connections are no longer forwarded. it still shows as up and active and VM's are running - but any connections coming from the LVS is not going. even TCPDUMP is not showing anything.
To fix it I have to 'service keepalived restart' and it works again. and few hours it drops.
Did any one have this issue before and what it the fix.
if you need any further information please let me know.
Thanks guys.
Just to add My arptables were set like this and I added the last line I do not know if that would make a difference !
Code:
:IN ACCEPT [26:728]
:OUT ACCEPT [2:56]
:FORWARD ACCEPT [0:0]
[0:0] -A IN -d 10.231.11.27 -i lo -j DROP
[0:0] -A OUT -s 10.231.11.27 -o eth0 -j mangle --mangle-ip-s 10.231.11.22
----- ADDED : [0:0] -A OUT -s 10.231.11.27 -o any -j DROP
Just to add My arptables were set like this and I added the last line I do not know if that would make a difference !
Code:
:IN ACCEPT [26:728]
:OUT ACCEPT [2:56]
:FORWARD ACCEPT [0:0]
[0:0] -A IN -d 10.231.11.27 -i lo -j DROP
[0:0] -A OUT -s 10.231.11.27 -o eth0 -j mangle --mangle-ip-s 10.231.11.22
----- ADDED : [0:0] -A OUT -s 10.231.11.27 -o any -j DROP
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.