LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-11-2013, 11:28 PM   #16
nec207
Member
 
Registered: Apr 2011
Posts: 109

Original Poster
Rep: Reputation: 6

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.
 
Old 10-12-2013, 04:03 AM   #17
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653
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 ?
 
Old 10-12-2013, 01:13 PM   #18
nec207
Member
 
Registered: Apr 2011
Posts: 109

Original Poster
Rep: Reputation: 6
Quote:
Originally Posted by kbp View Post
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?
 
Old 10-12-2013, 02:38 PM   #19
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 22,799

Rep: Reputation: 7568Reputation: 7568Reputation: 7568Reputation: 7568Reputation: 7568Reputation: 7568Reputation: 7568Reputation: 7568Reputation: 7568Reputation: 7568Reputation: 7568
http://compnetworking.about.com/od/h...ting_table.htm
 
Old 10-13-2013, 08:00 PM   #20
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 2,234

Rep: Reputation: 458Reputation: 458Reputation: 458Reputation: 458Reputation: 458
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/
 
Old 10-14-2013, 01:31 PM   #21
nec207
Member
 
Registered: Apr 2011
Posts: 109

Original Poster
Rep: Reputation: 6
Quote:
Originally Posted by JJJCR View Post
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 .
 
Old 10-14-2013, 07:24 PM   #22
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653
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.
 
Old 10-15-2013, 01:16 AM   #23
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 22,799

Rep: Reputation: 7568Reputation: 7568Reputation: 7568Reputation: 7568Reputation: 7568Reputation: 7568Reputation: 7568Reputation: 7568Reputation: 7568Reputation: 7568Reputation: 7568
Quote:
Originally Posted by nec207 View Post
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Get a firewall/gateway in between a modem and router to reach the routers LAN. Oxagast Linux - Networking 1 08-15-2013 12:39 PM
Problems getting NIC to talk to my router Draylath Ubuntu 18 06-28-2007 04:45 PM
ADSL Routers Setup- Microsom Deskporte router 100 and Planet ADSL modem router mabonline Linux - Hardware 1 02-27-2004 05:36 PM
Linksys router won't talk to me. Travis86 Linux - Networking 10 12-17-2003 11:23 PM
Newbie needs to know how to talk to router logikos Linux - Networking 4 08-25-2002 10:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration