All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] Why TTL is changing when sending a ping?
@ 2007-03-30 20:30 ` ArcosCom Linux User
  0 siblings, 0 replies; 5+ messages in thread
From: ArcosCom Linux User @ 2007-03-30 20:30 UTC (permalink / raw)
  To: lartc

The situation is this:

INTERNET -- ROUTER -- ETHERNET+WIFI -- PC's

The conection between INTERNET and ROUTER is done with 2 LINKs with static
IP's.

The conection between ROUTER and PC's is done via ETHERNET lan with many
bridges and ACCESSPOINTS.

The PC's are in a IP subnet, the BRIDGES in another IP subnet, the AP's in
another IP subnet. The ROUTER has 1 bridge interface (2 real ethernets in
the bridge) connected to the LAN.

In the router exists then br0, br0:1, br0:2, br0:3 (PCs, APs, BRIDGEs IP
subnets) to allow IP connection over the ETHERNET+WIFI between ROUTER and
clients.

The principal purpose of the ROUTER is to allow internet acces to PC's.
The BRIDGES and AP's have got implemented STP protocol and appears to be
working fine (ap's and bridges are embedded linux boxes).

In router I have enabled rp_filter in all interfaces, default and each one.
The ip routing is enabled too (obviously).

I detected that a normal ping from ROUTER to one PC usually has a TTLd,
but many times that TTL changes to 128.

What could be the problem? The "routing" enabled in bridge devices?
Some TCP/IP parameter I don't configured fine?
Any idea?

Thanks



_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

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

* [Bridge] Why TTL is changing when sending a ping?
@ 2007-03-30 20:30 ` ArcosCom Linux User
  0 siblings, 0 replies; 5+ messages in thread
From: ArcosCom Linux User @ 2007-03-30 20:30 UTC (permalink / raw)
  To: LARTC, bridge

The situation is this:

INTERNET -- ROUTER -- ETHERNET+WIFI -- PC's

The conection between INTERNET and ROUTER is done with 2 LINKs with static
IP's.

The conection between ROUTER and PC's is done via ETHERNET lan with many
bridges and ACCESSPOINTS.

The PC's are in a IP subnet, the BRIDGES in another IP subnet, the AP's in
another IP subnet. The ROUTER has 1 bridge interface (2 real ethernets in
the bridge) connected to the LAN.

In the router exists then br0, br0:1, br0:2, br0:3 (PCs, APs, BRIDGEs IP
subnets) to allow IP connection over the ETHERNET+WIFI between ROUTER and
clients.

