lwIP - A Lightweight TCP/IP stack - Tasks: task #13397, Add optional source-based IPv4...
You are not allowed to post comments on this tracker with your current authentication level.
task #13397: Add optional source-based IPv4 routing
| Submitter: | Simon Goldschmidt <goldsimon> | ||
| Submitted: | Fri 14 Nov 2014 08:27:57 PM UTC | ||
| Category: | IPv4 | Should Start On: | Fri 14 Nov 2014 12:00:00 AM UTC |
| Should be Finished on: | Fri 14 Nov 2014 12:00:00 AM UTC | Priority: | 5 - Normal |
| Status: | Done | Privacy: | Public |
| Percent Complete: | 100% | Assigned to: | goldsimon |
| Open/Closed: | Closed | Planned Release: | 1.5.0 |
| Effort: | 0.00 | ||
|
Sun 30 Aug 2015 07:55:53 PM UTC, comment #2: |
Simon Goldschmidt <goldsimon> |
|
Mon 17 Nov 2014 03:40:29 PM UTC, comment #1: There are a few scenarios, yes. For example, I have some setups with Ethernet and serial PPP modem, both are connected to the internet. I modified ip_route() so that packets are returned on the same netif as they were received. Otherwise, they are always routed back on default_netif and that doesn't always work.
|
Ivan Delamer <idelamer> |
|
Fri 14 Nov 2014 08:27:57 PM UTC, original submission:
There are obviously configurations where source-based routing is required. The core code should not prevent this (while preventing an impact of this feature on single-netif configurations). |
Simon Goldschmidt <goldsimon> |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Done: to support IPv4 source based routing: define LWIP_HOOK_IP4_ROUTE_SRC to point to a routing function (src parameter may be NULL)