We have added F5 Image in EVE-NG and attached Virtual PC to Interface 1.1. We have configured F5 for LTM. We are able to access Internet from F5 and also ping Interface IP(1.1).
Interface status is coming as UP. Virtual PC which is connected directly to F5 interface(1.1) is not getting internet.
Please find the attached screenshot for the interface status.
management interface is using one routing subtable and the other interfaces are using other routing subtable.
it would be better not to use management for accessing internet. I think it is still possible to use it, check in the
article.
Share you managment interface settings .
I still believe that the issue is somewhere else. Your firewall/router that you use to access the internet need to have a route to the subnet where the Virtual PC is in . And also to be able to NAT it .
You’re right , he should another interface not management one.
But I think if he add an IP forwarding virtual server to listen to the internet traffic that initiated from PC machine , F5 will take this traffic and choose the management port to server internet traffic.
F5 will go across management subnet as a last resort specially for this access.
We tried using other interface for internet access in F5, but still I did not get internet in my virtual PC.
we have connected F5 with one interface and trying to connect virtual PC with F5 using other interface, and there is a route to the subnet where the Virtual PC is in.
@srinidhi12 ,
Have you configure an IP Forwarding Virtual server as I send in my first reply ?
F5 Will not Pass your Traffic Without " Listner " I mean a Virtual server matches with these packets , if this For Lab only , Create a new IP forwarding Virtual server ( Destination address 0.0.0.0/0 ) , also add a specific route to send traffic to the next hop which directs you to internet.
Also I need you to Test internet Connectivity from F5 itself.
Also Issue this command on bash ip route get 8.8.8.8 " just for Example "
see first if F5 can reach internet or not then test your PC Machine.
I’ve added something similar called Net2, but attached to interface 1.3 in my case.
Created the vlan (vlan200 in my case), self-IP. Then I created a forwarding IP VIP with 0.0.0.0/0 for source and destination, no SNAT, and selected the source VLAN from where I am expecting the traffic to originate from. VLAN100 in my case.
Also I’ve had to add a static route on my firewall(not in the picture) to subnet in vlan100 where the Desktop is and point it to F5 ip in vlan200.
We created Virtual server and kept type as forward IP with 0.0.0.0/0 for Source and Destination IP. Assigned VLAN associated with Interface 1.1 which is directly connected with Virtual PC. Image below
Could you please let me know if Default route should be created in F5 or Firewall. Because we are not using any firewall in our lab environment. Only F5 and Virtual PC images are being used currently.
Also do we have to add any route in Network> Routes. If so, do we have to add our virtual PC IP address there?
But your internet comes from somewhere. even if it is not in your Eve-ng lab. you internet gateway/firewall/router needs to send the traffic that comes from the internet back to Virtual PC. So it needs a route pointing to the F5.
you need a default route if you want to have internet on that Virtual PC, that means 0.0.0.0/0 and it needs to be on the link/vlan to outside (not management), in your case is vlan2, right?