All of lore.kernel.org
 help / color / mirror / Atom feed
* Source address selection with secondary interface address
@ 2010-11-17 16:22 Kiss, Zoltan (NSN - HU/Budapest)
  2010-11-23 15:24 ` Kiss, Zoltan (NSN - HU/Budapest)
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Kiss, Zoltan (NSN - HU/Budapest) @ 2010-11-17 16:22 UTC (permalink / raw)
  To: linux-sctp

Hi,

I have an issue with source IP selection in case of multihoming. In my configuration the host has two addresses on different VLAN interfaces and subnets:

1: vlan1@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue
    inet 10.0.0.148/29 scope global vlan1
    inet 10.0.0.146/29 scope global secondary vlan1
       valid_lft forever preferred_lft forever
2: vlan2@eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue
    inet 10.0.0.156/29 scope global vlan2
    inet 10.0.0.154/29 scope global secondary vlan2
       valid_lft forever preferred_lft forever

The association uses the secondary addresses for both interface as local address:

ffff810136d2c000 ffff8101370a3b40 2   1   4  40533    7        0        0     100  5866 1111  2222  *10.0.0.146 10.0.0.154 <-> *10.0.0.20 10.0.0.36

And there is a routing entry, which tells to use vlan 2 if 10.0.0.36 is the destination:

10.0.0.32/28 via 10.0.0.153 dev vlan2

But capturing on that interface shows the HB ACKs going back with a wrong address:

18:43:31.917051 IP 10.0.0.36.2222 > 10.0.0.154.1111: sctp (1) [HB REQ]
18:43:31.917057 IP 10.0.0.146.1111 > 10.0.0.36.2222: sctp (1) [HB ACK]

More exactly, with the primary address of that association. When I changed the second address of the association to 10.0.0.156 instead of .154, it works well, .156 is used. Also, when I set explicitly in the route enty which source address has to be used (10.0.0.154), it works also.
The thing I don't understand why does it work with the interface's secondary address only when I specify the source address explicitly? I thought they are equal from this point of view, and when SCTP stack specifies the source address, IP won't overwrite it when it is existing on that interface.

Is this a bug or a feature? Unfortunatelly I have to use a pretty old kernel, 2.6.21.7, and I tried to search the changelogs to find if this is a fixed problem, but without luck. So I decided to ask you before I make efforts to try this out on a newer kernel.

Thanks for your help beforehand!

Kiss Zoltán



^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: Source address selection with secondary interface address
  2010-11-17 16:22 Source address selection with secondary interface address Kiss, Zoltan (NSN - HU/Budapest)
@ 2010-11-23 15:24 ` Kiss, Zoltan (NSN - HU/Budapest)
  2010-11-24  7:06 ` Shan Wei
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Kiss, Zoltan (NSN - HU/Budapest) @ 2010-11-23 15:24 UTC (permalink / raw)
  To: linux-sctp

Hi,

I still don't know am I writing to the good mailing list, because I didn't received any feedback, so please someone reply to me if I'm writing to a wrong address.
I've started to investigate my problem in the kernel code, and I found the following:

- before SCTP layer send the packet to IP, it fills the src IP address in the skbuff (see net/sctp/output.c:333 in 2.6.21.7 kernel code)
- it queries the routing table in sctp_transport_route (see transport.c) to find a route to the destination (which is the secondary address of the remote end)
- the routing entry will return an address of that interface. Here comes the problem, because it returns only one address basically, the primary address of that interface (except if src IP is explicitly specified to that route)
- it won't match any of the associations local address, of course, because they are secondary addresses on those interfaces
- the next thing is not clear yet to me: the sctp_v4_get_dst (see protocol.c) tries to find a destination in the routing table according to its local addresses. Based on this it should choose a different interface than the actually used. Or could it be that struct dst_entry doesn't change the actual outgoing interface?

As I checked, 2.6.31.1 works in a similiar manner. Before I'm going forward, could anyone help me in confirming or disclaiming about the above?

Thanks for the help,

Zoltán, Kiss

-----Original Message-----
From: Kiss, Zoltan (NSN - HU/Budapest) 
Sent: Wednesday, November 17, 2010 5:22 PM
To: 'linux-sctp@vger.kernel.org'
Subject: Source address selection with secondary interface address

Hi,

I have an issue with source IP selection in case of multihoming. In my configuration the host has two addresses on different VLAN interfaces and subnets:

1: vlan1@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue
    inet 10.0.0.148/29 scope global vlan1
    inet 10.0.0.146/29 scope global secondary vlan1
       valid_lft forever preferred_lft forever
2: vlan2@eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue
    inet 10.0.0.156/29 scope global vlan2
    inet 10.0.0.154/29 scope global secondary vlan2
       valid_lft forever preferred_lft forever

The association uses the secondary addresses for both interface as local address:

ffff810136d2c000 ffff8101370a3b40 2   1   4  40533    7        0        0     100  5866 1111  2222  *10.0.0.146 10.0.0.154 <-> *10.0.0.20 10.0.0.36

And there is a routing entry, which tells to use vlan 2 if 10.0.0.36 is the destination:

10.0.0.32/28 via 10.0.0.153 dev vlan2

But capturing on that interface shows the HB ACKs going back with a wrong address:

18:43:31.917051 IP 10.0.0.36.2222 > 10.0.0.154.1111: sctp (1) [HB REQ]
18:43:31.917057 IP 10.0.0.146.1111 > 10.0.0.36.2222: sctp (1) [HB ACK]

More exactly, with the primary address of that association. When I changed the second address of the association to 10.0.0.156 instead of .154, it works well, .156 is used. Also, when I set explicitly in the route enty which source address has to be used (10.0.0.154), it works also.
The thing I don't understand why does it work with the interface's secondary address only when I specify the source address explicitly? I thought they are equal from this point of view, and when SCTP stack specifies the source address, IP won't overwrite it when it is existing on that interface.

Is this a bug or a feature? Unfortunatelly I have to use a pretty old kernel, 2.6.21.7, and I tried to search the changelogs to find if this is a fixed problem, but without luck. So I decided to ask you before I make efforts to try this out on a newer kernel.

Thanks for your help beforehand!

Kiss Zoltán



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Source address selection with secondary interface address
  2010-11-17 16:22 Source address selection with secondary interface address Kiss, Zoltan (NSN - HU/Budapest)
  2010-11-23 15:24 ` Kiss, Zoltan (NSN - HU/Budapest)
