Forum Discussion
liang_14081
Nimbostratus
Feb 21, 2009Who can help ?
Hi all, Could you please check below scenario whether it can be implemented by F5 Big-IP and thanks all of your help.
1.remote PC dial-up for get internet access.
2.When NAS server receive that request, it sneds RADIUS message to the accounting servers which behind F5 load balancer.
3.F5 redirect that RADIUS message which from NAS device to the one of active accounting server according to the dispatch method you define.
4.F5 device will create a mapping table which include user phone number, IP address which PC get from DHCP server and which accounting server is used for that user now.
5.After that, remote PC can access internet, but all traffic which comes from that PC need to load balance to the same accounting server according to the table that I mentioned before base on source IP address, keep the persistency.
6.Please notic here, RADIUS message which sends from NAS device destination IP is the VIP address in the F5 box, BUT all traffic from remote PC’s destination IP are NOT relevant on F5 box, all destination IP addresses are the real sevrers in the internet.
Can we do that? If we can how to configure the F5 box? Need complex iRules?? Thanks very much again !!!!
16 Replies
- The_Bhattman
Nimbostratus
Well everything seems plausable if not complex....I am puzzled about item 4. Why do you need F5 Device to create some "Mapping table" - liang_14081
Nimbostratus
Let me clarify the requirement again, it can help you understand why need such “mapping table”. - The_Bhattman
Nimbostratus
Sounds like you want the F5 to send and stick traffic to the accounting server that initially keeps the last known record of the user so that if he comes back he always sticks to the correct account server. Is that correct? - liang_14081
Nimbostratus
Thanks very much for your quickly reply, CB. The questions is if the traffic from clients are not sneding to the VIP on the F5, meaning that the F5 receive the traffic that the destination addresses are unknow for itself , whether the F5 still can do the stick according to the entries which created by RADIUS nessage (The RADIUS message is sent by NAS and the address is the VIP on F5). - The_Bhattman
Nimbostratus
Sorry I stll don't exactly know what you mean. - liang_14081
Nimbostratus
There are two separate traffic flow, One is as below: - The_Bhattman
Nimbostratus
Why would the client want to communicate to the Acc_1 server once it's already been given authorization, to access a separate server on the internet. Is it someone constantly want to go to the seperate server and also communicate to the Acc_1 server at the sametime? - liang_14081
Nimbostratus
Becasue accounting server need to know every sessions information from the clients, different cleints' all traffic should stick to corresponding accounting server according to the RADIUS message dispatch which accounting server. There are several accounting server in the server pool. This is customer requirement. Thanks very mcuh again. - The_Bhattman
Nimbostratus
Yes but isn't the NAS doing that already? I get that the accounting server should track when the client logs in and/or out, but that's because it's supplied that information by the NAS - as you also mentioned it's through this device the clients get to the internet . That would suggest that NAS is actually tracking each request to the internet and making the RADIUS Start Message calls. According to this logic you would then need the NAS to always send the RADIUS start message to the specific Account server that already contains the client's information. This can be done by an iRULE based on the information of the RADIUS Start Message within the packet. - liang_14081
Nimbostratus
Actually the accounting servers which in customer network are more complex than normal RADIUS accounting server, except record RADIUS start/stop message, it also can do traffic data inspection, from this view, the server looks like IDS, but a little difference, this accounting servers are user-defined system, inculde a lots layer 7 function, that’s why need all traffic MUST go through these servers. I know the first step which I mentioned is very easyly to implement by iRule, but how can I do about my second flow I mentioned before?? Thanks very much!
Recent Discussions
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