The principal purpose of the ROUTER is to allow internet acces to PC's.
The BRIDGES and AP's have got implemented STP protocol and appears to be
working fine (ap's and bridges are embedded linux boxes).

In router I have enabled rp_filter in all interfaces, default and each one.
The ip routing is enabled too (obviously).

I detected that a normal ping from ROUTER to one PC usually has a TTL=64,
but many times that TTL changes to 128.

What could be the problem? The "routing" enabled in bridge devices?
Some TCP/IP parameter I don't configured fine?
Any idea?

Thanks




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

* Re: [Bridge] Why TTL is changing when sending a ping?
  2007-03-30 20:30 ` [Bridge] " ArcosCom Linux User
  (?)
@ 2007-04-01 19:05 ` Stephen Hemminger
  -1 siblings, 0 replies; 5+ messages in thread
From: Stephen Hemminger @ 2007-04-01 19:05 UTC (permalink / raw)
  To: linux; +Cc: LARTC, bridge

On Fri, 30 Mar 2007 22:30:36 +0200 (CEST)
"ArcosCom Linux User" <linux@arcoscom.com> wrote:

> The situation is this:
> 
> INTERNET -- ROUTER -- ETHERNET+WIFI -- PC's
> 
> The conection between INTERNET and ROUTER is done with 2 LINKs with static
> IP's.
> 
> The conection between ROUTER and PC's is done via ETHERNET lan with many
> bridges and ACCESSPOINTS.
> 
> The PC's are in a IP subnet, the BRIDGES in another IP subnet, the AP's in
> another IP subnet. The ROUTER has 1 bridge interface (2 real ethernets in
> the bridge) connected to the LAN.
> 
> In the router exists then br0, br0:1, br0:2, br0:3 (PCs, APs, BRIDGEs IP
> subnets) to allow IP connection over the ETHERNET+WIFI between ROUTER and
> clients.
> 
> The principal purpose of the ROUTER is to allow internet acces to PC's.
> The BRIDGES and AP's have got implemented STP protocol and appears to be
> working fine (ap's and bridges are embedded linux boxes).
> 
> In router I have enabled rp_filter in all interfaces, default and each one.
> The ip routing is enabled too (obviously).
> 
> I detected that a normal ping from ROUTER to one PC usually has a TTL=64,
> but many times that TTL changes to 128.
> 
> What could be the problem? The "routing" enabled in bridge devices?
> Some TCP/IP parameter I don't configured fine?
> Any idea?
> 

Are you using some form of connection tracking filtering on the bridge?
If the packet has to be regenerated as part of filtering it might
restart the TTL hop count.

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

* [LARTC] Re: [Bridge] Why TTL is changing when sending a ping?
  2007-04-01 19:05 ` Stephen Hemminger
@ 2007-04-01 20:43 ` ArcosCom Linux User
  -1 siblings, 0 replies; 5+ messages in thread
From: ArcosCom Linux User @ 2007-04-01 20:43 UTC (permalink / raw)
  To: lartc

El Dom, 1 de Abril de 2007, 21:05, Stephen Hemminger escribió:
> On Fri, 30 Mar 2007 22:30:36 +0200 (CEST)
> "ArcosCom Linux User" <linux@arcoscom.com> wrote:
>
>> The situation is this:
>>
>> INTERNET -- ROUTER -- ETHERNET+WIFI -- PC's
>>
>> The conection between INTERNET and ROUTER is done with 2 LINKs with
>> static
>> IP's.
>>
>> The conection between ROUTER and PC's is done via ETHERNET lan with many
>> bridges and ACCESSPOINTS.
>>
>> The PC's are in a IP subnet, the BRIDGES in another IP subnet, the AP's
>> in
>> another IP subnet. The ROUTER has 1 bridge interface (2 real ethernets
>> in
>> the bridge) connected to the LAN.
>>
>> In the router exists then br0, br0:1, br0:2, br0:3 (PCs, APs, BRIDGEs IP
>> subnets) to allow IP connection over the ETHERNET+WIFI between ROUTER
>> and
>> clients.
>>
>> The principal purpose of the ROUTER is to allow internet acces to PC's.
>> The BRIDGES and AP's have got implemented STP protocol and appears to be
>> working fine (ap's and bridges are embedded linux boxes).
>>
>> In router I have enabled rp_filter in all interfaces, default and each
>> one.
>> The ip routing is enabled too (obviously).
>>
>> I detected that a normal ping from ROUTER to one PC usually has a
>> TTLd,
>> but many times that TTL changes to 128.
>>
>> What could be the problem? The "routing" enabled in bridge devices?
>> Some TCP/IP parameter I don't configured fine?
>> Any idea?
>>
>
> Are you using some form of connection tracking filtering on the bridge?
> If the packet has to be regenerated as part of filtering it might
> restart the TTL hop count.
>

Yes, but not really into the bridges as is. I'm using tracking between
wan0 an zlan0, not between the bridges interfaces.

As I described below, the TTL changes with pings from ROUTER to any PC, my
question is not about pings from LAN to internet and in this case (local
pings from router to PCs) the tracking I expect has no effect, is ICMP
trafic (echo requests and answers).

Could you explain a bit how connection tracking modules (IP layer) can
interfere with ICMP traffic as you suggest?

Any other suggestions?

_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

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

* Re: [Bridge] Why TTL is changing when sending a ping?
@ 2007-04-01 20:43 ` ArcosCom Linux User
  0 siblings, 0 replies; 5+ messages in thread
From: ArcosCom Linux User @ 2007-04-01 20:43 UTC (permalink / raw)
  To: lartc, bridge

El Dom, 1 de Abril de 2007, 21:05, Stephen Hemminger escribió:
> On Fri, 30 Mar 2007 22:30:36 +0200 (CEST)
> "ArcosCom Linux User" <linux@arcoscom.com> wrote:
>
>> The situation is this:
>>
>> INTERNET -- ROUTER -- ETHERNET+WIFI -- PC's
>>
>> The conection between INTERNET and ROUTER is done with 2 LINKs with
>> static
>> IP's.
>>
>> The conection between ROUTER and PC's is done via ETHERNET lan with many
>> bridges and ACCESSPOINTS.
>>
>> The PC's are in a IP subnet, the BRIDGES in another IP subnet, the AP's
>> in
>> another IP subnet. The ROUTER has 1 bridge interface (2 real ethernets
>> in
>> the bridge) connected to the LAN.
>>
>> In the router exists then br0, br0:1, br0:2, br0:3 (PCs, APs, BRIDGEs IP
>> subnets) to allow IP connection over the ETHERNET+WIFI between ROUTER
>> and
>> clients.
>>
>> The principal purpose of the ROUTER is to allow internet acces to PC's.
>> The BRIDGES and AP's have got implemented STP protocol and appears to be
>> working fine (ap's and bridges are embedded linux boxes).
>>
>> In router I have enabled rp_filter in all interfaces, default and each
>> one.
>> The ip routing is enabled too (obviously).
>>
>> I detected that a normal ping from ROUTER to one PC usually has a
>> TTL=64,
>> but many times that TTL changes to 128.
>>
>> What could be the problem? The "routing" enabled in bridge devices?
>> Some TCP/IP parameter I don't configured fine?
>> Any idea?
>>
>
> Are you using some form of connection tracking filtering on the bridge?
> If the packet has to be regenerated as part of filtering it might
> restart the TTL hop count.
>

Yes, but not really into the bridges as is. I'm using tracking between
wan0 an zlan0, not between the bridges interfaces.

As I described below, the TTL changes with pings from ROUTER to any PC, my
question is not about pings from LAN to internet and in this case (local
pings from router to PCs) the tracking I expect has no effect, is ICMP
trafic (echo requests and answers).

Could you explain a bit how connection tracking modules (IP layer) can
interfere with ICMP traffic as you suggest?

Any other suggestions?


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

end of thread, other threads:[~2007-04-01 20:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-30 20:30 [LARTC] Why TTL is changing when sending a ping? ArcosCom Linux User
2007-03-30 20:30 ` [Bridge] " ArcosCom Linux User
2007-04-01 19:05 ` Stephen Hemminger
2007-04-01 20:43 [LARTC] " ArcosCom Linux User
2007-04-01 20:43 ` ArcosCom Linux User

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.