Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.networking > #2390

Re: Selecting network for Internet access

X-FeedAbuse http://nntpfeed.proxad.net/abuse.pl feeded by 88.191.16.109
Path csiph.com!eeepc.pasdenom.info!news.pasdenom.info!news.dougwise.org!nntpfeed.proxad.net!nospam.fr.eu.org!usenet-fr.net!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!fu-berlin.de!uni-berlin.de!not-for-mail
From Thomas Schmidt <bbeamer@gmx.de>
Newsgroups comp.os.linux.networking, comp.os.linux.misc
Subject Re: Selecting network for Internet access
Date Tue, 08 Feb 2011 17:32:03 +0100
Lines 22
Message-ID <8rd9evFri1U1@mid.uni-berlin.de> (permalink)
References <iijt5m$krl$1@news.albasani.net> <iik975$7e1$2@news.albasani.net>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding 7bit
X-Trace news.uni-berlin.de 96jwWDJ9nRt1LhXvj9kpnQKrjSzpE3m/qDhqwqNbtI3IJcwD0=
User-Agent Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.1.16) Gecko/20101125 SUSE/3.0.11 Thunderbird/3.0.11
In-Reply-To <iik975$7e1$2@news.albasani.net>
Xref csiph.com comp.os.linux.networking:2390 comp.os.linux.misc:9502

Cross-posted to 2 groups.

Show key headers only | View raw


Am 05.02.2011 20:42, schrieb The Natural Philosopher:
> Clark Smith wrote:
>>     I know very little about networking so please bear with me.
>>
>>     I have a Linux box M with two NICs. The first NIC is connected to
>> network A, whereas the second NIC is connected to network B. Both
>> networks have an Internet gateway. These gateways are totally
>> independent from each other.
>>
>>     Currently all Internet traffic on M is sent/received through
>> network A. Can I dynamically select in M which of the A and B networks
>> to use for Internet traffic? 
> 
> set default route
> 
> man route

You would probably also need to get a new ip address and dns server via
dhcp from the internet provider in the other network:

dhcpcd -n
(The command may vary according to your linux version)

Back to comp.os.linux.networking | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Selecting network for Internet access Clark Smith <noaddress@nowhere.net> - 2011-02-05 16:16 +0000
  Re: Selecting network for Internet access Jan Wideł <jwnews@_NOSPAM_debian.maszyna.pl> - 2011-02-05 18:20 +0100
  Re: Selecting network for Internet access Douglas Mayne <none@invalid.com> - 2011-02-05 18:09 +0000
  Re: Selecting network for Internet access Thomas Schmidt <bbeamer@gmx.de> - 2011-02-08 17:32 +0100
  Re: Selecting network for Internet access Max <nomail@forme.invalid> - 2011-02-07 22:38 +0100

csiph-web