Forum Discussion
dacresce_18982
Nimbostratus
Jun 30, 2008per VLAN default gateway config
Hi all
I need to configure multiple default gateway to be used for different services on different VLAN.
For example i have service X configured on vlan 20, and service y configure on vlan 30, with different default gateway.
Looking to web GUI it seems that it is accomplished by adding the default gateway, and bigip associate the gateway with the related vlan, isn't it ???
Any experience about a similar scenario ??
Best Regards
Daniele
- Hamish
Cirrocumulus
Can you draw a diagram? Are you saying traffic from vlan 20 will go out via different route/ISP link than vlan 30? - hoolio
Cirrostratus
Hello Daniele, - dacresce_18982
Nimbostratus
It's an outbound connection ... We use SNAT to map a private address to public routable address, then we need to route outboud traffic to a specific gateway! How can we configure specific default gateway ?? - hoolio
Cirrostratus
You could replace the functionality of the SNAT with a virtual server. The VIP could have SNAT enabled if it's required for routing. What destination IP the VIP is configured on depends on what outbound traffic you want to match. If you want to match all addresses and ports, configure the VIP with a destination IP of 0.0.0.0/0.0.0.0 on port 0. Disable address translation, set SNAT to automap and set the pool to a pool containing your default gateway(s). If you want to traffic originating from one VLAN, enable the VIP only on that VLAN. If you run into problems troubleshooting the new VIP, you can add an iRule to log new connections.when CLIENT_ACCEPTED { log local0. "[IP::client_addr]:[TCP::client_port]: New connection from client to VIP. Requested IP:port: [IP::local_addr]:[TCP::local_port]" }
- dennypayne
Employee
Click here for a thread with a lot of information about doing this using separate "transit" VLANs for each internal VLAN.
Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects