UDP packet not getting received on Centos 6.7 using Floating IP

Issues related to configuring your network
Post Reply
Apurv
Posts: 1
Joined: 2018/08/29 19:57:57

UDP packet not getting received on Centos 6.7 using Floating IP

Post by Apurv » 2018/08/30 05:38:05

I have plumbed a Floating IP on my CentOS 6.7. IP is pingable from all the machines on LAN. On the same host, there is one UDP Server and a UDP client where both of them are using this FIP(Floating IP). Now, UDP server sends a UDP packet to UDP client but somehow UDP client didn't receive the packet. However, the packet is visible in Tcpdump/Wireshark and all the headers (Ethernet , MAC, IP, and UDP ) seems alright.
Can anyone suggest how to proceed?

User avatar
avij
Retired Moderator
Posts: 3046
Joined: 2010/12/01 19:25:52
Location: Helsinki, Finland
Contact:

Re: UDP packet not getting received on Centos 6.7 using Floating IP

Post by avij » 2018/08/30 12:14:31

I would run "yum update", then reboot.

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: UDP packet not getting received on Centos 6.7 using Floating IP

Post by TrevorH » 2018/08/30 13:45:26

Also, tcpdump/wireshark "sees" the packet before any firewall has inspected it and possibly dropped or rejected it.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

User avatar
jlehtone
Posts: 4523
Joined: 2007/12/11 08:17:33
Location: Finland

Re: UDP packet not getting received on Centos 6.7 using Floating IP

Post by jlehtone » 2018/08/31 13:06:50

What is a "Floating IP"?

Does that IP resolve to a name? Does that name resolve to the IP?


If the destination of a packet is any of the IP addresses of the localhost, then the packet is routed to the loopback device (lo). The default CentOS 6 firewall ruleset starts:

Code: Select all

-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT 
-A INPUT -p icmp -j ACCEPT 
-A INPUT -i lo -j ACCEPT
Yes, the loopback should accept all.

Post Reply