Forum Discussion
Les_Marstaeller
Nimbostratus
May 15, 2006Routing with irules?
Hi,
Is it possible to route packets with irules? I would like to source route, that is, if a packet comes in on interface A then send it out interface b. If the same packet comes in interface c then send it out interface d.
I suspect this cannot be done but thought I would ask the very knowledgeable people on this forum just to make sure.
Thanks for any help in advance.
Les
Canberra, Australia
2 Replies
- JRahm
Admin
I am doing source routing currently, check this thread: - JRahm
Admin
I haven't tested routing only at the mac layer, but you could try something like this:class nexthop_select { "src_MAC_1 dst_MAC_1" "src_MAC_2 dst_MAC_2" "src_MAC_3 dst_MAC_3" } when CLIENT_ACCEPTED { LINK::nexthop [findclass [LINK::lasthop] $::nexthop_select " "] }
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