Archived from groups: comp.dcom.lans.ethernet,comp.protocols.tcp-ip (
More info?)
jameshanley39@yahoo.co.uk wrote:
> Wayne wrote:
> > <jameshanley39@yahoo.co.uk> wrote in message
> > news:1127904921.081046.68950@z14g2000cwz.googlegroups.com...
> > >
> > > If there's a routing table, what is in it? (I will speculate)
> > >
> >
> > No need to speculate. Here's a sample routing table from a Linksys
> > broadband router made circa 2000.
> >
> > Destination LAN IP Subnet Mask Default Gateway Hop
> > Count Interface
> > 0.0.0.0 0.0.0.0 64.x.x.x 1 WAN
> > 64.x.x.x 255.255.240.0 0.0.0.0 1 WAN
> > 192.168.10.0 255.255.255.0 0.0.0.0 1 LAN
> >
> > One entry for the ISP's next-hop, one entry for each directly attached
> > network. Simple? Yes. Small? Yes. Still a routing table, still routing
>
> yes, btw, where did you get LinkSys command ref from? (note-I managed
> to find DLink DSL504 here http://shadow.sentry.org/~trev/dsl50x.html)
>
> it's interesting. My DLink DSL504 router actually doesn't list local
> IPs in the routing table. I guess its NAT is implemented in the
> firewall part.
>
> There is only one entry in my router's routing table - that entry being
> the default route.
>
> 192.168.0.1> ip route
> route add ppp_route 0.0.0.0 82.70.237.22 00:00:00:00 1 0 1 #
> MAN via ppp_device
> 192.168.0.1>
>
> so, doesn't seem like much need to look up the dest ip. Doesn't look
> like RIP is doing much.
> If the Dest IP is its own IP, then NAT and PAT kicks in. And if it's
> anything it just goes to the routing table and takes the default route,
> which is out the WAN interface to the ISP's router.
>
> But there are commands and ways in the web interface, to add entries.
> THe web interface mentions 2 interfaces ISP1 and Ethernet (makes
> sense).
>
> I guess if I could disable NAT such that packets could arrive at my
> router with an IP of one of my local computers, - then I could start
> adding entries to the routing table.
>
> though with NAT, and this one WAN interface for the default route
> entry. The whole RIP (that seems to advertise nothing - what subnets
> are connected at my end to my router, that it would advertise? None-
> The one subnet that it has at my end is NATed anyway - not advertised)
> and Routing Table(with the 1 default entry) seems like overkill!
>
> But I guess it's still techically a rouiter, for its RIP and routing
> table.
ah,my mistake. I didn't realise your routing table was - like mine -
as expected - not listing NAT either. You actually have 2 directly
connected networks and they aren't behind NAT. Since they are in the
routing table and the Dest IP could equal an IP on one of those
networks. I didn't have that in mind when I thoguht of a home router.
I have trouble trying to disable NAT on my home router. Your router is
certainly more router like than mine!