@ 2010-11-24  7:06 ` Shan Wei
  2010-11-24  9:03 ` Shan Wei
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Shan Wei @ 2010-11-24  7:06 UTC (permalink / raw)
  To: linux-sctp

Kiss, Zoltan (NSN - HU/Budapest) wrote, at 11/23/2010 11:24 PM:
> Hi,
> 
> I still don't know am I writing to the good mailing list, because I didn't received any feedback, so please someone reply to me if I'm writing to a wrong address.

linux-sctp maillist that you send to is right. 
We discuss problem and review patch for sctp kernel all the time in here. It's voluntary and no salary.

> I've started to investigate my problem in the kernel code, and I found the following:
> 
> - before SCTP layer send the packet to IP, it fills the src IP address in the skbuff (see net/sctp/output.c:333 in 2.6.21.7 kernel code)
> - it queries the routing table in sctp_transport_route (see transport.c) to find a route to the destination (which is the secondary address of the remote end)
> - the routing entry will return an address of that interface. Here comes the problem, because it returns only one address basically, the primary address of that interface (except if src IP is explicitly specified to that route)
> - it won't match any of the associations local address, of course, because they are secondary addresses on those interfaces
> - the next thing is not clear yet to me: the sctp_v4_get_dst (see protocol.c) tries to find a destination in the routing table according to its local addresses. Based on this it should choose a different interface than the actually used. Or could it be that struct dst_entry doesn't change the actual outgoing interface?
> 
> As I checked, 2.6.31.1 works in a similiar manner. Before I'm going forward, could anyone help me in confirming or disclaiming about the above?

Can you check the latest code in vlad's next tree
from http://git.kernel.org/?p=linux/kernel/git/vxy/lksctp-dev.git;a=shortlog;h=refs/heads/net-next? 

> 
> Thanks for the help,
> 
> Zoltán, Kiss
> 
> -----Original Message-----
> From: Kiss, Zoltan (NSN - HU/Budapest) 
> Sent: Wednesday, November 17, 2010 5:22 PM
> To: 'linux-sctp@vger.kernel.org'
> Subject: Source address selection with secondary interface address
> 
> Hi,
> 
> I have an issue with source IP selection in case of multihoming. In my configuration the host has two addresses on different VLAN interfaces and subnets:
> 
> 1: vlan1@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue
>     inet 10.0.0.148/29 scope global vlan1
>     inet 10.0.0.146/29 scope global secondary vlan1
>        valid_lft forever preferred_lft forever
> 2: vlan2@eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue
>     inet 10.0.0.156/29 scope global vlan2
>     inet 10.0.0.154/29 scope global secondary vlan2
>        valid_lft forever preferred_lft forever
> 
> The association uses the secondary addresses for both interface as local address:
> 
> ffff810136d2c000 ffff8101370a3b40 2   1   4  40533    7        0        0     100  5866 1111  2222  *10.0.0.146 10.0.0.154 <-> *10.0.0.20 10.0.0.36
> 
> And there is a routing entry, which tells to use vlan 2 if 10.0.0.36 is the destination:
> 
> 10.0.0.32/28 via 10.0.0.153 dev vlan2

