Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Servers & Networking
FedoraForum Search

Forgot Password? Join Us!

Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 1st March 2010, 11:25 AM
domnulnopcea Offline
Registered User
 
Join Date: Feb 2010
Posts: 22
linuxsafari
internet speed very slow when connected to vpn in fedora 12

Hi,

I have the following nasty issue:

I am using fedora 12 and I use vpn for working remote. When I browse the internet the speed is very slow!

even when I do a yum update it downloads the packages with max 100kb. if I drop the vpn connection I download the packages with 1Mb

do you know what the problem could be? i created the vpn connection using the network manager...it is a regular pptp connection for the vpn!

please help me
Reply With Quote
  #2  
Old 2nd March 2010, 08:39 AM
domnulnopcea Offline
Registered User
 
Join Date: Feb 2010
Posts: 22
linuxsafari
is anyone having this issue? can anyone help me?
Reply With Quote
  #3  
Old 2nd March 2010, 12:37 PM
Keldorn's Avatar
Keldorn Offline
Registered User
 
Join Date: Jun 2008
Location: Russia
Age: 25
Posts: 515
linuxfedorafirefox
Try to see what in your routing table when you are connected to vpn. May be be vpn connection changes ypur default route?
Reply With Quote
  #4  
Old 2nd March 2010, 12:43 PM
domnulnopcea Offline
Registered User
 
Join Date: Feb 2010
Posts: 22
linuxsafari
aha, ok!

How do I see what is in my routing table?

Thanks for answering
Reply With Quote
  #5  
Old 2nd March 2010, 12:45 PM
Keldorn's Avatar
Keldorn Offline
Registered User
 
Join Date: Jun 2008
Location: Russia
Age: 25
Posts: 515
linuxfedorafirefox
Use this command
Code:
ip route
or this one
Code:
route
Reply With Quote
  #6  
Old 2nd March 2010, 12:47 PM
domnulnopcea Offline
Registered User
 
Join Date: Feb 2010
Posts: 22
linuxsafari
Hi,

this is what I get

[flavius@localhost ~]$ ip route
192.168.223.3 dev ppp0 proto kernel scope link src 192.168.223.224
87.195.151.56 via 192.168.0.1 dev eth1 proto static
87.195.151.56 via 192.168.0.1 dev eth1 src 192.168.0.100
192.168.0.0/24 dev eth1 proto kernel scope link src 192.168.0.100 metric 2
default dev ppp0 proto static
[flavius@localhost ~]$ route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.223.3 * 255.255.255.255 UH 0 0 0 ppp0
dsl-087-195-151 dir-615 255.255.255.255 UGH 0 0 0 eth1
dsl-087-195-151 dir-615 255.255.255.255 UGH 0 0 0 eth1
192.168.0.0 * 255.255.255.0 U 2 0 0 eth1
default * 0.0.0.0 U 0 0 0 ppp0
[flavius@localhost ~]$

is this helpful in any way?
Reply With Quote
  #7  
Old 2nd March 2010, 01:09 PM
Keldorn's Avatar
Keldorn Offline
Registered User
 
Join Date: Jun 2008
Location: Russia
Age: 25
Posts: 515
linuxfedorafirefox
And now show routing table when you don't connected to vpn
Reply With Quote
  #8  
Old 2nd March 2010, 01:11 PM
domnulnopcea Offline
Registered User
 
Join Date: Feb 2010
Posts: 22
linuxsafari
Hi,

[flavius@localhost ~]$ ip route
87.195.151.56 via 192.168.0.1 dev eth1 src 192.168.0.100
192.168.0.0/24 dev eth1 proto kernel scope link src 192.168.0.100 metric 2
default via 192.168.0.1 dev eth1 proto static
[flavius@localhost ~]$ route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
dsl-087-195-151 dir-615 255.255.255.255 UGH 0 0 0 eth1
192.168.0.0 * 255.255.255.0 U 2 0 0 eth1
default dir-615 0.0.0.0 UG 0 0 0 eth1

Thanks
Reply With Quote
  #9  
Old 2nd March 2010, 01:20 PM
Keldorn's Avatar
Keldorn Offline
Registered User
 
Join Date: Jun 2008
Location: Russia
Age: 25
Posts: 515
linuxfedorafirefox
Here it is:
Code:
default dev ppp0 proto static
and
Code:
default via 192.168.0.1 dev eth1 proto static
So, when you connected to vpn you need to change your default route manually (or change your vpn-connection script, if it is possible)
try this
Code:
ip route add default via 192.168.0.1 dev eth1
(from root)
Reply With Quote
  #10  
Old 2nd March 2010, 01:24 PM
domnulnopcea Offline
Registered User
 
Join Date: Feb 2010
Posts: 22
linuxsafari
Hi,

Thank you very much for debugging my issue

when I run you command I get the result:

[flavius@localhost ~]$ sudo ip route add default via 192.168.0.1 dev eth1
RTNETLINK answers: File exists

Is this ok?

can you please explain me what the command does?
Reply With Quote
  #11  
Old 2nd March 2010, 01:46 PM
Keldorn's Avatar
Keldorn Offline
Registered User
 
Join Date: Jun 2008
Location: Russia
Age: 25
Posts: 515
linuxfedorafirefox
It should change your default route to web. It seems to me that when you are connected to vpn - applications try to go through vpn channel to access web and it slows down your internet connection.
Ok. then delete your defauld route
Code:
ip route del default dev ppp0
ip route add default via 192.168.0.1 dev eth1
ip route add dev ppp0
I think it should be something like that
Reply With Quote
  #12  
Old 2nd March 2010, 01:50 PM
domnulnopcea Offline
Registered User
 
Join Date: Feb 2010
Posts: 22
linuxsafari
thanks! It really helped! now the speed is much better!

is there a way to set this from the network manager for the vpn connection?
Reply With Quote
  #13  
Old 2nd March 2010, 01:58 PM
Keldorn's Avatar
Keldorn Offline
Registered User
 
Join Date: Jun 2008
Location: Russia
Age: 25
Posts: 515
linuxfedorafirefox
Quote:
is there a way to set this from the network manager for the vpn connection?
Really don't know - I am always erasing network manager -)
Reply With Quote
  #14  
Old 2nd March 2010, 02:07 PM
domnulnopcea Offline
Registered User
 
Join Date: Feb 2010
Posts: 22
linuxsafari
now the problem is that after I run the command I am no longer connected to the vpn...

and If I connect again the same problem occurs!

do you have a solution?
Reply With Quote
  #15  
Old 2nd March 2010, 02:15 PM
Keldorn's Avatar
Keldorn Offline
Registered User
 
Join Date: Jun 2008
Location: Russia
Age: 25
Posts: 515
linuxfedorafirefox
can you show routing table wich you have got after this commands?

Quote:
ip route del default dev ppp0
ip route add default via 192.168.0.1 dev eth1
ip route add dev ppp0
Reply With Quote
Reply

Tags
connected, fedora, internet, slow, speed, vpn

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
cant update due to slow internet speed.. nAuticA Using Fedora 8 9th September 2008 02:41 PM
Slow fedora core 6 when net-cable has connected onkia Using Fedora 2 27th September 2007 12:57 PM
FC6 on VMWare: Slow Internet Speed DevHead Servers & Networking 1 25th May 2007 07:08 AM
Slow application launch if NOT connected to internet jayanthmadhur Using Fedora 0 29th April 2007 05:00 PM


Current GMT-time: 23:05 (Friday, 24-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat