Skip to main content
10 events
when toggle format what by license comment
Jun 28, 2017 at 7:52 comment added SDsolar Thank you for that pointer, @harrymc. It really is a different way to look at it than Windows does. Windows is interface-centric. Linux is much more like a Cisco router. But this machine has such a simple iptable that I can't figure out what to do. In my Cisco training things were a lot more explicit. Hmmm...
Jun 27, 2017 at 10:03 comment added harrymc @SDsolar: It says that a route needs to exist for the metrics to be taken into account, which is only logical - no useful priority can assigned without some valid route to assign it to. But it is true that modern OS have started to prefer their own measured metrics above the specified ones, although methods still vary.
Jun 27, 2017 at 9:09 comment added SDsolar Here is an interesting link that says ifconfig won't do it in these modern versions, and that the route command is the best way. I am not convinced I know enough to do it: stackoverflow.com/questions/10592612/…
Sep 10, 2011 at 12:14 comment added harrymc The simplest solution, which everyone does, is just to turn off the interface you don't want to use, or to limit it to "Use this connection only for resources on its network" (if you also have your printer or whatever on that same router).
Sep 10, 2011 at 4:57 comment added Praveen Sripati Faster network is nice to have but is costlier :) But, it might be expensive. goo.gl/K0O6j is too exhaustive for everyone to use it.
Sep 9, 2011 at 19:06 comment added harrymc It looks like Linux decides itself on the fastest adapter after a quick speed test on all adapters. Metric is no longer supported on many distributions. You can still try and dictate things via "/etc/network/interfaces", but I don't know how successful you will be. See also this question.
Sep 9, 2011 at 17:06 comment added Praveen Sripati When I ran 'sudo ifconfig eth1 metric 4' I got the following error 'SIOCSIFMETRIC: Operation not supported'. goo.gl/UhXBJ says that 'Additionally, not all systems make use of the metric argument. ..... When configuring a Linux system, you add an explicit route command for each interface." Looks like there is no straight forward approach in Ubuntu like from a UI for a novice user.
Sep 9, 2011 at 15:11 comment added harrymc Adding eth0 to "/etc/network/interfaces" is more risky. You could try ifconfig as root to change the metric for the interface (check that it stays there after the boot).
Sep 9, 2011 at 14:50 comment added Praveen Sripati Harry - Thanks for the response - The network I am interested in eth1 is shown in the "ifconfig", but not in "/etc/network/interfaces". What are shown in "ifconfig" and what in "/etc/network/interfaces"?
Sep 9, 2011 at 11:14 history answered harrymc CC BY-SA 3.0