Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.networking > #2390
| From | Thomas Schmidt <bbeamer@gmx.de> |
|---|---|
| Newsgroups | comp.os.linux.networking, comp.os.linux.misc |
| Subject | Re: Selecting network for Internet access |
| Date | 2011-02-08 17:32 +0100 |
| Message-ID | <8rd9evFri1U1@mid.uni-berlin.de> (permalink) |
| References | <iijt5m$krl$1@news.albasani.net> <iik975$7e1$2@news.albasani.net> |
Cross-posted to 2 groups.
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
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