Hi all I have 2 networks network A: ip:10.20.30.xx/subn:255.255.0.0/gw:10.20.50.1, network b :10.10.30.x/255.255.0.0/10.10.50.1. these are 2 remote networks, gw 10.20.50.1 is a router that connects me to the 10.10.30.x network.There is a adsl router connected to network b, that i want to use ip:192.168.1.x/255.255.0.0. how can i use the adsl modem as my default gateway to connect to the internet when i am sitting in network a. note: if i remove my gateway adres in network a (10.20.50.1) i can't ping the network b (10.10.30.x) i need a solution to stay on network a+b but use the adsl 192.168.1.1 to connect to the internet
As I understand your network looks like this, correct?
(Network A [10.20.30.xx]) <--> (Router A [10.20.50.1]) <-- link --> (Router B [10.10.50.1]) <--> (Network B [10.10.30.xx]) <--> (DSL-Router [192.168.1.1])
=> If the DSL router is in Network B it must have an ip address of that network. Therefore reconfigure it to have one of the ip's of 10.10.xx.xx . => If you set the Default Gateway in Network A to 10.20.50.1 you're fine there... => Set the Default Route on the Router B to the new ip address of the DSL router in Network B
! However make sure you have an overview of your routing in general! Changing default routes would mean that all traffic, that isn't specified more specific ;-), will go that way...
As you want to have your traffic routed through the other routers the ip addresses must be known and routable. I can't see a chance from Network A without telling the routers the 'truth' :-(...