public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
[parent not found: <gHbTt-2Ui-33@gated-at.bofh.it>]
[parent not found: <gHakF-8vF-15@gated-at.bofh.it>]
* [gentoo-user] configure wlan0 route metric
@ 2011-04-12 21:14 deadeyes
  2011-04-13  9:33 ` Kfir Lavi
  0 siblings, 1 reply; 16+ messages in thread
From: deadeyes @ 2011-04-12 21:14 UTC (permalink / raw
  To: gentoo-user

Hi all,

For my home network I am generally using wireless to get connected to the
network and the internet.

However for copying some large files I use the wire.

That means I get 2 IPs in the same range.
And both interfaces get the same metric : 0.

I found out I can modify the metric for the default route using metric_wlan0.
Code:

Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 wlan0
0.0.0.0         192.168.1.1     0.0.0.0         UG    2      0        0 eth0
0.0.0.0         192.168.1.1     0.0.0.0         UG    100    0        0 wlan0

(this is not the full routing table)
However this changes the metric of the default route.
Not of the route that is specifically for the local network.
of course I can do this manually.
However that is alot of hassle and seems to be something that should be
configurable use files.

Does anyone knows how I can accomplish this? Or how I can change the metric for
each route for the wlan0 interface?

Thanks in advance!




^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2011-04-15  5:10 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <gGTjR-4Xq-33@gated-at.bofh.it>
     [not found] ` <gH4Ii-7li-33@gated-at.bofh.it>
     [not found]   ` <gH5kZ-8uC-5@gated-at.bofh.it>
     [not found]     ` <gH6qK-1Rf-19@gated-at.bofh.it>
     [not found]       ` <gH6K6-2j1-11@gated-at.bofh.it>
2011-04-13 15:35         ` [gentoo-user] Re: configure wlan0 route metric Indi
2011-04-13 16:03           ` Mick
2011-04-13 19:52             ` deadeyes
2011-04-14  9:50               ` Mick
     [not found]         ` <gHpWp-7Ds-3@gated-at.bofh.it>
     [not found]           ` <gHrvc-1HW-15@gated-at.bofh.it>
2011-04-14 22:25             ` Indi
     [not found] <gHbTt-2Ui-33@gated-at.bofh.it>
     [not found] ` <gHbTt-2Ui-45@gated-at.bofh.it>
     [not found]   ` <gHbTt-2Ui-31@gated-at.bofh.it>
     [not found]     ` <gHdBT-5Tb-3@gated-at.bofh.it>
2011-04-13 19:27       ` Indi
     [not found] <gHakF-8vF-15@gated-at.bofh.it>
     [not found] ` <gHakF-8vF-17@gated-at.bofh.it>
     [not found]   ` <gHakG-8vF-19@gated-at.bofh.it>
     [not found]     ` <gHakG-8vF-21@gated-at.bofh.it>
     [not found]       ` <gHakG-8vF-23@gated-at.bofh.it>
     [not found]         ` <gHakF-8vF-13@gated-at.bofh.it>
     [not found]           ` <gHaNL-12f-85@gated-at.bofh.it>
2011-04-13 17:07             ` Indi
2011-04-13 18:56               ` Mick
     [not found]         ` <gHDd0-5d8-25@gated-at.bofh.it>
     [not found]           ` <gHDd0-5d8-27@gated-at.bofh.it>
     [not found]             ` <gHDd0-5d8-23@gated-at.bofh.it>
2011-04-15  2:06               ` Indi
2011-04-15  5:08                 ` Mick
2011-04-12 21:14 [gentoo-user] " deadeyes
2011-04-13  9:33 ` Kfir Lavi
2011-04-13 10:06   ` [gentoo-user] " deadeyes
2011-04-13 11:20     ` Mick
2011-04-13 11:40       ` deadeyes
2011-04-14  8:13         ` deadeyes
2011-04-14  9:53           ` Mick
2011-04-14 20:22             ` deadeyes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox