Forum Discussion
IPV6 Forwarding virtual server not working
Hi,
I am trying to create a forwarding virtual server that uses an irule to snat my backend servers IPV6 to a specific IPV6 depending on the network destination. From my backend server IP: fc01::a00:0:97. I tried to ping IP: 2001:123::1 - I am monitoring the ltm log (tail -f /var/log/ltm) and I do not see anything going thru my virtual server (I am not hitting that virtual at all). Can anyone shed some light on this- Thanks in advance - Farid.
Here is my config:
ltm rule /Common/ipv6Snat_rule { when CLIENT_ACCEPTED { log local0. "Client IP: [IP::local_addr]" if {[class match [IP::local_addr] equals IPV6_NETS_DG ]} { log local0. "Using SNAT ip: 2001::2:ff" snat 2001::2:ff } else { log local0. "Using SNAT ip: 2001::1:cc" snat 2001::1:cc } } }
ltm data-group internal /Common/IPV6_NETS_DG { records { 2001:123::/64 { } } type ip }
ltm virtual /Common/IPV6_FWD_VS { destination /Common/::.0 ip-forward ip-protocol tcp mask any6 profiles { /Common/fastL4 { } } rules { /Common/ipv6Snat_rule } translate-address disabled translate-port disabled vlans { /Common/INTERNAL } vlans-enabled }
- AneshCirrostratus
Try the below
when CLIENT_ACCEPTED { if {[class match [IP::client_addr] equals IPV6_NETS_DG ]} { snat 2001::2:ff } else { snat 2001::1:cc } }
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