Forum Discussion
Unable to ping VIP from outside, but can ping it form F5
Hello, Let me start with saying this is my first time with F5 and I have very limited knowledge of networking too (yeah.. double whammy). So please help me with this (mostly likely) simple issue.
Here is my environment
I have a F5 virtual machine on ESX (version 11.3.0.39).
The management IP is using DHCP and it is set to 10.67.1.38. I can access the console with this IP from my laptop. No issues here. Virtual machine has 4 network adapters. All are VMXNET 3.
I have two vlans configured (internal -1.2 and external -1.1). I have two selfips configured - Internal - 10.1.1.1 and external - 12.1.1.1
I have a load balancing (or standard) VIP setup at 12.1.1.2 and it is on pool ccjboss (bigip.conf below). All the indicators are green. F5 can ping/connect to the nodes. Nodes can ping the F5's selfips (10.1.1.1 and 12.1.1.1). I can ping the VIP (12.1.1.2) from the F5, but not from anywhere else. I can't VIP from my laptop, but I can ping 12.1.1.1 (same network). I can't ping the VIP from the nodes (but can ping 12.1.1.1). I tried to enable SNAT to automap, but that did not help either.
Any help will be great.
My bigip.conf
3 Replies
Hi, As a first diagnostic step, a tcpdump can help you see what is happening to your ping packets. Assuming that your laptop is in the 'external' vlan then in F5 run the following while pinging from your laptop:
tcpdump -nni external icmpYou should see packets in and out when the ping is OK
- jsilverius_2370
Nimbostratus
Hi Amine, Thanks for your response. tcpdump for external did not produce any traffic. I did the same tcpdump for eth0 (the management adapter. This is used as gateway) and I can see responses. Looks like F5 is receiving the ping request but not responding back for 12.1.1.2. It is responding back to 12.1.1.1 (one of the self-ip). I also validated that ICMP is enabled for 12.1.1.2.
10.67.1.38 is the mgmt IP
10.67.3.55 is the my laptop
12.1.1.2 is the VIP
10.67.1.43 is node1
10.67.1.45 is node2
(You also can see F5 is pinging node1 and node2 for health check).
Tcpdump response -
Oh, there is some errors I didn't notice before:
- Your nodes must reside in a different vlan than your mgmt interface, because this interface is dedicated to mgmt, it cannot handle tmm traffic, although monitoring nodes can use it but this is not recommended.
- The mgmt interface should not be used as a gateway for your network.
To simplify, you should refine your configuration as follows (assuming you are using a two sides vlans, internal + external):
- Move your nodes to the internal vlan
- Test from a device coming from the the external vlan.
- Dedicate mgmt interface to management only.
- Share the result :)
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