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


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



Relevant Pages

  • Re: Weird net connection problem
    ... across the Internet) to throttle or not the traffic). ... Depends how many packets in your connection are lost. ... you connect to some ISP via a router (not a home ADSL one, I should add, ... be advertising to the rest of the Internet, the address of your network, ...
    (uk.comp.sys.mac)
  • Re: Strange networking problems after update 5.2.1->5.3
    ... I cannot ping it even from a host connected to the same ... My network at home is somewhat simpler (192.168.1.0/24 is local, ... is another notebook that is acting as NAT and default router). ... not even the obviously outgoing ping packets. ...
    (freebsd-stable)
  • Re: sniffing plaintext protocols
    ... You can sniff traffic between two or more hosts if you ... are on the same network. ... you would see all the packets to/from all the ...
    (Pen-Test)
  • Re: Nmap questions concering my router
    ... It's a bit off topic - but down at the Ethernet level, the packets are ... so your router masquerades for you. ... it may differ from other applications - we just send data to a network ... >> the Ethernet header is the MAC address of the 10.0.0.138 interface. ...
    (comp.security.firewalls)
  • Re: network and router questionhelp
    ... Does your router allow multiple hosts on a given port? ... ethernet hub connected to a router with no one talking to anybody. ... the hosts to be using DHCP, so configure that client in place of the ... address on this network out of mid-air. ...
    (alt.linux)

Loading