Networking Forums

Networking Forums > Computer Networking > Linux Networking > use of routers

Reply
Thread Tools Display Modes

use of routers

 
 
Yanal
Guest
Posts: n/a

 
      07-20-2003, 04:44 AM
Routers are used to connect two (or more) unsimilar networks.

thats why you would use a router to connect your home newtort(for
example) to the world since the home network (assuming MS Neighborhood
uses netbuei)

but, what if the LAN use tcp/ip and then one of the computers wanted to
view something on the internet.

how does the router know what is local traffic and what is intended to
go to the internet?

is it because local networks use differnt IP number set than that of
whatever is on the internet? or is it the network mask?


 
Reply With Quote
 
 
 
 
Timo Voipio
Guest
Posts: n/a

 
      07-20-2003, 06:23 AM
Yanal wrote:

> Routers are used to connect two (or more) unsimilar networks.


Scratch "unsimilar". They're also used to connect similar networks.

> thats why you would use a router to connect your home newtort(for
> example) to the world since the home network (assuming MS Neighborhood
> uses netbuei)


Somebody please translate that into English...

> but, what if the LAN use tcp/ip and then one of the computers wanted to
> view something on the internet.
> how does the router know what is local traffic and what is intended to
> go to the internet?
> is it because local networks use differnt IP number set than that of
> whatever is on the internet? or is it the network mask?



Combination of IP address and netmask. The routing information resides in
the routing table, which is manipulated with the 'route' command. When a
packet arrives to the network stack of the computer, it checks whether the
destination address belongs to any of the networks listed in the routing
table. If yes, then the packet is sent out thru the interface listed in the
routing table. If not, then the packet is sent to the default gateway.

The topic is bit too wide to be handled in a single usenet post. I'd
recommend obtaining a book on TCP/IP networking. IIRC "Linux Network
Administrator's Guide" by Dawson, Terry/Kirch, Olaf, published by O'Reilly,
ISBN 1565924002 has a good explanation on the topic.

HTH,

-Timo

--
Timo Voipio | Helsinki, Finland | ICBM at: 60 11.800 N 024 52.760 E
GeekCode ver 3: GU>CC d s-: a--- C++ UL(+)$>+++$ P+>+++ L++(+) E- W++ N++
o? K? w O M- V- PS PE Y+ PGP+ t 5++ X R tv- b++(++++) DI+ D G e- h! r !y

 
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
WHS and two routers Turner Morgan Network Routers 1 06-23-2008 09:56 AM
Connect 2 routers (wireless and regular routers) Dineyar Buhariwala Wireless Networks 1 11-24-2004 12:37 PM
AOL in the UK and wireless routers/adsl routers Christo Wireless Internet 3 10-30-2004 12:47 PM
Who knows routers? Darren Wireless Internet 6 10-22-2004 01:46 AM
Routers And IRC brian-s-jones-at-comcast.net Wireless Internet 1 07-14-2004 05:28 PM



1 2 3 4 5 6 7 8 9 10 11