Forum Discussion
Using LTM for network forwarding
Our data center architecture has a pretty standard model, with an "internal" network and a "DMZ". Our internal network does not have a direct route to the Internet. However, I have LTMs in our DMZ that can access the Internet directly. We have a server in our internal network running Microsoft Office 365 "Hybrid services" that needs to access a number of Microsoft Office 365 public networks, and I am being asked to facilitate this connectivity with our LTM. But given my lack of networking knowledge, I don't quite understand how I might configure the LTM to do this. I get a bit lost when it comes to how the different VS types function.
I was hoping someone might be able to help me understand at a high lievel what we would need to do in our network gear, and on the LTM, to enable this communication?
57 Replies
- Thomas_Gobet
Nimbostratus
No what you have to do is to define multiples routes for each network but it will be on your server never on your internal router.
You can also define the BIG-IP internal Self-IP (or floating) as the default gateway of you Microsoft Server.
- smp_86112
Cirrostratus
> You can also define the BIG-IP internal Self-IP (or floating) as the default gateway of you Microsoft Server. This would effectively mean moving the server to a VLAN in the DMZ, which is really the right solution but unfortunately isn't one of my options. > No what you have to do is to define multiples routes for each network but it will be on your server never on your internal router Are you just saying that yes we will need to create static routes, just on the server itself instead of the router?
- Thomas_Gobet
Nimbostratus
Perhaps I've missed something but is your Microsoft server on the same network than Internal VLAN on f5?
- smp_86112
Cirrostratus
If I understand your question correctly, no, the MS server is not in an internal F5 VLANs. Our F5 services VLANs in our DMZ, but the server is in our internal network.
- Thomas_Gobet_91
Cirrostratus
Perhaps I've missed something but is your Microsoft server on the same network than Internal VLAN on f5?
- smp_86112
Cirrostratus
If I understand your question correctly, no, the MS server is not in an internal F5 VLANs. Our F5 services VLANs in our DMZ, but the server is in our internal network.
- Thomas_Gobet_91
Cirrostratus
So you can't define a static route directly from your Microsoft server. You have to define a route on your internal router.
I can suggest you to make a Policy Based Routing (PBR) it will avoid you to change a lot of thing on your configuration.
For sure your problem isn't part of your F5 configuration.- smp_86112
Cirrostratus
Sorry, but I don't understand what PBR means or what the implications are. What I really need to understand is whether or not the F5 can facilitate this communication, and if so, how would I do it? It's not really my decision about how much work is too much - I just need to communicate what I would need to do. But I'm still unsure about that. If we configured our internal routing infrastructure to point each of the published Microsoft networks at our F5, could I create IP Forwarding Virtual Servers for each of those networks and enable SNAT? I realize the complexity and the amount of Virtual Servers that would need, but technically speaking would that work?
- Thomas_Gobet
Nimbostratus
So you can't define a static route directly from your Microsoft server. You have to define a route on your internal router.
I can suggest you to make a Policy Based Routing (PBR) it will avoid you to change a lot of thing on your configuration.
For sure your problem isn't part of your F5 configuration.- smp_86112
Cirrostratus
Sorry, but I don't understand what PBR means or what the implications are. What I really need to understand is whether or not the F5 can facilitate this communication, and if so, how would I do it? It's not really my decision about how much work is too much - I just need to communicate what I would need to do. But I'm still unsure about that. If we configured our internal routing infrastructure to point each of the published Microsoft networks at our F5, could I create IP Forwarding Virtual Servers for each of those networks and enable SNAT? I realize the complexity and the amount of Virtual Servers that would need, but technically speaking would that work?
- Thomas_Gobet
Nimbostratus
What you need to do is to add a route on your internal router.
Traffic coming from your Microsoft server has to be routed to your BIG-IP.
Then once it will be done, you will have to create a forwarding virtual server and enable SNAT.
Be careful your BIG-IP has to know how it can reach the Microsoft server. You can add a static route pointing to your internal router, or you can enable auto last hop.Even if it's not the best solution, it's possible to make it work.
- smp_86112
Cirrostratus
Yes, the F5 can reach both the internal server and the public internet cloud. So assuming we have routes on our internal router for all these public cloud networks pointing at our F5, I'm trying to understand all the various forwarding configuration options I've got. It sounds like I could create a forwarding VS for each corresponding public cloud network and enable SNAT. Painful, but possible. Based on a comment above, it sounds like I could apply an iRule to my existing wildcard VS and SNAT traffic with a destination of these public internet clouds. I don't want to do this either, but possible. Are there other VS types or properties on the F5 that would allow this internal server to get out to a public network?
If the connection was point-to-point, this would be simple. The kicker for me is that the destination is a network, not a single endpoint. That throws a non-networking guy like me for a loop.
- Thomas_Gobet_91
Cirrostratus
You don't need to create iRule, you can specify source IP which will match your virtual server.
So you can specify a forwarding virtual server with 0.0.0.0/0 as destination and in Source IP the Microsoft server's IP.
That's all ;)- smp_86112
Cirrostratus
Whoa, I don't understand at all what you have described or how it would work. Can you fill in the gaps a bit there?
- Thomas_Gobet
Nimbostratus
You don't need to create iRule, you can specify source IP which will match your virtual server.
So you can specify a forwarding virtual server with 0.0.0.0/0 as destination and in Source IP the Microsoft server's IP.
That's all ;)- smp_86112
Cirrostratus
Whoa, I don't understand at all what you have described or how it would work. Can you fill in the gaps a bit there?
- Thomas_Gobet_91
Cirrostratus
Don't know where you loosed me... Can you tell me which version you're running on ?
It could be a reason that you don't understand where we can define a source IP on a virtual server.- smp_86112
Cirrostratus
I'm running 10.2.4HF6. Again, I appreciate your willingness to stick with me. > you don't understand where we can define a source IP on a virtual server That's possible if not likely, we could be talking about VS properties or behavior I've never used or thought about before.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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