Discussion Locked

Multiple Default gateways

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I have 2 different networks i need to route to
One is for our IS software and it routes over one router and now we added a dsl line and another router i caint make our XP machines route to more then one default gatewat so how do i route to the internet and to the other network for our software

2 replies

by chrisdent

Default Gateway is defined as the Route to 0.0.0.0 0.0.0.0, which is basically "everywhere else".

This is an example of a network with 2 routers, 2 subnets and access to the internet.

Main Network:

Router on address 10.0.0.254
All PCs on this network use IP addressing in the range 10.0.0.0/24 (10.0.0.1 - 10.0.0.254).
All PCs on this network use the Default Gateway 10.0.0.254

Second Network:

Router on 10.0.1.254 - Also has an external interface address of 10.0.0.253.
All PCs on this network use IP addressing in the range 10.0.1.0/24 (10.0.1.1 - 10.0.1.254).
All PCs on this network use the Default Gateway 10.0.1.254.

Routes:

On the Main Internet Router the following routes are present:

0.0.0.0 0.0.0.0 ISP Provided
10.0.1.0 255.255.255.0 10.0.0.253

On the Internal Router the following routes are present:

0.0.0.0 0.0.0.0 10.0.0.254
10.0.0.0 255.255.255.0 10.0.0.254

Chances are you'll have to add a static route for the second network.

Remember that while this covers the IP side of the network it doesn't cover naming, but presumably you have a DNS there.

Hope that all makes sense.

This discussion is closed to new replies.