Re: Source address selection with secondary interface address

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Kiss, Zoltan (NSN - HU/Budapest) wrote, at 11/24/2010 11:18 PM:
> Hi,
> 
> In this routing entry:
> 
> 10.0.0.36/28 via 10.0.0.153 dev vlan2
> 
> .153 is the nexthop, not the source IP! My theory that when it queries this route, it will give back implicitly the primary IP of that interface, which is .156, and that's why it isn't succeeded.

You'd better to confirm it.

> 
> About the next step, so is this a correct statement?:
> 
> sctp_v4_get_dst() is querying the routing table with every local address (.146 and .154, in this order) of that association as SRC address, and if it receives ANY kind of valid route with this condition (only SRC is defined), it will use that SRC for the packet (right the first query will succeed with .146), BUT it won't change the outgoing interface according to this routing entry (OR it change it in the skb, but later IP will overwrite it?)

Isn't [HB ACK] send out from vlan1?

-- 
Best Regards
-----
Shan Wei




--
To unsubscribe from this list: send the line "unsubscribe linux-sctp" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Networking Development]     [Linux OMAP]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux