[OpenWrt-Devel] [PATCH] netifd: Fix source routing

2014-11-25 Thread Kristian Evensen
According to the OpenWRT Network documentation for route, the 'source' option is The preferred source address when sending to destinations covered by the target. However, netifd currently stores this value in RTA_SRC on NEWROUTE/DELROUTE. RTA_SRC is not used by kernel when handling NEWROUTE nor

Re: [OpenWrt-Devel] [PATCH] netifd: Fix source routing

2014-11-25 Thread Steven Barth
NAK, this would break source-dest-routing for IPv6 (documentation seems to be wrong here). Maybe we should use RTA_PREFSRC for IPv4 and RTA_SRC for IPv6? ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org

Re: [OpenWrt-Devel] [PATCH] netifd: Fix source routing

2014-11-25 Thread Kristian Evensen
On Tue, Nov 25, 2014 at 8:47 PM, Steven Barth cy...@openwrt.org wrote: Maybe we should use RTA_PREFSRC for IPv4 and RTA_SRC for IPv6? Sounds good to me. I am not to familiar with configuring IPv6, so I was not aware that RTA_SRC is used differently there. If no-one else jumps in before me, I

[OpenWrt-Devel] [PATCH]netifd: Fix source routing for IPv6 prefix address

2013-12-18 Thread Hans Dedecker
Fixes source routing for IPv6 prefix address on the interface to which a prefix is assigned. If a packet is received on this interface with as destination address the IPv6 prefix address coming from a different prefix then this networking rule will take care of the selection of the correct IPv6

Re: [OpenWrt-Devel] [PATCH]netifd: Fix source routing for IPv6 prefix address

2013-12-18 Thread Steven Barth
Hello Hans, could you please explain your patch again. I didn't quite get the paragraph you've written. It seems the sentence is a bit garbled. Thanks, Steven ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org