- Posts: 81
- Thank you received: 0
How to connect two networks together
18 years 5 months ago #15666
by Brandonh
How to connect two networks together was created by Brandonh
Can anyone help me figure out how to connect two diffrent networks together and yet keep them on diffrent networks such as 192.168.1.1 and 192.168.2.1 and provide internet access to both. I have two Dsl/Cable routers how can i configure this. I can get network connected to the second router to ping the first router the i cant get a node from the first network to ping the second router. In essence i cannot go out the Lan port of the first router and into the wan of the second router only out of the Wan from the second router to the Lan on the first router. I imagine its doing this becaue the first router 192.168.2.1 does not recognize it as part of its own network so it goes to the default gateway in which is the internet then it never makes it to the second router. How can i configure this to work and remain on two networks 192.168.1.1 and 192.168.2.1 ?
18 years 5 months ago #15739
by Dutchman
Replied by Dutchman on topic Re: How to connect two networks together
Try an <IP ROUTE X.X.X.X> and make sure you permit it on the <ACCESS-LIST> if that isn't already going thru, check with <sh ip route list #> with # being the number of the list, handy command.
Hope it helps you along the way, cheerio......
Hope it helps you along the way, cheerio......
18 years 4 months ago #15813
by Brandonh
Replied by Brandonh on topic Re: How to connect two networks together
So far from my experimenting I have learned that if its not in its Network it sends the packets to the default gateway which then checks to see if its in the same network if not it goes through its default gateway. I also realized that you can send packets out your default gateway to your router and the LAN interface can be on the same network as your destination address and beable to route it through its LAN interface without every going out the routers default gateway.
18 years 3 months ago #16393
by Dove
Dove
Replied by Dove on topic Re: How to connect two networks together
Yes, if there is no such a network in the routing table by default the traffic will forwarded to the default route(if its configured).
Hope the first router didnt configured with the correct default routing. Can u give the routing details here?
Dove
Hope the first router didnt configured with the correct default routing. Can u give the routing details here?
Dove
Dove
Time to create page: 0.124 seconds