Forum Discussion
How to configure internet output
Good Morning,
I would like to know how I make an internal host go out through a specific gateway.
I have two internet gateways: 189.9.36.193 (gw1) and 200.168.208.233 (gw2). I have an internal host with ip 10.213.50.30 (host).
I need the package to have the following path 10.213.50.30 (host) -> 10.213.50.1 (f5) -> 200.168.208.233 (gw2)
Thank you very much.
- Leonardo_Souza
Cirrocumulus
Create a performance layer4 virtual server. Destination 0.0.0.0/0 and source 10.213.50.30/32. Create a pool with IP 200.168.208.233, and apply to the virtual server.
That should work. Forwarding IP type does not have a pool option, so you can't use in this case, because it would use the routing table.
- Samir_Jha_52506
Noctilucent
You can add static route towards to internet. Go through link
create /net route 10.213.50.1/32 gw 200.168.208.233
- NAG_65570Historic F5 Account
But Destination IP could be any Public IP on the internet but not 10.213.50.1 to Match the route.
Therefore, creating performance layer4 virtual server is the way to go.
- dyegosouza_3456
Nimbostratus
So we are creating a static route using the origin and not the destination? In case the source network would be 10.213.50.0/23 and the host would be 10.213.50.30. It would then be "create /net route 10.213.50.30/32 gw 200.168.208.233". Was that right? Thank you.
- NAG_65570Historic F5 Account
You cannot have a static route entry to rote packets based on source IP.
Forget about Static routes.
As Leonardo Souza explained earlier, Use performance layer4 virtual server with with GW as pool and using SNAT enabled
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