vpnc error on connect

Issues Related to Networking (Wired and Wireless)

Moderator: Moderators

vpnc error on connect

Postby OwL » Tue Aug 09, 2011 14:42

Hi,
when i try to connect to a IPSEC Cisco Vpn i get this error :

Error: either "to" is duplicate, or "ipid" is a garbage.
SIOCSIFMTU: Invalid argument

Vpn works, disconnect very often.
Im wondering if someone can help me fixing this.

Sabayon 6 gnome running
User avatar
OwL
Baby Hen
 
Posts: 3
Joined: Mon Aug 08, 2011 22:51

Re: vpnc error on connect

Postby popsUlfr » Tue Aug 09, 2011 16:13

OwL wrote:Hi,
when i try to connect to a IPSEC Cisco Vpn i get this error :

Error: either "to" is duplicate, or "ipid" is a garbage.
SIOCSIFMTU: Invalid argument


Are you using the vpnc tool to connect (or cisco's own?) or are you setting up a vpn connection through networkmanager? It would help a lot if you wrote exactly what you did while setting up the vpn connection
'SIOCSIFMTU' -> Maybe an unsupported MTU size is set on your interface?
what's the output of
Code: Select all
ifconfig <yourinterfaceinuse>

(what's value at 'MTU:')
Not all network interface drivers support setting a higher MTU value of 1500 or anything besides 1500.
If the value is different of 1500 try to set it to the default with
Code: Select all
ifconfig <yourinterfaceinuse> mtu 1500

and see if you have better results now.

OwL wrote:Vpn works, disconnect very often.
Im wondering if someone can help me fixing this.

Sabayon 6 gnome running


So connecting to your VPN is successful but the line is unstable? Raising the MTU size improves performance but you need a capable kernel driver. You may also start experimenting with a value of 9000 and going down (in 1000 decrements for instance) until the error goes away :P

Other than that it might also be a problem related to the MTU size of the "tunnel" interface 'tunl0'
Code: Select all
ifconfig tunl0


The MTU size of your tunnel needs to be <= the MTU size of your network interface if you want the information to fit through.
popsUlfr
Young Hen
 
Posts: 34
Joined: Sun Aug 07, 2011 16:41


Return to Networking and Wireless

Who is online

Users browsing this forum: No registered users and 1 guest