Skip to contentSkip to conversation

IPv6 question on policy based routing.

DISCUSSION Ben Greear 1 participant 2 messages Jun 13, 2008

Subsystems (2)
lore
Share & tools
lore

Ben Greear

author
#0 lore raw

I'm trying to remove an IPv6 rule based on iif match. Something similar works for ipv4, but appears to fail for ipv6. It works fine if I leave out the 'iif [dev]' clause, but I want to have different rules based on which interface the pkt comes in on...

[root@lanforge-D0-20 lanforge]# ip -6 ru show
...

11: from all to 2000::2:2 iif rddVR0 lookup local

[root@lanforge-D0-20 lanforge]# ip -6 ru del from all to 2000::2:2 iff rddVR0 lookup local prio 11
Error: argument "iff" is wrong: Failed to parse rule type
[root@lanforge-D0-20 lanforge]# ip -6 ru del from all to 2000::2:2 lookup local prio 11 [root@lanforge-D0-20 lanforge]#

Is this supposed to work?

Thanks,
Ben

Signature · 2 lines
Ben Greear <[email protected]>
Candela Technologies Inc  http://www.candelatech.com
author
#1 lore raw
Quoted 2 lines

[root@lanforge-D0-20 lanforge]# ip -6 ru del from all to 2000::2:2 iff rddVR0 lookup local prio 11

Nevermind..as someone kindly showed me, I just can't type. It should be iif instead of iff

Sorry about that.

Ben

Signature · 2 lines
Ben Greear <[email protected]>
Candela Technologies Inc  http://www.candelatech.com