* Problem: ip_forward in 2.6.27 via realtek 8169 and rt2500pci needs mtu 185 on machines in LAN
@ 2008-10-24 1:41 Joerg M. Sigle
2008-10-24 6:28 ` Evgeniy Polyakov
0 siblings, 1 reply; 4+ messages in thread
From: Joerg M. Sigle @ 2008-10-24 1:41 UTC (permalink / raw)
To: netdev
Hi.
Here is a very brief possible error report.
I've done a *brief* search in WWW and Usenet before filing it.
I'm sending this report here upon advice from kernelnewbies.org.
Please forgive me if I'm posting things you already know -
in that case, however, I'd appreciate your feedback.
Problem:
---------
When I route two linux boxen (client1, client2) Ethernet ipv4
from LAN to WLAN through another linux box (routerbox),
I must set mtu 185 (or lower...) on the clients.
Otherwise some responses (specifically, packets above some size)
to the clients will never arrive from servers in WLAN/Internet.
The problem is not resolved by info regarding TCPMSS etc.,
and apparently caused somewhere in routerbox under Linux 2.6.27.
Details below.
Question:
---------
Is there anything
in the rt2500pci WLAN driver included in this kernel,
or in the ip_forwarder,
or in the Realtek 8169 Gigabit Ethernet driver,
that fails for packets larger than 185 bytes?
Setup:
------
Linux box1
eth0:192.168.1.1 (3com Vortex or so)
|
|
|
| Linux Box2
| eth0:192.168.1.4 (Ne2000 PCMCIA)
| |
| |
| |
SimpleSwitch
|
|
|
eth0:192.168.1.40 (Realtek 8169 onboard)
Linux routerbox (Plain vanilla 2.6.27 SMP)
wlan0:192.168.2.40 (Ralink rt2500 PCI)
|
|
|
USR8054 dedicated WLAN-Router
|
|
|
Internet (or so).
Notes/previous research:
------------------------
- The necessity to reduce the mtu on the clients goes away, when routerbox runs w2k,
so the problem is definitely not in hardware nor the environment nor the clients.
(Well, in that world, the WLAN connection goes down for some secs and back up from
time to time, and I'm unhappy that I had to download a 32MB!! driver!! package...)
- A browser on router itself has no problem to contact anything outside.
- Routing on USR-WLAN-router, on router itself, and on clients is IMHO
all configured ok. There's no problem with DNS, or getting standard pings
or even an ftp login through to the Internet. The problem is only
getting large packages through (or probably: back), I verified that
also with ping -size and -M do|want|don't.
- Watching traffic with 3 instances of ethereal,
e.g. when client requests a WWW page from the Internet, I can see:
client looks up WWW server IP from DNS - all ok
client contacts WWW server, ack, ack - all ok
client sends HTTP GET request: this goes out from client eth0,
comes in at router eth0, goes out at router wlan0.
But the response from server never arrives
(does not get visible in router wlan0 incoming traffic).
(and a bit later, client sends its repeated request)
- The simplest testcase is:
try to contact the http server in the USR8054 wlan-router,
(dedicated hardware, has current firmware).
The attempt to see the configuration page will fail as described,
when the client mtu is above 185 (tried from box1 and box2).
This shows there's NO problem with any Internet
provider messing with package sizes, fragmentation etc.
(And what I tried as recommended in CONFIG_NETFILTER_XT_TARGET_TCPMSS
help, before I saw the problem appeared as well for
the server in USR8054, and when routerbox was in NAT mode,
did apparently NOT affect the observed problem at all).
- It doesn't matter whether router just forwards packages,
or works as a masquerading firewall, and it does not help
to enable "WAN bridging" - I tried all of these.
- I tried other options like using a netmask of 255.255.0.0,
and having all networking cards in 192.168.1.0, to no avail
(and I don't want such a thing anyway...)
- Reducing the mtu on router's wlan0 to about 510 lets some but
not all web pages from the Internet successfuly appear on clients
box1 and box2.
Further reduction improves results.
At about mtu=360, most pages come through, but
e.g. apt-get update on client or large ping still stalls.
Only mtu=185 on either client results in a *perfectly* stable result,
no matter what mtu is set on router's wlan0.
- mtu=186 on the clients is not sufficient.
It must be 185 (or lower, I guess).
- Sorry, at the moment most of my hardware is somewhere else -
so I did not replace any of router's network cards by another one
to further track down the problem. Neither can I look at the
traffic in the WLAN in detail at the moment. My time for
experiments is sadly limited as well...
Further info:
-------------
Router uses a WPA connection, and wireless_tools and wpa_supplicant
are the most recent versions I could get to work with this system.
Alternative available Ralink drivers would not compile with 2.6.27,
and I cannot try older kernels now or soon.
I disabled many options when trying to isolate the source of the error.
The current 2.6.27 Kernel configuration on router has enabled ONLY:
Networking support:
Networking options:
Packet socket, mmapped
Unix domain sockets
Transformation user config if
PF_KEY sockets
TCP/IP networking
IP: multicasting
IP: advanced router
IP: TCP syncookie support (disabled per default)
Large Receive Offload (ip4/tcp) <-------- uneducated guess: possible problem?
INET: socket monitoring
Network packet filtering (Netfiler)
Advanced netfilter configuration
Core: NFQUEUE + LOG over NFNETLINK
Connection tracking flow..., mark..., tracking...
FTP, H.323, IRC, SIP protocols support
Conection tracking netlink interface
Netfilter Xtables support
state match support
IP: IPv4 connection tracking
proc/sysctl compat
IP tables support
Packet filtering: REJECT, LOG, ULOG, Full NAT, MASQ, REDIRECT
IPX
Bluetooth,
wireless: Improved API,
new netlink interface,
wext, wext sysfs,
Gen. 802.11 (mac8022),
Gen. 802.11 (DEPR), WEP, CCMP, TKIP
+RF switch subsystem
(As mentioned above, the problem occurs in simple ip_forwarding as well
as in NAT mode, so these options are probably overkill for the simplest
test setup.)
Network device drivers (all as modules):
Dummy,
Bonding,
EQL,
Universal TUN/TAP,
Surfboard 1000
eth10/100: Generic Media Inep Interf and nForce Ethernet
eth1000: Realtek 8169 and Yukon2 Gigabit Ethernet
wireless: Ralink driver support, Ralink rt2500 (PCI/PCMCIA), rfkill, leds
Network console logging support.
(Other drivers than 8169/rt2500 not really needed, but leftovers.)
(Apart from this peculiarity, the systems apparently are stable;
I could work with mtu=185, but I don't like the issue looming around,
neither the tx/rx graph showing the extra handshaking traffic...)
Closing:
--------
I hope that the problem is not caused by faulty configuration,
and that this report is useful for you in fixing it. Good luck!
Thanks for your reading time, thanks for doing a lot
of great work and keeping that up over the years!
Best wishes, Joerg
--
-------------------------------------------------------------------
Dr. med. Jörg M. Sigle
http://www.ql-recorder.com
http://www.jsigle.com Have a lovely day...
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: Problem: ip_forward in 2.6.27 via realtek 8169 and rt2500pci needs mtu 185 on machines in LAN
2008-10-24 1:41 Problem: ip_forward in 2.6.27 via realtek 8169 and rt2500pci needs mtu 185 on machines in LAN Joerg M. Sigle
@ 2008-10-24 6:28 ` Evgeniy Polyakov
2008-10-24 12:54 ` Joerg M. Sigle
0 siblings, 1 reply; 4+ messages in thread
From: Evgeniy Polyakov @ 2008-10-24 6:28 UTC (permalink / raw)
To: Joerg M. Sigle; +Cc: netdev
Hi Joerg.
On Fri, Oct 24, 2008 at 03:41:42AM +0200, Joerg M. Sigle (joerg.sigle@jsigle.com) wrote:
> Linux box1
> eth0:192.168.1.1 (3com Vortex or so)
> |
> | Linux Box2
> | eth0:192.168.1.4 (Ne2000 PCMCIA)
> | |
> SimpleSwitch
> |
> eth0:192.168.1.40 (Realtek 8169 onboard)
> Linux routerbox (Plain vanilla 2.6.27 SMP)
> wlan0:192.168.2.40 (Ralink rt2500 PCI)
> |
> USR8054 dedicated WLAN-Router
> |
> Internet (or so).
Let me clarify the problem. Traffic fom linux clients only goes through
above setup if mtu on the USR8054 lan device is 185 bytes, correct?
Can you run network traffic with big mtu (normal 1500 bytes) between
linux router and clients? Between clients?
--
Evgeniy Polyakov
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Problem: ip_forward in 2.6.27 via realtek 8169 and rt2500pci needs mtu 185 on machines in LAN
2008-10-24 6:28 ` Evgeniy Polyakov
@ 2008-10-24 12:54 ` Joerg M. Sigle
2008-10-24 14:30 ` Evgeniy Polyakov
0 siblings, 1 reply; 4+ messages in thread
From: Joerg M. Sigle @ 2008-10-24 12:54 UTC (permalink / raw)
To: Evgeniy Polyakov; +Cc: netdev
Hi, Evgeniy!
Thank you for your quick reply.
> Let me clarify the problem. Traffic fom linux clients only goes through
> above setup if mtu on the USR8054 lan device is 185 bytes, correct?
No, not correct.
Traffic from client1 goes through if mtu on client1 eth0 is 185,
traffic from client2 goes through if mtu on client2 eth0 is 185.
The setting on the USR8054 cannot be changed (to my knowledge).
Changing the mtu on linux routerbox wlan0 can *improve* the situation
for some www sites as described, but *not completely* correct it.
(Because the rt2500pci wlan0 mtu goes down to 256 only, not further.
That lets many more, but not all, packets get through.)
Setting routerbox eth0 mtu to 185 does not help anything.
> Can you run network traffic with big mtu (normal 1500 bytes) between
> linux router and clients? Between clients?
Yes.
All traffic that does NOT include routerbox is ok.
All traffic that does NOT include (external) ip_forwarding in routerbox is ok
(To and from both interfaces: eth0 or wlan0, large pings are ok;
even large pings to the opposite interface of routerbox are ok:
client1 $ ping -s 1024 192.168.2.40 <--wlan0 side of routerbox from LAN, ok
vbox > ping -l 1024 192.168.1.40 <--eth0 side of routerbox from WLAN, ok,
see below for vbox details
but NOT large pings which must *leave* routerbox on the other side again.)
All traffic that DOES use ip_forwarding, and thus, both physical interfaces,
in routerbox, has a problem with large packages.
---
Sorry, in my previous posting I "improved" some of the
names given to the machines just before sending -
incompletely done. Below are all equivalents I used.
Linux box1 = client1
eth0:192.168.1.1 (3com Vortex or so)
|
| Linux box2 = client2
| eth0:192.168.1.4 (Ne2000 PCMCIA)
| |
SimpleSwitch
|
eth0:192.168.1.40 (Realtek 8169 onboard)
Linux routerbox = router
wlan0:192.168.2.40 (Ralink rt2500 PCI)
|
wlan: 192.168.2.253
USR8054 dedicated WLAN-Router
WAN: dhcp lan: 192.168.2.253
|
Internet (or so).
The WAN/Internet side of USR8054 is unimportant, as the
problem can be demonstrated already when I access the
USR builtin httpd from client1 or client2 accross routerbox.
Btw., direct access to USR builtin httpd is ok (and has
been for years) from any of the machines (including from
a browser running ON, not BEHIND, routerbox).
-------------------------------------------------------
New, additional testing done right now.
Question: Do the same ip_forwarding problems appear
on another machine, with other networking cards?
Method: So I change the configuration of client1 and
give it a second network card, and use another machine,
xpbox, to try out ip_forwarding behaviour accross client1
(instead of accross routerbox).
Extended setup:
---------------
xpbox <-- new
eth1:192.168.4.71/24 (built in WLAN adhoc open) <-- new
|
eth1:192.168.4.1/24 (Aironet WLAN adhoc open) <-- new
Linux box1 = client1 (2.6.27 with ip_forwarding)
eth0:192.168.1.1/24 (3com Vortex or so)
|
| Linux box2 = client2
| eth0:192.168.1.4 (Ne2000 PCMCIA)
| |
SimpleSwitch
|
eth0:192.168.1.40/24 (Realtek 8169 onboard)
Linux routerbox = router (2.6.27 with ip_forwarding)
wlan0:192.168.2.40/24 (Ralink rt2500 PCI)
|
wlan: 192.168.2.253
USR8054 dedicated WLAN-Router
|
Internet
Routing configuration additions:
xpbox : default gw 192.168.4.1; dns server 192.168.2.253
client1 : ip_forward:=1
routerbox : route add 192.168.4.71 gw 192.168.1.1
USR8054 : static route 192.168.4.0/24 -> 192.168.2.40
Results:
ip_forwarding for small packets via client1 and via routerbox:
routerbox $ ping 192.168.2.253 ok (USR8054)
client1 $ ping 192.168.1.1 ok (itself)
client1 $ ping 192.168.1.4 ok (client2)
client1 $ ping 192.168.1.40 ok (routerbox)
client1 $ ping 192.168.4.71 ok (xpbox)
client1 $ ping 192.168.2.253 ok (USR8054, via routerbox)
client1 $ ping www.kernel.org ok (via routerbox and USR8054)
xpbox > ping 192.168.4.71 ok (itself)
xpbox > ping 192.168.1.1 ok (client1)
xpbox > ping 192.168.1.4 ok (client2)
xpbox > ping 192.168.1.40 ok (routerbox, via client1)
xpbox > ping 192.168.2.253 ok (USR8054, via client1 and routerbox)
xpbox > ping www.kernel.org ok (via client1 and routerbox and USR8054)
So far so good, these were all small packets,
and all that works with mtu=1500 on client1.
ip_forwarding for large packets via client1 and via routerbox
for mtu=1500 on client1:
routerbox $ ping 192.168.2.253 -s 1024 ok (USR8054 directly via wlan0, WPA-PSK)
client1 $ ping 192.168.2.253 -s 1024 timeout (via routerbox, known large packet problem)
xpbox > ping -l 1024 192.168.1.1 ok (client1 via open adhoc WLAN)
xpbox > ping -l 1024 192.168.1.4 ok (client2 via client1; ip_forwarding in client1 ok)
xpbox > ping -l 1024 192.168.1.40 ok (routerbox via client1; ip_forwarding in client1 ok)
xpbox > ping -l 1024 192.168.2.253 timeout (via client1 and routerbox; ip_forwarding in routerbox problematic)
ip_forwarding for large packets via client1 and via routerbox
for mtu=185 on client1 eth0 (points towards routerbox):
xpbox > ping -l 1024 192.168.2.253 ok (via client1 and routerbox; client1 eth0 mtu=185)
My interpretation of these findings:
So ip_forwarding for large packages works accross client1,
while it is problematic accross routerbox.
Well, the kernel on client1 has probably more options
activated than the further stripped down kernel on routerbox,
but they were similarly configured when the problem first occured.
At some time during testing, routerbox had all (or so) available options ON,
and the problem still occured.
In particular, networking options "Large Receive Offload (ipv4/tcp)"
is OFF on client1 (for no other reason than lack of time...),
whereas it is marked as "M"odule on routerbox.
I just checked routerbox for that: inet_lro was NOT loaded during
the above tests, and loading it did NOT improve the ip_forwarding
for large packages. IMHO that makes this option at least less
probable as source of the problem.
So... all this supports my idea that there's some problem
with ip_forwarding *and* at least one of the network cards
in routerbox.
I *could* try what happens when I replace the network cards in
routerbox, but not before ca. 2 weeks from now, maybe even later.
-------------------------------------------------------
Some more new testing, done right now, with another machine.
[Test setup does not behave as expected. Results indicate another,
possibly losely related problem (but possibly configuration or
firewall or other-os related). Not to be of primary interest
right now, findings mainly posted for reference and completeness.]
Linux box1 = client1
eth0:192.168.1.1/24 (3com Vortex or so)
gw=192.168.1.40
|
| Linux box2 = client2
| eth0:192.168.1.4/24 (Ne2000 PCMCIA)
| gw=192.168.1.40
| |
SimpleSwitch
|
eth0:192.168.1.40/24 (Realtek 8169 onboard)
Linux routerbox = router (2.6.27 with ip_forwarding)
gw=192.168.2.253
wlan0:192.168.2.40/24 (Ralink rt2500 PCI)
|
wlan: 192.168.2.253
static route: 192.168.1.0->192.168.2.40
USR8054 dedicated WLAN-Router
wan: dhcp lan: 192.168.2.253
| |
| eth0: 192.168.2.100 (dhcp) <-- new
| vbox (Vista) <-- new
|
Internet
I wanted to test whether vbox would receive large
packages from client1; in order to check whether the
routerbox problem occurs in both directions.
However, in preparation, I found:
vbox can ping 192.168.2.253, 192.168.2.40, 192.168.1.40
vbox cannot ping 192.168.1.1 or 192.168.1.4 (nor 192.168.4.71)
Hmmm. The "ARP who has 192.168.1.1?" from vbox is
forwarded by USR8054 to routerbox, it appears on wlan0.
routerbox itself sends an "ARP who has 192.168.1.1?"
on its eth0, and receives an answer from client1.
But routerbox never sends back that answer towards wlan0.
Is that correct behaviour, even if ip_forwarding is on?
Why is that? Because "bridge" kernel option is disabled?
Moreover, routerbox does not receive ping answers from vbox,
but I guess that's because vbox doesn't want to send them
(Windows default config, IIRC).
routerbox receives a correct ARP broadcast reply for vbox
from USR8054 at least, and pings between routerbox and
URS8054 work either way.
vbox has an old smbserver entry for client1, which probably
says that it could see client1 yesterday while routerbox was
running w2k, but not right now. I can see that BROWSER
announcements which appear on one side of routerbox right
now do NOT go out on the other side (but ip_forward is 1).
Hmm. This test which was originally made just to test
whether traffic in the other direction accross routerbox
also would have problems with large packets, shows that
indeed, it may have problems with ARP request forwarding.
Or I don't know enough about the issue... Maybe it was
a temporary problem due too much network structure changes
per time. This adds complication, not clarity. Sorry.
-------------------------------------------------------
Ok, hope this additional info is helpful.
Sorry for the long text, I think detail is helpful here,
and I will not be able to continue testing/reporting
at least over the next week (systems out of reach).
Good success + best regards, Joerg
--
-------------------------------------------------------------------
Dr. med. Jörg M. Sigle +41-76-276-8694
http://www.ql-recorder.com +49-163-143-7876
http://www.jsigle.com Have a lovely day... +49-176-964-35413
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: Problem: ip_forward in 2.6.27 via realtek 8169 and rt2500pci needs mtu 185 on machines in LAN
2008-10-24 12:54 ` Joerg M. Sigle
@ 2008-10-24 14:30 ` Evgeniy Polyakov
0 siblings, 0 replies; 4+ messages in thread
From: Evgeniy Polyakov @ 2008-10-24 14:30 UTC (permalink / raw)
To: Joerg M. Sigle; +Cc: netdev
On Fri, Oct 24, 2008 at 02:54:39PM +0200, Joerg M. Sigle (joerg.sigle@jsigle.com) wrote:
> > Can you run network traffic with big mtu (normal 1500 bytes) between
> > linux router and clients? Between clients?
>
> Yes.
>
> All traffic that does NOT include routerbox is ok.
>
> All traffic that does NOT include (external) ip_forwarding in routerbox is
> ok
> (To and from both interfaces: eth0 or wlan0, large pings are ok;
> even large pings to the opposite interface of routerbox are ok:
> client1 $ ping -s 1024 192.168.2.40 <--wlan0 side of routerbox from LAN, ok
> vbox > ping -l 1024 192.168.1.40 <--eth0 side of routerbox from WLAN,
> ok,
> see below for vbox details
> but NOT large pings which must *leave* routerbox on the other side again.)
>
> All traffic that DOES use ip_forwarding, and thus, both physical interfaces,
> in routerbox, has a problem with large packages.
>
> ---
>
> Sorry, in my previous posting I "improved" some of the
> names given to the machines just before sending -
> incompletely done. Below are all equivalents I used.
>
> Linux box1 = client1
> eth0:192.168.1.1 (3com Vortex or so)
> |
> | Linux box2 = client2
> | eth0:192.168.1.4 (Ne2000 PCMCIA)
> | |
> SimpleSwitch
> |
> eth0:192.168.1.40 (Realtek 8169 onboard)
> Linux routerbox = router
> wlan0:192.168.2.40 (Ralink rt2500 PCI)
> |
> wlan: 192.168.2.253
> USR8054 dedicated WLAN-Router
> WAN: dhcp lan: 192.168.2.253
> |
> Internet (or so).
So, again, problem is not related to wlan traffic at all?
I.e. 192.168.1.1 -> 192.168.1.40 does not work ok with big mtu?
The same for 192.168.1.4 -> 192.168.1.40?
I.e. does ethernet connection work ok, or it is ralink problem?
> New, additional testing done right now.
>
>
> Question: Do the same ip_forwarding problems appear
> on another machine, with other networking cards?
>
>
> Method: So I change the configuration of client1 and
> give it a second network card, and use another machine,
> xpbox, to try out ip_forwarding behaviour accross client1
> (instead of accross routerbox).
>
>
>
> Extended setup:
> ---------------
>
> xpbox <-- new
> eth1:192.168.4.71/24 (built in WLAN adhoc open) <-- new
> |
> eth1:192.168.4.1/24 (Aironet WLAN adhoc open) <-- new
> Linux box1 = client1 (2.6.27 with ip_forwarding)
> eth0:192.168.1.1/24 (3com Vortex or so)
> |
> | Linux box2 = client2
> | eth0:192.168.1.4 (Ne2000 PCMCIA)
> | |
> SimpleSwitch
> |
> eth0:192.168.1.40/24 (Realtek 8169 onboard)
> Linux routerbox = router (2.6.27 with ip_forwarding)
> wlan0:192.168.2.40/24 (Ralink rt2500 PCI)
> |
> wlan: 192.168.2.253
> USR8054 dedicated WLAN-Router
> |
> Internet
>
>
> Routing configuration additions:
> xpbox : default gw 192.168.4.1; dns server 192.168.2.253
> client1 : ip_forward:=1
> routerbox : route add 192.168.4.71 gw 192.168.1.1
> USR8054 : static route 192.168.4.0/24 -> 192.168.2.40
> ip_forwarding for large packets via client1 and via routerbox
> for mtu=1500 on client1:
>
> routerbox $ ping 192.168.2.253 -s 1024 ok (USR8054 directly via
> wlan0, WPA-PSK)
> client1 $ ping 192.168.2.253 -s 1024 timeout (via routerbox, known
> large packet problem)
>
> xpbox > ping -l 1024 192.168.1.1 ok (client1 via open adhoc
> WLAN)
> xpbox > ping -l 1024 192.168.1.4 ok (client2 via client1;
> ip_forwarding in client1 ok)
> xpbox > ping -l 1024 192.168.1.40 ok (routerbox via client1;
> ip_forwarding in client1 ok)
> xpbox > ping -l 1024 192.168.2.253 timeout (via client1 and
> routerbox; ip_forwarding in routerbox problematic)
'-l' option does not specify size parameters, but number of packets to
send without waiting for reply before starting to wait.
> ip_forwarding for large packets via client1 and via routerbox
> for mtu=185 on client1 eth0 (points towards routerbox):
>
> xpbox > ping -l 1024 192.168.2.253 ok (via client1 and routerbox;
> client1 eth0 mtu=185)
>
> My interpretation of these findings:
>
> So ip_forwarding for large packages works accross client1,
> while it is problematic accross routerbox.
>
> Well, the kernel on client1 has probably more options
> activated than the further stripped down kernel on routerbox,
> but they were similarly configured when the problem first occured.
> At some time during testing, routerbox had all (or so) available options ON,
> and the problem still occured.
>
> In particular, networking options "Large Receive Offload (ipv4/tcp)"
> is OFF on client1 (for no other reason than lack of time...),
> whereas it is marked as "M"odule on routerbox.
>
> I just checked routerbox for that: inet_lro was NOT loaded during
> the above tests, and loading it did NOT improve the ip_forwarding
> for large packages. IMHO that makes this option at least less
> probable as source of the problem.
>
> So... all this supports my idea that there's some problem
> with ip_forwarding *and* at least one of the network cards
> in routerbox.
>
> I *could* try what happens when I replace the network cards in
> routerbox, but not before ca. 2 weeks from now, maybe even later.
To check this theory you only need to determine if ethernet or wlan
ralink card works bad, namely pinging via ethernet, which (if you
mistyped '-s' with '-l' in above explaination) works ok, so apparently
ralink driver makes something bad. Can you run ping with big mtu from
routerbox (192.168.2.40 to some host in the same 192.168.2.0 subnet,
like 192.168.2.253)?
> Linux box1 = client1
> eth0:192.168.1.1/24 (3com Vortex or so)
> gw=192.168.1.40
> |
> | Linux box2 = client2
> | eth0:192.168.1.4/24 (Ne2000 PCMCIA)
> | gw=192.168.1.40
> | |
> SimpleSwitch
> |
> eth0:192.168.1.40/24 (Realtek 8169 onboard)
> Linux routerbox = router (2.6.27 with ip_forwarding)
> gw=192.168.2.253
> wlan0:192.168.2.40/24 (Ralink rt2500 PCI)
> |
> wlan: 192.168.2.253
> static route: 192.168.1.0->192.168.2.40
> USR8054 dedicated WLAN-Router
> wan: dhcp lan: 192.168.2.253
> | |
> | eth0: 192.168.2.100 (dhcp) <-- new
> | vbox (Vista) <-- new
> |
> Internet
>
> I wanted to test whether vbox would receive large
> packages from client1; in order to check whether the
> routerbox problem occurs in both directions.
>
> However, in preparation, I found:
>
> vbox can ping 192.168.2.253, 192.168.2.40, 192.168.1.40
> vbox cannot ping 192.168.1.1 or 192.168.1.4 (nor 192.168.4.71)
Let's not mix different problems in the same task, this one is likely
because you run nat on routerbox, so client1 and vbox are in different
subnets and you can only initiate connections from client1.
Very likely your problem is not related to forwarding, but only to how
ralink works, and there is a possibility to have some kind of a
driver/hardware bug, which does not work work reliably with big-enough
mtu. Please test this theory by pinging from routerbox to some host via
ralink inteface (wlan router or vista box).
--
Evgeniy Polyakov
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-10-24 14:30 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-24 1:41 Problem: ip_forward in 2.6.27 via realtek 8169 and rt2500pci needs mtu 185 on machines in LAN Joerg M. Sigle
2008-10-24 6:28 ` Evgeniy Polyakov
2008-10-24 12:54 ` Joerg M. Sigle
2008-10-24 14:30 ` Evgeniy Polyakov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).