LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 12-15-2004, 01:24 AM   #16
rweiler
LQ Newbie
 
Registered: Dec 2004
Posts: 6

Rep: Reputation: 0
Cisco VPN


that makes some sense to me as it would explain why it works using the wireless interface which doesn't come up at boot time. I;ll give it a try tomorrow.
 
Old 12-15-2004, 11:00 AM   #17
rweiler
LQ Newbie
 
Registered: Dec 2004
Posts: 6

Rep: Reputation: 0
Workaround confirmed

I followed your instructions and it worked like a charm! The only issue that I had is that iptables is in /sbin on Fedora Core. I didn't have to prevent the cisco init at boot time, just restart it. I wonder if this is even necessary or just setting the MTU after connection is sufficient? Anyway, this should work for Fedora Core 3 users:

/etc/rc.d/init.d/vpnclient_init stop
/sbin/iptables -F
/etc/rc.d/init.d/vpnclient_init start
vpnclient connect <yoru profile here>
ifconfig eth0 mtu 1500


I've succeeded in establishing connections with Perforce, rdesktop, and also an SQLServer connection.
 
Old 12-16-2004, 05:31 AM   #18
smkamene
Member
 
Registered: Sep 2004
Location: Atlanta
Posts: 34

Rep: Reputation: 23
wankelrx8 : i am confirming that your workaround did work on my Gentoo 2.6.9 box. Thank you very much ...now we need to figure out if it's possible to set this value somewhere in the vpnclient settings. I've looked all over Cisco website and looks like you can only preconfigure it for WIndows only, and have to manually change for *nix os. Oh well..it's much better than using my VMvware Xp machine . Thanks again man.
 
Old 12-17-2004, 09:05 AM   #19
k2merlinsix
Member
 
Registered: Dec 2004
Location: West Virginia
Distribution: Fedora
Posts: 35

Rep: Reputation: 15
Great find. works good for all remote login functions except NFS. I am still having the NFS mount problems. It usually takes about 20-30 seconds before the entire machine locks up. I have tried using a -o soft and using a bg but to no avail. Any Ideas?
 
Old 12-17-2004, 10:33 AM   #20
baldy3105
Member
 
Registered: Jan 2003
Location: Cambridgeshire, UK
Distribution: Mint (Desktop), Debian (Server)
Posts: 891

Rep: Reputation: 184Reputation: 184
Found this on the cisco bug tracker -

Code:
Symptom:
The Cisco VPN traffic seems to top off at
1352 (IP datagram) which includes 1324 (ESP packet).
This happens even when the interface MTU is set
to 1400 or more (say 1460 or 1480).

Workaround:
No workaround.
Sound familiar?

They say it is fixed in version 4.0(3)C. I think this is the overall release version number rather than the specific version quoted above as 4.0 is the highest version listed. It looks like a bug where they are setting the physical mtu too low for no reason.

There are no bugs listed regarding nfs.
 
Old 01-02-2005, 02:26 PM   #21
mseewald
LQ Newbie
 
Registered: Jan 2005
Posts: 1

Rep: Reputation: 0
Thanks wankelrx8

Changing the MTU size worked also for me.

I am running Fedora Core 3 with kernel version 2.6.9-1.681_FC3 and Cisco VPN Client for Linux, release 4.6.00.0045. I have the firewall and SElinux enabled. After booting, I issue:

/etc/init.d/vpnclient_init start
/usr/local/bin/vpnclient connect "my vpn"
/sbin/ifconfig eth0 mtu 1500

That's it. Would be great if Cisco mentioned that. They haven taken note of the problem, but offer no help. See http://vpn.doit.wisc.edu/download/te...045-readme.txt

Best wishes,
Michael

Last edited by mseewald; 01-12-2005 at 01:30 PM.
 
Old 01-12-2005, 12:53 PM   #22
nebj00la
LQ Newbie
 
Registered: Jan 2005
Posts: 1

Rep: Reputation: 0
saved by the forums once again. I've been struggling with this for about a week now, can't believe it was such a simple fix.

Thanks!
 
Old 01-20-2005, 08:55 PM   #23
gooby
LQ Newbie
 
Registered: Jan 2005
Posts: 1

Rep: Reputation: 0
Quote:
Originally posted by wankelrx8


*AFTER* your connection to the VPN is established, do the following as root:

ifconfig eth0 mtu 1500

You terminals should no longer hang, at least mine doesn't.
Leave it to the folks here to solve my annoying problem.

Much thanks wankelrx. This fixed my problem exactly and things are working smoothly.
 
Old 01-23-2005, 03:14 PM   #24
mackendw
LQ Newbie
 
Registered: Jan 2005
Location: Canada
Distribution: redhat
Posts: 2

Rep: Reputation: 0
VPN & MTU size

Try setting your MTU size in the Advanced settings of your Linksys router to 1500 (enabled).

Then after bringinng up your VPN connection, for receiving emails with attachments, set the MTU size to 1385.

For sending emails with attachments, set it to 1500.

I'm using Apani Networks netlock and I've found this to be the case with 2.6.9 kernel on Redhat.

jm2cts,
MacDuff
 
Old 02-14-2005, 12:18 PM   #25
sipri
LQ Newbie
 
Registered: Feb 2005
Posts: 1

Rep: Reputation: 0
My story:

I've got a Broadcom 570x NIC running under Fedora Core 3. The VPN client authenticates fine but I get the fragmentation/mtu problem:

This works:

ping -s 1000 remotehost

This fails:

ping -s 2000 remotehost

At home, using the workaround

/sbin/ifconfig eth0 mtu 1500

fixes that problem and all is good. However from work (remote site trying to connect to the home office), it does not help (I can still ping -s 1000, but not ping -s 1400 from the remote site). After STFW for a little while, I'm still not exactly sure why the workaround works at home - and why it might fail elsewhere.

by setting /sbin/ifconfig to 1500, there should be no chance that the network driver would drop the packet+ip-sec header (which was presumably happening when vpnclient set the eth0 mtu to 1352(?)).








For completeness, I'm including the Cisco known issue that seems to be at the heart of all this consternation.


Unresolved Issues

CSCee60154

Symptoms
After making a VPN Client connection, some traffic types no longer work.
Specifically applications that send large packets like SMTP, HTTP, and SSH.

Conditions
The 2.6.4 Kernel enabled a feature of certain ethernet cards that discards
packets larger than the configured MTU. Since the VPN Client lowers the MTU
visible to the applications in order to add it's overhead without exceeding
the original MTU, the resulting packets are bigger than the newly configured
MTU. Therefore the card throws out the large encrypted packets.

This can easily be tested with a ping.
ping -s 500 x.x.x.x should pass
ping -s 2600 x.x.x.x should fail

Workarounds
If an lsmod shows that the "e100" driver is in use for the network card, it
can be replaced with the "eepro100" driver.

ifdown eth0
rmmod e100
modprobe eepro100
ifup eth0
 
  


Reply



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
Cisco VPN andrewm659 Linux - Networking 3 12-23-2004 07:42 AM
Cisco VPN rdmapes Linux - Networking 0 10-07-2004 08:04 PM
Cisco VPN PlatinumRik Linux - Networking 1 08-12-2003 10:43 PM
Cisco VPN Teddy_Horse Linux - Software 0 08-07-2003 05:16 PM
Connect to Cisco VPN w/o Cisco VPN Client gboutwel Linux - Networking 4 02-07-2003 12:46 PM

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

All times are GMT -5. The time now is 05:49 AM.

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