Forum Discussion
Inbound Web access
I have a question regarding setting up inbound access to my companies webserver [forgive me if this is too basic for this forum but I have read the appropriate manuals in the knowledgebase and couldnt get a satisfactory answer. I recently took over this role and I'm new to F5's].
For outbound traffic we currently have multihoming setup on out F5s with a primary 100MB link and a backup 4MB link. All internet traffic is routed out the 100MB, if this link goes offline we failover to the 4MB link and this works as required.
For inbound traffic we want to be able to be able to assign 2 IP addresses to our web server [one from each ISP] and have all inbound traffic connect via the primary ISP address [lets call it 100.100.100.100] and if that goes offline users will still be able to connect to the same URL via the backup ISP IP address [lets call it 4.4.4.4].
I have setup the appropriate virtual servers linking 100.100.100.100 and 4.4.4.4 to the internal ip address of our web server and both ip addresses can be pinged from the web. I can HTTP to 100.100.100.100 ok but if I try to HTTP to 4.4.4.4 it fails [internet explorer cannot display the web page]. [Both servers have exactly the same access through our firewall].
Will the 4.4.4.4 address only be accessible from the web once we have failed over to the 4MB link or should I be able to HTTP to it from the web at anytime?
Also do I need to setup an Inbound Wide IP to be able to access this server via the same URL? [i.e. web users connect to www.whatever.com which resolves to 100.100.100.100. Then our primary ISP goes offline and 100.100.100.100 is no longer accessible. Will www.whatever.com now resolve to 4.4.4.4 because the Inbound Wide IP advertises it or will BGP still be needed?]
Any advice would be much appreciated.
Thanks
- Chris_Miller
Altostratus
Since you mentioned Inbound Wide IPs, are you using Link Controller? Or GTM? - biglouie_102731
Nimbostratus
Im using Link Controller, I will run a tcpdump and check the output - Chris_Miller
Altostratus
Posted By biglouie on 01/14/2011 07:52 AMLink 1 - 111.111.111.x
Link 2 - 4.4.4.x
Virtual Server 1 - 111.111.111.111:80
Pool for Virtual Server 1 - Let's say 10.1.1.1
Virtual Server 2 - 4.4.4.4:80
Pool for Virtual Server 2 - Let's say same as Pool for Virtual Server 1
How do you have your links defined so that outbound only uses Link 1? It's been a little while since I've been in Link Controller so am curious.
Also, LC should be able to use DNS to handle the Link Failure you described.
- biglouie_102731
Nimbostratus
Put the ISP router IP addresses for both links into a pool called "pool_default_gateways" and have this as the default gateway for the LC. Give the primary link a priority of 5 and give the backup link a lower priority and set priority group activation = less than 1. - Chris_Miller
Altostratus
Gotcha. That makes sense and handles outbound just fine but can definitely cause issues with inbound. - biglouie_102731
Nimbostratus
Ive just done a tcpdump and you were correct, the traffic received on the 4.4.4.4 [backup] interface is being routed out the 100.100.100.100 [primary] interface, so I guess this is why the connections to 4.4.4.4 are failing. Do you know how to remedy this? Looking through the manuals it may need a persistence profile setup but I'm not too sure. - Chris_Miller
Altostratus
Posted By biglouie on 01/17/2011 07:20 AMSince the Virtual Server is automatically mapped to the proper link, the inbound part is working fine. Now, it's up to the pool member (web server) to respond. The pool member should respond to the inside interface of the Link Controller whose job it is to send the response out the proper link.
Assuming you're using the default Auto Last Hop settings (http://support.f5.com/kb/en-us/solu...r=12151666), Link Controller should response to the mac address from which it received the request which I'd expect to be the router for link 4.4.4.4. If you're not using Auto Last Hop, I'd expect Link Controller to use its routing table which likely says to use the 100.x link as long as it's available.
You haven't made any changes to that default behavior, have you? I'm hoping I'm being accurate...it's been a bit since I've used Link Controller. Since you asked about persistence, shall I assume you aren't using any at all right now? Also, are you testing 4.4.4.4 from an outside network?
Finally, might be wise to make a case with support and run them through what you're seeing as I'm confident this has been encountered before.
- biglouie_102731
Nimbostratus
Yep, Auto Last Hop was turned off. I've turned it on and now can connect to the server on both 100.100.100.100 and 4.4.4.4 [I'm testing from a wireless broadband connection we have in the office so its a good way of testing external users access]. - Chris_Miller
Altostratus
Posted By biglouie on 01/17/2011 09:07 AMIf you run into any issues when setting up your listeners or inbound wide ips, feel free to post them and I'll see if I can help.
- biglouie_9849
Nimbostratus
Hi again
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