Trying to understand how routers know how to talk to other router?
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
So for router A to see every thing and forward the data to all devices , must be on the same subnet and DHCP turn off on the router B so there no duplication of IP addresses or other subet. And router B used has switch.
No, RouterA only needs to know how to get to the 192.168.1.0/24 network, you can achieve this by adding a static route as I mentioned in a previous reply:
I'm confused here of what you are saying. Can you elaborate on this.
I don't see Network , Next Hop or cost in any of my routers.
Probably they have a different name. The router has two sides (as it was already discussed), the local network (or subnet), this is the one you use personally, and the outer side (called wan).
Inside you will only see the first hop (that is your router), sometimes it is called gateway. on wan you can see the next hop, the gateway you got from your ISP, and the router will send all the packages to that ip. The following steps (next hops) cannot be visible from your subnet. If you want to trace your package you can use the command traceroute.