It should be 10.0.0.36, right?

> 
> But capturing on that interface shows the HB ACKs going back with a wrong address:
> 
> 18:43:31.917051 IP 10.0.0.36.2222 > 10.0.0.154.1111: sctp (1) [HB REQ]
> 18:43:31.917057 IP 10.0.0.146.1111 > 10.0.0.36.2222: sctp (1) [HB ACK]
> 
> More exactly, with the primary address of that association. When I changed the second address of the association to 10.0.0.156 instead of .154, it works well, .156 is used. Also, when I set explicitly in the route enty which source address has to be used (10.0.0.154), it works also.
> The thing I don't understand why does it work with the interface's secondary address only when I specify the source address explicitly? I thought they are equal from this point of view, and when SCTP stack specifies the source address, IP won't overwrite it when it is existing on that interface.
> 
> Is this a bug or a feature? Unfortunatelly I have to use a pretty old kernel, 2.6.21.7, and I tried to search the changelogs to find if this is a fixed problem, but without luck. So I decided to ask you before I make efforts to try this out on a newer kernel.

Sorry, i can't understand clearly your problem.
Can you send out the reproducing steps? If the problem is fixed, i can find the fixed patch.
If the problem is not fixed, I will do my best to investigate it.

> 
> Thanks for your help beforehand!
> 
> Kiss Zoltán
> 
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-sctp" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 


-- 
Best Regards
-----
Shan Wei

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Source address selection with secondary interface address
  2010-11-17 16:22 Source address selection with secondary interface address Kiss, Zoltan (NSN - HU/Budapest)
  2010-11-23 15:24 ` Kiss, Zoltan (NSN - HU/Budapest)
  2010-11-24  7:06 ` Shan Wei
