LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 09-07-2011, 09:25 AM   #1
MikeyCarter
Member
 
Registered: Feb 2003
Location: Orangeville
Distribution: Fedora
Posts: 448

Rep: Reputation: 31
Question Change default route metric


I have this case were someone brings their laptop to me to fix and the openvpn causes the network to stop working. Mostly because it's now on the local network and trying to route everything through the tap0 interface.

NetworkManager sets the other two route metrics to 1 (lan) and 2 (wireless).


Since I can't seem to find out to get either program to set the tap0 metric to 3, I thought what if I change the default to 3. Then let NetworkManager override the default.

Is there a way to change the default route metric? Or is there a way of forcing anything routed through tap to a higher metric?
 
Old 09-10-2011, 08:47 AM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,758

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
Sounds like you just need to check the "Use this connection only for resources on its network" box, click the routes button in vpn connection properties to get to it.
 
  


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
how to set preference and metric when configuring a satic route Kanyong Linux - Networking 2 11-04-2008 04:42 AM
Quagga default route not showing in kernel default route (netstat -nr) Valkyr1e Linux - Networking 3 08-03-2008 09:20 PM
changing default metric in ripd/quagga geden Linux - Networking 0 11-19-2007 03:10 PM
Metric change question hackrat Linux - Networking 2 05-12-2005 04:03 PM
How to change default Route? suncloud Linux - Networking 2 11-21-2003 05:17 AM


All times are GMT -5. The time now is 11:40 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration