LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-09-2005, 10:47 AM   #1
sdrinkwater
LQ Newbie
 
Registered: Nov 2005
Location: Lancaster,Wi
Distribution: Red Hat
Posts: 2

Rep: Reputation: 0
MTUs across my router


Hello,
I have a FC4 router that routes packets between two Ethernet networks using quagga 98.5 for ripd.
network 1 is a 172.27.1.0/24 and the other is 172.27.2.0/24. If I do a
ifconfig I get the following output.
eth0 Link encap:Ethernet HWaddr 00:04:23:AAE:E6
inet addr:172.27.1.31 Bcast:172.27.1.255 Mask:255.255.255.0
inet6 addr: fe80::204:23ff:feaa:dee6/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:443482 errors:0 dropped:0 overruns:0 frame:0
TX packets:382153 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:128107305 (122.1 MiB) TX bytes:110925374 (105.7 MiB)
Base address:0x8000 Memory:fae80000-faea0000

eth2 Link encap:Ethernet HWaddr 00:04:23:AB:30:90
inet addr:172.27.2.31 Bcast:172.27.2.255 Mask:255.255.255.0
inet6 addr: fe80::204:23ff:feab:3090/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:8649 errors:0 dropped:0 overruns:0 frame:0
TX packets:10092 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:805678 (786.7 KiB) TX bytes:5423479 (5.1 MiB)
Base address:0x8800 Memory:fafc0000-fafe0000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:565 errors:0 dropped:0 overruns:0 frame:0
TX packets:565 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:30556 (29.8 KiB) TX bytes:30556 (29.8 KiB)

Now every thing looks good and I can ping hosts from each network. The
problem is that network packets traveling across this router get fragmented
to 1492 MTU. This fragmentation is causing problems with printing, windows
networking, and general sluggish performace of the router. I know of the
fragmentation because If I traceroute from my AIX box I get the following
output.
# traceroute 172.27.1.31
trying to get source for 172.27.1.31
source should be 172.27.1.2
traceroute to 172.27.1.31 (172.27.1.31) from 172.27.1.2 (172.27.1.2), 30
hops max
outgoing MTU = 1500
1 csqrouter (172.27.1.31) 1 ms 0 ms 0 ms

#traceroute 172.27.2.31
trying to get source for 172.27.2.31
source should be 172.27.1.2
traceroute to 172.27.2.31 (172.27.2.31) from 172.27.1.2 (172.27.1.2), 30
hops max
outgoing MTU = 1500
1 csq6611.pa-ucl.com (172.27.1.30) 3 ms 2 ms 2 ms
2 csq6611.pa-ucl.com (172.27.1.30) 5 ms
fragmentation required, trying new MTU = 1492
2 172.27.2.31 (172.27.2.31) 4 ms 4 ms 4 ms

Why can't I stay with the 1500 MTU when forwarding the packets??? I have CISCO and Old IBM routers tha seem to have no problems forwarding 1500 byte packets.....

Thank you for your time...
Shane
 
Old 11-09-2005, 10:13 PM   #2
winsnomore
Member
 
Registered: May 2004
Location: USA
Distribution: #1 PCLinuxOS -- for laughs -> Ubuntu, Suse, Mepis
Posts: 315

Rep: Reputation: 31
some of the dsl lines used to have a problem with 1500 byte mtu .. so may be fc made it 1492.

nic should have no reason to do that ..you can try by doing
ifconfig with the right mtu size and see what happens

ifconfig eth? mtu xx should do it .. check the manpage
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Small Linux Router/firewall behind D-Link Hardware router dleidlein Linux - Networking 6 04-30-2007 05:12 AM
Linux Router & Netgear Wireless Router DMaCATO Linux - Wireless Networking 1 04-30-2004 09:16 AM
/etc/resolv.conf configuration when behind a router(not a linux router) rmanocha Linux - Networking 2 04-28-2004 01:52 AM
Mandrake Firewall/router networked to US Robotics 8000A router jrzplace Linux - Networking 0 11-17-2003 04:48 PM
ADSL Router + Linux Router + LAN = HELP!!! linuxlois Linux - General 2 09-16-2003 08:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration