Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.networking > #4312
| From | "Carlos E.R." <robin_listas@es.invalid> |
|---|---|
| Newsgroups | comp.os.linux.networking |
| Subject | Re: how set 2 network interface |
| Date | 2019-02-08 11:41 +0100 |
| Message-ID | <e030jf-f4c.ln1@Telcontar.valinor> (permalink) |
| References | <q3hmir$s41$1@gioia.aioe.org> <q3hneb$qrr$1@dont-email.me> |
On 07/02/2019 17.47, William Unruh wrote: > On 2019-02-07, jonny <john@b.good> wrote: >> >> Hello, >> >> I have 2 network interface, eth0 and usb0. >> I'm looking for set one for outgoing packet on the internet, and other >> to internal lan. >> >> This is the network: >> >> route -n >> Kernel IP routing table >> Destination Gateway Genmask Flags Metric Ref Use >> Iface >> 0.0.0.0 192.168.1.1 0.0.0.0 UG 202 0 0 eth0 >> 0.0.0.0 192.168.42.129 0.0.0.0 UG 204 0 0 usb0 >> 192.168.1.0 0.0.0.0 255.255.255.0 U 202 0 0 eth0 >> 192.168.42.0 0.0.0.0 255.255.255.0 U 204 0 0 usb0 > The computer will pick one or the other of eth0 > or usb0 for the default. It will depend on which was set up last. No, on metric. -- Cheers, Carlos.
Back to comp.os.linux.networking | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
how set 2 network interface jonny <john@b.good> - 2019-02-07 17:32 +0100
Re: how set 2 network interface William Unruh <unruh@invalid.ca> - 2019-02-07 16:47 +0000
Re: how set 2 network interface "Carlos E.R." <robin_listas@es.invalid> - 2019-02-08 11:41 +0100
Re: how set 2 network interface Grant Taylor <gtaylor@tnetconsulting.net> - 2019-02-07 11:56 -0700
Re: how set 2 network interface Marc Haber <mh+usenetspam1118@zugschl.us> - 2019-02-08 09:54 +0100
Re: how set 2 network interface Chris Elvidge <chris@mshome.net> - 2019-02-08 11:21 +0000
Re: how set 2 network interface Grant Taylor <gtaylor@tnetconsulting.net> - 2019-02-08 12:17 -0700
csiph-web