Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
10-11-2013, 11:28 PM
|
#16
|
Member
Registered: Apr 2011
Posts: 109
Original Poster
Rep:
|
Quote:
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.
|
Quote:
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.
|
|
|
10-12-2013, 04:03 AM
|
#17
|
Senior Member
Registered: Aug 2009
Posts: 3,790
|
The router should have an option to add a route manually, the route will be something like:
Code:
Network Subnet Mask Next Hop Cost
192.168.1.0 255.255.255.0 192.168.0.254 1
Which part of this are you having trouble with ?
|
|
|
10-12-2013, 01:13 PM
|
#18
|
Member
Registered: Apr 2011
Posts: 109
Original Poster
Rep:
|
Quote:
Originally Posted by kbp
The router should have an option to add a route manually, the route will be something like:
Code:
Subnet Mask Next Hop Cost
192.168.1.0 255.255.255.0 192.168.0.254 1
Which part of this are you having trouble with ?
|
I don't see Network , Next Hop or cost in any of my routers.
Quote:
Which part of this are you having trouble with
|
Quote:
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:
|
What do you mean know how to get to 192.168.1.0/24 ? And what is static route?
|
|
|
10-12-2013, 02:38 PM
|
#19
|
LQ Addict
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 22,799
|
|
|
|
10-13-2013, 08:00 PM
|
#20
|
Senior Member
Registered: Apr 2010
Posts: 2,234
|
Quote:
I don't see Network , Next Hop or cost in any of my routers.
Quote:
What router are you using? Are you using Cisco?
You don't see any next hop or cost in any of your routers.
You have access to your router?
|
And what is static route?
|
Well, static is a manually defined route. Opposite of this is a dynamic route, which is automatically learned by routing protocols.
Please read and check this link it should help:
Computer Networking : Principles, Protocols and Practice
http://cnp3book.info.ucl.ac.be/
|
|
|
10-14-2013, 01:31 PM
|
#21
|
Member
Registered: Apr 2011
Posts: 109
Original Poster
Rep:
|
Quote:
Originally Posted by JJJCR
Well, static is a manually defined route. Opposite of this is a dynamic route, which is automatically learned by routing protocols.
Please read and check this link it should help:
Computer Networking : Principles, Protocols and Practice
http://cnp3book.info.ucl.ac.be/
|
I don't see Network , Next Hop or cost in any of my routers.
No I don't see any of this.
This is home use router . May be that why .
|
|
|
10-14-2013, 07:24 PM
|
#22
|
Senior Member
Registered: Aug 2009
Posts: 3,790
|
Maybe you could tell us the model, then we can find the manual and advise you where to add the static route, maybe even some screen-shots.
|
|
|
10-15-2013, 01:16 AM
|
#23
|
LQ Addict
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 22,799
|
Quote:
Originally Posted by nec207
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.
|
|
|
All times are GMT -5. The time now is 07:34 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|