LinuxQuestions.org
Review your favorite Linux distribution.
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 08-27-2008, 09:07 AM   #1
MikeyCarter
Member
 
Registered: Feb 2003
Location: Orangeville
Distribution: Fedora
Posts: 492

Rep: Reputation: 31
Question How do I prioritize network interfaces


Code:
netstat -rn
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
172.29.0.0      0.0.0.0         255.255.255.0   U         0 0          0 wlan0
172.29.0.0      0.0.0.0         255.255.255.0   U         0 0          0 eth0
192.168.122.0   0.0.0.0         255.255.255.0   U         0 0          0 virbr0
0.0.0.0         172.29.0.2      0.0.0.0         UG        0 0          0 eth0
Network manager starts up both my wired and wireless interfaces. How do I tell it to prioritize one over the other? (ie use eth0 first since it's 100x faster than my wireless)
 
Old 08-27-2008, 02:23 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
It essentially doesn't go by the actual ethernet device but probably the default route. If eth0 is using the 192.168.122.x address, you'll probably want to set you're default route to use 192.168.122.1 instead of the 172.29.0.2 which would indicate to me that it's an internal only network.
 
Old 08-27-2008, 02:30 PM   #3
MikeyCarter
Member
 
Registered: Feb 2003
Location: Orangeville
Distribution: Fedora
Posts: 492

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by trickykid View Post
It essentially doesn't go by the actual ethernet device but probably the default route. If eth0 is using the 192.168.122.x address, you'll probably want to set you're default route to use 192.168.122.1 instead of the 172.29.0.2 which would indicate to me that it's an internal only network.
????

192.168.122.x is my vmware and xen host only?


The networking is working fine. I just want it to favour eth0 172.29.0.x rather than wlan0 for all traffic.
 
  


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
Network interfaces do not bring up on network restart rajat Linux - Networking 1 06-20-2007 04:44 AM
For laptop - different networks in /etc/network/interfaces, or use network-manager? dmravaet Linux - Wireless Networking 4 03-17-2007 11:42 PM
Manual Network Setup Works, /etc/network/interfaces doesn't verdeboy2k Linux - Wireless Networking 0 05-31-2006 06:56 PM
prioritize (inversely) P2P traffic. eantoranz Linux - Networking 0 08-11-2005 09:26 AM
HTB, CBQ, shapecfg: howto prioritize network? Artik Linux - Networking 3 06-10-2005 12:09 PM

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

All times are GMT -5. The time now is 10:29 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