Link to home
Start Free TrialLog in
Avatar of turbot_yu
turbot_yuFlag for Singapore

asked on

May u give brief knowledge how router work?

How does it forwards or map ip in different subnet simplely.

What is the definition of it and how is the basic function?
ASKER CERTIFIED SOLUTION
Avatar of Steve Knight
Steve Knight
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of turbot_yu

ASKER

Thanks a lot, quite clear,
May u give a bit more on
'Client devices generally reach a router through their default gateway setting or from being being redirected there by another network device '

And how and where to set the gateway.
'Client devices generally reach a router through their default gateway setting or from being being redirected there by another network device '

OK, this is basic TCP/IP stuff and there are many tutotials out there, but will give a brief run down.

Each PC has an IP address, and subnet mask as a minimum.
The IP address and subnet mask are combined to identify if another IP address is on the same subnet and therefore contacted directly or on another subnet in which case to be sent to the default gateway.

e.g.


your ip is 10.0.1.2 and subnet mask is 255.255.255.0  defult gatrway is 10.0.1.1
router ip is 10.0.1.1
other ip #1 is 10.0.1.100
other ip #2 is 10.0.2.100
other ip #3 is 220.1.220.1

to get from 10.0.1.2 to 10.0.1.100 it is on the same subnet so it sends direct
to get from 10.0.1.2 to 10.0.2.100 it is on a different subnet so it sends to 10.0.1.1 which may or not know how to get to 10.0.2.100.  Same with 220.1.220.1


At least router will have 2 ports, does each one has a ip of gateway?
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
So multiple interfaces have a multi gateway, each interface has a gateway for itself, right?

How does the router make the traffice direction in router as double direction?
If a packet comes in anywhere then the router checks tis routing tables to determine wher to point it.  Type ROUTE PRINT from a CMD.EXE console on a Windows box to get an idea of what it uses to end packets different ways.
Thanks for the point, glad it helped
Thanks a lot, Any simple and good book I can go further?
:))
Don't know sorry, learnt all this 10-15 years ago :-)   Bit of experience, set up some test network then get hold of a CCNA Cisco course perhaps?