Forum Discussion
No response after added virtual server IP address as floating self-IP address
- Jun 14, 2017
It was driving me nuts, since I just want to understand what's going.
After reading this post: https://devcentral.f5.com/questions/self-ip-address-selection-with-multiple-to-choose-from, I checked the firewall logs again. And now the pieces fit.
On the Virtual Servers I have SNAT Automap enabled. When I only have one floating self IP, that floating self IP is used to initiate traffic to backend servers. When I add more floating self IPs, it will use any of those floating self IPs to initiate traffic towards the backend servers.
The firewall between the F5 and the backend servers does not accept this traffic, meaning not actually the VS stopped responding after I added the VS IP address as a floating self IP, but the firewall blocked traffic towards the backend servers.
So, conclusion (just to summarize):
- only one floating self IP is needed for SNAT communication towards the backend servers (if the amount of connections is less than 65000, otherwise more are needed and I must define a SNAT pool or allow the other floating IP addresses to communicate to the backend servers)
- I will remove the unneeded floating self IP, since they're not needed for a VS to function as a listener IP
Thanks all for your help!
Im confused, you said floating IP but you also said VS, are you adding a floating IP and thinking it will be the VIP for a pool?
VS1 = VIP1 (Application 1) VS2 = VIP2 (Application 2)
Self IP = IP in segment used to to reach into segments for monitoring or other purposes.
A Self IP is just that, in an HA cluster you could have 2-3 IP's per VLAN. 2x would be 1 Self IP (Non-Floating) per device in your HA group. The 3rd IP would be the floating IP added to the Active node and synced across to the standby. Floating IP's sync, self IP's do not. The Floating IP can be used as a default gateway for instance since it will always follow the active member.
What are you trying to accomplish with said "Self/Floating IP"
- mreco_159588Jun 08, 2017Cirrus
I'm also confused ;-)
I have several virtual servers that use IP addresses that are not defined as self-IP or floating-IP.
Each unit of the HA pair has a non-floating IP address and they both share one floating-IP address in the same VLAN.
The IP addresses of the virtual servers are in the same VLAn as the non-floating and floating IP addresses.
Now, when I add the IP address used by a virtual servers as a floating IP address, the virtual server stops responding, even after setting port lockdown to 'Allow All'.
What I'm trying to accomplish is the following: I thought it was weird that the unit has a virtual server running on an IP that is not defined as a floating IP. On other units I manage I usually first add an IP address as a floating IP and then use that IP address for a virtual server. So, to align the setup with other units I manage, I added the IP address of the virtual server as a floating IP. But then things stopped working...
- mreco_159588Jun 08, 2017Cirrus
I understand the difference between floating and non-floating IP addresses, but I don't understand that a virtual server can be hosted on an IP address that is not defined as a floating IP address.
- marin_266716Jun 08, 2017Nimbostratus
"I thought it was weird that the unit has a virtual server running on an IP that is not defined as a floating IP."
I dont have a single IP that is used as a VS also used as a Self-IP or Floating IP on either Active or Standby unit.
Well say for instance 192.168.10.0/24 is VLAN 10
Self IP Node1 = 192.168.10.2
VS1 = 192.168.10.101
And so on....
To add one more example on the same cluster.
Well say for instance 192.168.20.0/24 is VLAN 20
Self IP Node1 = 192.168.20.2
VS4 = 192.168.20.101
A total of 6 VS's on 2 different networks serviced by the same cluster without using a VS IP as a self and/or floating IP.
- mreco_159588Jun 09, 2017Cirrus
That's clear. I don't need to define the IP addresses used by virtual servers as floating self IPs.
But then the question remains: why would the config break when I define a self IP which is the same as a virtual server IP?
I have a couple of other clusters that do have all virtual server IPs registered as self IPs without problems.
- marin_266716Jun 09, 2017Nimbostratus
I would assume there is then an IP conflict when you assign the IP of the VS to the floating IP on the self side. This would then cause there to be 2x MAC addresses for the same IP on the switch side thus the IP conflict. Are the working VS's and this VS in question here all in the same subnet? Are they even on the same F5?
From the working side. Can you give an example IP of a VS and the 2x Self-IP's and the Floating (which should match the VS IP)? Also if you can tell me which VLAN's are trunked in your "Reals" and "Virtuals" along with the VLAN that said "working" VS is on?
On the VS that works, but also has a Floating of the same IP, I have a sneaking suspicion that the VLAN that supports that network is not trunked on the side where the "Floating" IP is used. This would mean it is on the device on say the "Reals" interface but the VLAN is not there. If the IP is present but no VLAN on that trunk, there wouldnt be a conflict.
- mreco_159588Jun 14, 2017Cirrus
Well, on the unit is is not working on, I have (I have changed the IPs not to be the real world IPs) the following setup:
VS1: 204.12.15.183
I recently added a couple VS's more:
VS3: 204.12.15.185
Self IP of unit 1 (non-floating): 204.12.15.180
Everything working just fine until now.
The I added to IP address of VS3, VS4 and VS5 as a floating self-IP (because I also have this on other units without problems) and then things stopped working: all VS's didn't accept traffic anymore. I then tested and as soon as I add a second floating self-IP to the cluster, all traffic VS's stop responding.
To answer your questions:
- Are the working VS's and this VS in question here all in the same subnet? Yes, all mentioned IPs and VS's are on the same VLAN.
- Are they even on the same F5? Yes.
- Can you give an example IP of a VS and the 2x Self-IP's and the Floating (which should match the VS IP)? See above.
- Also if you can tell me which VLAN's are trunked in your "Reals" and "Virtuals" along with the VLAN that said "working" VS is on? All VS's are on 'All VLANs and Tunnels'. Above mentioned self-IPs are on VLAN 'external'.
- On the VS that works, but also has a Floating of the same IP, I have a sneaking suspicion that the VLAN that supports that network is not trunked on the side where the "Floating" IP is used? That would be 204.12.15.183 then. How can I check if that's the case? I don't really understand what you mean here.
- marin_266716Jun 14, 2017Nimbostratus
Let me read this and digest what your real setup is based upon your examples.
Example:
To keep you moving on last bullet in your answers. This needs to be looked at on the switch side. For example, if you have 2x 1G interfaces (1.1/1.2) on the Big-IP going in a Port Channel on the switch (2G aggregate) and say VLAN 10 is the only VLAN trunked in the Port Channel. Then on the F5 I would create a "Virtuals" trunk and add interface members 1.1 and 1.2. On the other side I would use 1.3/1.4 as my "Virtuals" and trunk VLAN 20 on the switch on that side. From there you can then create your VLAN's on F5 and create say vlan_10 with tagged 10 traffic and the same for vlan_20 tagged for vlan 20.
My point in the last bullet is, you need to verify on the switch, what VLAN is going into which "trunk" on both the switch and F5 side.
Again let me kind of whiteboard what you put for the VS examples above and I will respond.
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com