Forum Discussion
Charles_Stalyon
Nimbostratus
Apr 22, 2008New guy - help please!
I currently have a 1500 series LTM demo from F5. I have a little working knowledge of the device, but I am attempting to use the LTM as a traffic cop and have no idea how to use an iRule. I would like to direct traffic hitting a shared network drive to a particular server based on the example below:
When someone maps to \\shareddrive\users I want traffic directed to a pool with server "users"
When someone maps to \\shareddrive\data I want traffic directed to a pool with server "data"
I assume this is very vague and little to work with, but from what I can tell from the forums most folks use iRules for http(s) traffic. Has anyone had experience with directing traffic to/from network (shared) drives? What port would the VIP listen on?
Thank you for any assistance you can offer.
2 Replies
- hoolio
Cirrostratus
Hi there,
The BIG-IP doesn't parse SMB traffic natively, so to determine the requested share name, you'd need to collect the TCP payload in the request, parse the share and then select the pool based on it. You can use the TCP::collect (Click here) command to collect the payload. The wiki page for TCP::collect has an example to get you started.
SMB shares should be accessible on TCP port 445. Here's one place you can get more info on the "protocol" (Click here).
Aaron - Charles_Stalyon
Nimbostratus
Thank you all....
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
