Route several subnets each via separate gateway
- From: Varda Zklir <v20z@xxxxxxxxx>
- Date: 22 May 2007 13:23:41 -0700
Hello gentlemen!
I've several subnets and 2 gateways to DSL links:
+-- 1st Office: 192.168.1.0/2
| +--- 2nd Office: 192.168.2.0/24
| |
2 NICs
WinXP: 192.168.0.1
1 NIC
|
cable between buildings
|
NIC
WinXP:192.168.0.2
2 NICs
| |
| +--- DSL: 10.0.0.1 --> 10.0.0.2 ISP
+-- DSL: 172.16.0.1 --> 172.16.0.2 ISP
So I'm pointed on 192.168.0.2 machine subnets back:
route add 192.168.1.0 mask 255.255.255.0 192.168.0.1
route add 192.168.2.0 mask 255.255.255.0 192.168.0.1
And both subnets goes to Internet sucessfully when I have single
default gateway like
route add 0.0.0.0 mask 0.0.0.0 10.0.0.1
OR
route add 0.0.0.0 mask 0.0.0.0 172.16.0.1
How can I pass out to the Internet each LAN subnet not trough single
common gateway but trough it's own separate gateway at the same time
like:
192.168.1.0/24 ---> 10.0.0.1 and 192.168.1.0/24 ---> 172.16.0.1
???
Thank you.
.
- Follow-Ups:
- Re: Route several subnets each via separate gateway
- From: Robert L [MVP - Networking]
- Re: Route several subnets each via separate gateway
- Prev by Date: Network drive says disconnected, but automatically reconnects at logon
- Next by Date: Unable to set up a network
- Previous by thread: Network drive says disconnected, but automatically reconnects at logon
- Next by thread: Re: Route several subnets each via separate gateway
- Index(es):
Relevant Pages
|