[CentOS] routing with 2 ISPs
david at hlacik.eu
Mon Dec 21 10:52:16 UTC 2009
but as noticeable from my routing table, I have several VLANs iniside
my local network - for servers, computers, wifi's, and voip.
Each VLAN has it's own DHCP which assigns ip address with netmask
255.255.255.0 and uses particular VLAN interface on router as a
gateway. If I will do so. I will lost a route between my VLAN's that
way and I do not want to use netmask 255.255.0.0 so computers in local
lan can communicate without router.
Thank you in advance,
On Sun, Dec 20, 2009 at 11:04 PM, Frank Cox <theatre at sasktel.net> wrote:
> On Sun, 2009-12-20 at 19:54 +0100, David Hláčik wrote:
>> Computers from local network range 10.123.123.0/24 (eth0.7) should
>> access internet using my second internet provider via ppp0.
> This may be too simple for your needs, but it took a while for the light
> to come on for me about this when I set up something similar.
> I have two Internet connections, one cable and one DSL. I want to have
> some of my computers on the cable connection and some on the DSL
> connection, but I want all of my computers to be on the same internal
> Solution: Put a router on each modem with a different address. Assign
> the default gateway on each computer depending on what outside
> connection it is supposed to use. 192.168.0.1 == cable, 192.168.0.254
> == DSL.
> Nothing to it.
> MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com
> CentOS mailing list
> CentOS at centos.org
More information about the CentOS