Home > Archive > alt.certification.network-plus > July 2003 > Use of Routers





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Use of Routers
Yanal

2003-07-20, 1:24 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?



limeaid

2003-07-20, 2:25 am

When you configure a router you tell it what networks are on which
interfaces.
for example

MyRouter# interface fastethernet 0
MyRouter# ip address 192.168.1.1 255.255.255.0

This would tell the router that interface 0 has the above ip address (.1)
and the mask tells it what address will belong to that network.
You have just defined the gateway for this network. All clients wanting
to get out of this above network would send to the gateway address
192.168.1.1

If this is the only network your router knows about you would then define
a default route or a gateway of last resort to know where to send all
other non-local traffic to.

HTH



Yanal <fake@byu.edu> wrote in news:S3pSa.1692$Et6.47780137
@newssvr14.news.prodigy.com:

> 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?
>
>
>


Netwerkz

2003-07-21, 12:25 am


"Yanal" <fake@byu.edu> wrote in message
news:S3pSa.1692$Et6.47780137@newssvr14.news.prodigy.com...
> 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?
>
>
>


it's the network mask (subnet mask)

when your PC wants to send a ip stuff to a host
not on same network, it will forward the ip stuff
to the default gateway if it's configured.


Gareth

2003-07-23, 5:25 am


"Yanal" <fake@byu.edu> wrote in message
news:S3pSa.1692$Et6.47780137@newssvr14.news.prodigy.com...
> 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?


No.

Routers connect identical networks, since they are protocol-dependant,
almost guaranteed to operate inside OSI layer 3 (ie. IP routers being the
most common variety). And as Netwerks says, it's the subnet mask. Basically
it takes the IP address and subnet mask together, and adds them together (in
binary, using AND). The result is the network ID. If the network ID doesn't
match the current computer's network ID, then it's declared that the other
IP address isn't on the same network, and the data is forwarded to the
gateway address, which is more often than not, a router.

HTH,

G.


Paul

2003-07-24, 7:24 am

Roger that I agree with Router connnect similar networks. Gateways on the
other hand can connect disimilar networks.


"Gareth" <gaz@gaz.org> wrote in message
news:3f1e4e8f$0$45183$65c69314
@mercury.nildram.net...
>
> "Yanal" <fake@byu.edu> wrote in message
> news:S3pSa.1692$Et6.47780137@newssvr14.news.prodigy.com...
> > 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?

>
> No.
>
> Routers connect identical networks, since they are protocol-dependant,
> almost guaranteed to operate inside OSI layer 3 (ie. IP routers being the
> most common variety). And as Netwerks says, it's the subnet mask.

Basically
> it takes the IP address and subnet mask together, and adds them together

(in
> binary, using AND). The result is the network ID. If the network ID

doesn't
> match the current computer's network ID, then it's declared that the other
> IP address isn't on the same network, and the data is forwarded to the
> gateway address, which is more often than not, a router.
>
> HTH,
>
> G.
>
>



Gareth

2003-07-27, 8:24 am


"Paul" <paulftw@charter.net> wrote in message
news:vhveccm83grbda@corp.supernews.com...
> Roger that I agree with Router connnect similar networks. Gateways on the
> other hand can connect disimilar networks.


That's the one )

G.


Sponsored Links





Free Braindumps | MCSE braindumps software forum

Copyright 2003 - 2008 examnotes.net