V
Varda Zklir
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.
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.