SCTP does not pick correct source IP when routing from nonlocal interface
Issue
- SCTP does not pick correct source IP when routing from nonlocal interface
- SCTP does not pick the correct source IP address when the source is on a non-local interface to the outgoing route
- The source address used for all communication is the second address of each assoc, even on the wrong interface. The first address is not used.
Environment
- Red Hat Enterprise Linux (RHEL) 7
- Streaming Control Transport Protocol (SCTP)
- Multiple paths and routes to remote destination
### Client Addresses
eth1
10.0.0.4/27 - route to 172.16.0.82 via 10.0.0.1
eth2
10.0.0.36/27 - route to 172.16.0.86 via 10.0.0.33
dummy0
10.0.0.5/27
10.0.0.7/27
10.0.0.37/27
10.0.0.39/27
### First Assoc
ip.addr == 10.0.0.5 && ip.addr == 172.16.0.82 -> Primary Path
ip.addr == 10.0.0.37 && ip.addr == 172.16.0.86 -> Secondary Path
### Second Assoc
ip.addr == 10.0.0.7 && ip.addr == 172.16.0.82 -> Primary Path
ip.addr == 10.0.0.39 && ip.addr == 172.16.0.86 -> Secondary Path
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
