[ovs-discuss] Modify IPv6 Address?

Ansis Atteka aatteka at nicira.com
Thu Jul 2 23:21:13 UTC 2015


On Thu, Jul 2, 2015 at 3:44 PM, Jacob Chappell <jacob.chappell at uky.edu> wrote:
> Hi all,
>
> Does OVS not support modifying IPv6 addresses as an action? Here are the
> commands I'm running and their outputs.
>
> # This works.
> $ sudo ovs-ofctl add-flow br-eth3 tcp,actions=mod_nw_dst=127.0.0.1
>
> # This doesn't.
> $ sudo ovs-ofctl add-flow br-eth3 tcp6,actions=mod_nw_dst=::1
> 2015-07-02T22:40:10Z|00001|socket_util|ERR|"::1" is not a valid IP address
> ovs-ofctl: ::1: could not convert to IP address
>
> # Neither does this.
> $ sudo ovs-ofctl add-flow br-eth3 tcp6,actions=mod_nw_dst=[::1]
> 2015-07-02T22:40:38Z|00001|socket_util|ERR|"[::1]" is not a valid IP address
> ovs-ofctl: [::1]: could not convert to IP address
>
> I am running Open vSwitch version 2.3.1.

Did you try:
ovs-ofctl -O OpenFlow12 add-flow br-eth3
ipv6,table=1,in_port=3,actions=set_field:fe80:0123:4567:890a:a6ba:dbff:fefe:59fa-\>ipv6_src

>
> Thanks,
> Jacob Chappell
>
> _______________________________________________
> discuss mailing list
> discuss at openvswitch.org
> http://openvswitch.org/mailman/listinfo/discuss
>



More information about the discuss mailing list