@ 2010-11-24  9:03 ` Shan Wei
  2010-11-24 15:18 ` Kiss, Zoltan (NSN - HU/Budapest)
  2010-11-25  2:11 ` Shan Wei
  4 siblings, 0 replies; 6+ messages in thread
From: Shan Wei @ 2010-11-24  9:03 UTC (permalink / raw)
  To: linux-sctp

Kiss, Zoltan (NSN - HU/Budapest) wrote, at 11/23/2010 11:24 PM:
> Hi,
> 
> I still don't know am I writing to the good mailing list, because I didn't received any feedback, so please someone reply to me if I'm writing to a wrong address.
> I've started to investigate my problem in the kernel code, and I found the following:
> 
> - before SCTP layer send the packet to IP, it fills the src IP address in the skbuff (see net/sctp/output.c:333 in 2.6.21.7 kernel code)

Yes.

> - it queries the routing table in sctp_transport_route (see transport.c) to find a route to the destination (which is the secondary address of the remote end)

The destination is .36.

> - the routing entry will return an address of that interface. Here comes the problem, because it returns only one address basically, the primary address of that interface (except if src IP is explicitly specified to that route)
> - it won't match any of the associations local address, of course, because they are secondary addresses on those interfaces

The route entry you setted is:
10.0.0.36/28 via 10.0.0.153 dev vlan2

So the source ip address of the route entry is 10.0.0.153 which is not match any local address of association.
The local address of association is .146(as primary), and .154.

> - the next thing is not clear yet to me: the sctp_v4_get_dst (see protocol.c) tries to find a destination in the routing table according to its local addresses. Based on this it should choose a different interface than the actually used. Or could it be that struct dst_entry doesn't change the actual outgoing interface?

The next things is that:
The association used every local address as source address of flowi struct to search route.
If succeed, then use this source address to send HEARTBEAT ACK chunk.
So the source address of HEARTBEAT ACK chunk is .146, not .154.

so, when you set explicitly in the route enty which source address has to be used (10.0.0.154), it works also.
I think you set route entry without source address, it works still ok.
like: ip route add 10.0.0.36 dev eth0


> As I checked, 2.6.31.1 works in a similiar manner. Before I'm going forward, could anyone help me in confirming or disclaiming about the above?
> 
> Thanks for the help,
> 
> Zoltán, Kiss
> 
> -----Original Message-----
> From: Kiss, Zoltan (NSN - HU/Budapest) 
> Sent: Wednesday, November 17, 2010 5:22 PM
> To: 'linux-sctp@vger.kernel.org'
> Subject: Source address selection with secondary interface address
> 
> Hi,
> 
> I have an issue with source IP selection in case of multihoming. In my configuration the host has two addresses on different VLAN interfaces and subnets:
> 
> 1: vlan1@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue
>     inet 10.0.0.148/29 scope global vlan1
>     inet 10.0.0.146/29 scope global secondary vlan1
>        valid_lft forever preferred_lft forever
> 2: vlan2@eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue
>     inet 10.0.0.156/29 scope global vlan2
>     inet 10.0.0.154/29 scope global secondary vlan2
>        valid_lft forever preferred_lft forever
> 
> The association uses the secondary addresses for both interface as local address:
> 
> ffff810136d2c000 ffff8101370a3b40 2   1   4  40533    7        0        0     100  5866 1111  2222  *10.0.0.146 10.0.0.154 <-> *10.0.0.20 10.0.0.36
> 
> And there is a routing entry, which tells to use vlan 2 if 10.0.0.36 is the destination:
> 
> 10.0.0.32/28 via 10.0.0.153 dev vlan2

what is 10.0.0.153?

> 
> But capturing on that interface shows the HB ACKs going back with a wrong address:
> 
> 18:43:31.917051 IP 10.0.0.36.2222 > 10.0.0.154.1111: sctp (1) [HB REQ]
> 18:43:31.917057 IP 10.0.0.146.1111 > 10.0.0.36.2222: sctp (1) [HB ACK]
> 
> More exactly, with the primary address of that association. When I changed the second address of the association to 10.0.0.156 instead of .154, it works well, .156 is used. Also, when I set explicitly in the route enty which source address has to be used (10.0.0.154), it works also.
> The thing I don't understand why does it work with the interface's secondary address only when I specify the source address explicitly? I thought they are equal from this point of view, and when SCTP stack specifies the source address, IP won't overwrite it when it is existing on that interface.
> 
> Is this a bug or a feature? Unfortunatelly I have to use a pretty old kernel, 2.6.21.7, and I tried to search the changelogs to find if this is a fixed problem, but without luck. So I decided to ask you before I make efforts to try this out on a newer kernel.
> 
> Thanks for your help beforehand!
> 
> Kiss Zoltán
> 
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-sctp" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 


-- 

Best Regards
-----
Shan Wei

^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: Source address selection with secondary interface address
  2010-11-17 16:22 Source address selection with secondary interface address Kiss, Zoltan (NSN - HU/Budapest)
                   ` (2 preceding siblings ...)
  2010-11-24  9:03 ` Shan Wei
@ 2010-11-24 15:18 ` Kiss, Zoltan (NSN - HU/Budapest)
  2010-11-25  2:11 ` Shan Wei
  4 siblings, 0 replies; 6+ messages in thread
From: Kiss, Zoltan (NSN - HU/Budapest) @ 2010-11-24 15:18 UTC (permalink / raw)
  To: linux-sctp

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.

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?)

I will check Vlad's tree later

Regards,

Zoli

-----Original Message-----
From: ext Shan Wei [mailto:shanwei@cn.fujitsu.com] 
Sent: Wednesday, November 24, 2010 10:04 AM
To: Kiss, Zoltan (NSN - HU/Budapest)
Cc: linux-sctp@vger.kernel.org; lksctp-developers@lists.sourceforge.net
Subject: Re: Source address selection with secondary interface address

Kiss, Zoltan (NSN - HU/Budapest) wrote, at 11/23/2010 11:24 PM:
> Hi,
> 
> I still don't know am I writing to the good mailing list, because I didn't received any feedback, so please someone reply to me if I'm writing to a wrong address.
> I've started to investigate my problem in the kernel code, and I found the following:
> 
> - before SCTP layer send the packet to IP, it fills the src IP address in the skbuff (see net/sctp/output.c:333 in 2.6.21.7 kernel code)

Yes.

> - it queries the routing table in sctp_transport_route (see transport.c) to find a route to the destination (which is the secondary address of the remote end)

The destination is .36.

> - the routing entry will return an address of that interface. Here comes the problem, because it returns only one address basically, the primary address of that interface (except if src IP is explicitly specified to that route)
> - it won't match any of the associations local address, of course, because they are secondary addresses on those interfaces

The route entry you setted is:
10.0.0.36/28 via 10.0.0.153 dev vlan2

So the source ip address of the route entry is 10.0.0.153 which is not match any local address of association.
The local address of association is .146(as primary), and .154.

> - the next thing is not clear yet to me: the sctp_v4_get_dst (see protocol.c) tries to find a destination in the routing table according to its local addresses. Based on this it should choose a different interface than the actually used. Or could it be that struct dst_entry doesn't change the actual outgoing interface?

The next things is that:
The association used every local address as source address of flowi struct to search route.
If succeed, then use this source address to send HEARTBEAT ACK chunk.
So the source address of HEARTBEAT ACK chunk is .146, not .154.

so, when you set explicitly in the route enty which source address has to be used (10.0.0.154), it works also.
I think you set route entry without source address, it works still ok.
like: ip route add 10.0.0.36 dev eth0


> As I checked, 2.6.31.1 works in a similiar manner. Before I'm going forward, could anyone help me in confirming or disclaiming about the above?
> 
> Thanks for the help,
> 
> Zoltán, Kiss
> 
> -----Original Message-----
> From: Kiss, Zoltan (NSN - HU/Budapest) 
> Sent: Wednesday, November 17, 2010 5:22 PM
> To: 'linux-sctp@vger.kernel.org'
> Subject: Source address selection with secondary interface address
> 
> Hi,
> 
> I have an issue with source IP selection in case of multihoming. In my configuration the host has two addresses on different VLAN interfaces and subnets:
> 
> 1: vlan1@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue
>     inet 10.0.0.148/29 scope global vlan1
>     inet 10.0.0.146/29 scope global secondary vlan1
>        valid_lft forever preferred_lft forever
> 2: vlan2@eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue
>     inet 10.0.0.156/29 scope global vlan2
>     inet 10.0.0.154/29 scope global secondary vlan2
>        valid_lft forever preferred_lft forever
> 
> The association uses the secondary addresses for both interface as local address:
> 
> ffff810136d2c000 ffff8101370a3b40 2   1   4  40533    7        0        0     100  5866 1111  2222  *10.0.0.146 10.0.0.154 <-> *10.0.0.20 10.0.0.36
> 
> And there is a routing entry, which tells to use vlan 2 if 10.0.0.36 is the destination:
> 
> 10.0.0.32/28 via 10.0.0.153 dev vlan2

what is 10.0.0.153?

> 
> But capturing on that interface shows the HB ACKs going back with a wrong address:
> 
> 18:43:31.917051 IP 10.0.0.36.2222 > 10.0.0.154.1111: sctp (1) [HB REQ]
> 18:43:31.917057 IP 10.0.0.146.1111 > 10.0.0.36.2222: sctp (1) [HB ACK]
> 
> More exactly, with the primary address of that association. When I changed the second address of the association to 10.0.0.156 instead of .154, it works well, .156 is used. Also, when I set explicitly in the route enty which source address has to be used (10.0.0.154), it works also.
> The thing I don't understand why does it work with the interface's secondary address only when I specify the source address explicitly? I thought they are equal from this point of view, and when SCTP stack specifies the source address, IP won't overwrite it when it is existing on that interface.
> 
> Is this a bug or a feature? Unfortunatelly I have to use a pretty old kernel, 2.6.21.7, and I tried to search the changelogs to find if this is a fixed problem, but without luck. So I decided to ask you before I make efforts to try this out on a newer kernel.
> 
> Thanks for your help beforehand!
> 
> Kiss Zoltán
> 
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-sctp" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 


-- 

Best Regards
-----
Shan Wei

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Source address selection with secondary interface address
  2010-11-17 16:22 Source address selection with secondary interface address Kiss, Zoltan (NSN - HU/Budapest)
                   ` (3 preceding siblings ...)
  2010-11-24 15:18 ` Kiss, Zoltan (NSN - HU/Budapest)
@ 2010-11-25  2:11 ` Shan Wei
  4 siblings, 0 replies; 6+ messages in thread
From: Shan Wei @ 2010-11-25  2:11 UTC (permalink / raw)
  To: linux-sctp

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





^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-11-25  2:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-17 16:22 Source address selection with secondary interface address Kiss, Zoltan (NSN - HU/Budapest)
2010-11-23 15:24 ` Kiss, Zoltan (NSN - HU/Budapest)
2010-11-24  7:06 ` Shan Wei
2010-11-24  9:03 ` Shan Wei
2010-11-24 15:18 ` Kiss, Zoltan (NSN - HU/Budapest)
2010-11-25  2:11 ` Shan Wei

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.