Re: how the routing of packets to individual hosts take place from the router
From: P Gentry (rdgentry1_at_cablelynx.com)
Date: 03/16/04
- Next message: Andreas Janssen: "Re: backup cron job?"
- Previous message: Simon.: "Re: Printing Postscript"
- In reply to: karthikeyan: "how the routing of packets to individual hosts take place from the router"
- Next in thread: David Efflandt: "Re: how the routing of packets to individual hosts take place from the router"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 16 Mar 2004 09:57:53 -0800
thegreatkarthik@yahoo.co.in (karthikeyan) wrote in message news:<ecaee7af.0403160253.5038edc3@posting.google.com>...
> sir,
> AS far router is concerned we will have about the network & network
> mask.we don't have routing info for individual ip.
> for eg the ip to route is 10.20.27.101 but my netmask is
> 255.255.255.0 and router will find the network as local network and as
> 10.20.27.0 and now i want to route the packets from the router to
> exact ip 10.20.27.101 (particular machine) . Routing table won't have
> info for host ip then how router deliver packets to individual hosts.
> how the routing of packets to individual hosts take place from the
> router ??
>
> Please help me
> thk in adv
TGK,
You're really going to have to get the routing/networking docs and
study them. Also, some distros have pretty good, basic
info/instructions, eg., Redhat Customization and Reference guides.
Normally the routing tables map a _network_ to an interface -- all
packets headed for any host on that network will use that interface,
so it is generally not necessary/desirable to use static routes to
individual hosts in a router. Hosts peek at all packets on their
segment and grab any that are directed to them. You may also have a
bridge or switch which makes sure the packets get to the correct
network segment. The router just needs to know which interface to use
to send a packet onward in the right direction.
If you want/need to add a host route to the routing table use the
-host option when you do "route add". Read the man page for route.
This can be a maintainance headache -- be sure it is what you
need/want to do.
hth,
prg
email above disabled
- Next message: Andreas Janssen: "Re: backup cron job?"
- Previous message: Simon.: "Re: Printing Postscript"
- In reply to: karthikeyan: "how the routing of packets to individual hosts take place from the router"
- Next in thread: David Efflandt: "Re: how the routing of packets to individual hosts take place from the router"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|