can 2 internet exist at same time on 8.10?

Mark Haney mhaney at ercbroadband.org
Thu Feb 5 13:47:26 UTC 2009


sofian sindhi wrote:
> Dear all:
> I use ubuntu 8.10 and it is really nice when I connect to wire or usb modem,
> since it can automatically do the network setting.
> But I have one question:
> Can I both have 2 networks, wired and usb modem at same time?
> Such that I can treat my ubuntu 8.10 as a server.
> Normally I use ssh to connect to it and if I find I need to  update some
> package I can apt-get directly whithout unplugin the usb modem.
> Thanks for your help,
> sofian
> 
> 

Of course you can.  Linux is designed to handle multiple networks
(really any OS is, but...).

The caveat being that the networks need to be different IP subnets.  You
can't have both networks in the '192.168.0.X' range.  (Well you can, but
for simplcity's sake, let's not.)

If one network is 192.168.1.X and the other is 192.168.2.X, then you
shouldn't have any trouble routing between them.

I guess the main question here is which one will be the default gateway
to the internet?  I would make the 'wired' one the default for internet
traffic, then if that goes down, you can have all internet traffic fail
over to the modem (using a higher preference) if you want.

Make sense?



-- 
Frustra laborant quotquot se calculationibus fatigant pro inventione
quadraturae circuli

Mark Haney
Sr. Systems Administrator
ERC Broadband
(828) 350-2415

Call (866) ERC-7110 for after hours support




More information about the ubuntu-users mailing list