Forum Discussion
tosneyp_93777
Nimbostratus
Jun 24, 2011Forwarding IP Irule
Hi,
I am currently testing a setup with our new Exchange 2010 infrastructure where by all SMTP traffic is sent to a VIP, which in turn then sends out the SMTP traffic to our smarthost...I've set everyhting up apart from being able to forward the smtp traffic that is received by the VIP toward the FQDN of the smarthost/exchange cluster - so I was wondering if anyone could assist me with this? I understand that this is probably a very simple request, but forgive me as I am a newbie to the F5 world....especially IRules! ;)
Many thanks for any help...
Cheers,
Pete
- hoolio
Cirrostratus
Jason replied here: - tosneyp_93777
Nimbostratus
many thanks people! :) - tosneyp_93777
Nimbostratus
Hi, - Colin_Walker_12Historic F5 AccountThat looks pretty close. Make sure you have a port on your node command, but other than that, it should work, assuming you can always resolve the host address.
- tosneyp_93777
Nimbostratus
never seen it before eh....well i am special! ;) lol - Colin_Walker_12Historic F5 AccountHow would you select what pool to direct it to? I suppose if you have a list of the resolved IP -> pool mapping stored somewhere within the iRule (a Data Group most likely) you could do a lookup with RESOLV::lookup to find the IP of the host, then check that IP against the Data Group and determine which pool to send it to based on that.
- tosneyp_93777
Nimbostratus
erm, well I only have one pool that I want to use....and 3 nodes in that pool... its not a case of selecting a pool, more selecting a node/load balancing the traffic to the nodes! :) - Colin_Walker_12Historic F5 AccountSo you want to choose a particular node out of the pool, without allowing the pool to do the actual load balancing? What is it you want to do to select the node out of the pool? Some kind of static mapping or a metric or...what?
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