Is my Router/Gateway routing OK?

This is a discussion on Is my Router/Gateway routing OK? within the Linux Networking forums, part of the Linux Forums category; Hi, I've several PCs connected to a 10.0.0.x LAN. An ADSL modem/router is also on ...


Go Back   Usenet Forums > Linux Forums > Linux Networking

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-26-2005
Michael Badt
 
Posts: n/a
Default Is my Router/Gateway routing OK?

Hi,
I've several PCs connected to a 10.0.0.x LAN.
An ADSL modem/router is also on that LAN and acts as my Gateway to the
ISP/Internet+DHCP server+NAT/Firewall.
Although I get Internet connectivity, I can't get NTP sync from A Mandriva
2006_64 PC with IP address 10.0.0.1.
I looked at the routing table of the ADSL router, and it looks quite
complicated as follows:

Destination Gateway Genmask Flags Metric Ref Use
Iface
192.114.82.152 127.0.0.1 255.255.255.255 UGH 0 0 0 lo
192.114.46.164 127.0.0.1 255.255.255.255 UGH 0 0 0 lo
192.117.100.169 127.0.0.1 255.255.255.255 UGH 0 0 0 lo
192.117.119.209 127.0.0.1 255.255.255.255 UGH 0 0 0 lo
192.114.47.251 192.117.119.209 255.255.255.255 UGH 0 0 0 ppp0
192.114.47.251 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
239.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 br0
10.0.0.0 10.0.0.138 255.0.0.0 UG 0 0 0 br0
10.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 br0
0.0.0.0 192.114.47.251 0.0.0.0 UG 0 0 0 ppp0

Can thus be related to my problem?

TIA

Reply With Quote
  #2 (permalink)  
Old 11-27-2005
Moe Trin
 
Posts: n/a
Default Re: Is my Router/Gateway routing OK?

On Sat, 26 Nov 2005, in the Usenet newsgroup comp.os.linux.networking, in
article <newscache$mrlkqi$7wi$1@news.actcom.co.il>, Michael Badt wrote:

>I've several PCs connected to a 10.0.0.x LAN.


The routing table is a bit confusing - it says 10.x.x.x (mask 255.0.0.0)
rather than 10.0.0.x (mask 255.255.255.0).

>Although I get Internet connectivity, I can't get NTP sync from A Mandriva
>2006_64 PC with IP address 10.0.0.1.


Can't get sync from where? 10.0.0.3 <-> 10.0.0.1? Or from some host out on
the world trying to reach your 10.0.0.1 (as opposed to anyone else's 10.0.0.1)?

>I looked at the routing table of the ADSL router, and it looks quite
>complicated as follows:


Yes

>Destination Gateway Genmask Flags Metric Ref Use Iface
>192.114.82.152 127.0.0.1 255.255.255.255 UGH 0 0 0 lo
>192.114.46.164 127.0.0.1 255.255.255.255 UGH 0 0 0 lo
>192.117.100.169 127.0.0.1 255.255.255.255 UGH 0 0 0 lo
>192.117.119.209 127.0.0.1 255.255.255.255 UGH 0 0 0 lo


For some reason, the router is claiming that those four addresses are
actually another IP address for the router. This trick is often used to
block advertising, spyware, or other unwanted connections to/from those sites.

>192.114.47.251 192.117.119.209 255.255.255.255 UGH 0 0 0 ppp0
>192.114.47.251 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0


OK - that seems to be the way to the world - normally, I wouldn't worry about
192.114.47.251 (which would be a remote host) because you say you need to
send the packets to 192.117.119.209... which is itself???, to reach
192.114.47.251.

>239.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 br0


239.0.0.0 is a Multicast block, although IANA has only allocated the upper
quarter (239.192.0.0 - 239.255.255.255) to Site-Local (RFC2365) stuff.

>10.0.0.0 10.0.0.138 255.0.0.0 UG 0 0 0 br0
>10.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 br0


This looks like a windoze expert set up the routing. The last line says
that all of 10.0.0.0 - 10.255.255.255 is directly attached to the 'br0'
interface, but the line above it says to reach 10.0.0.0/8, you need to
send packets to 10.0.0.138 and that host will relay the packets to the
net. However, there is no indication how to reach 10.0.0.138 other than
directly, and that negates the reason for the last line. If you really
do have to send them to 10.0.0.138 and that is a remote host, the last
line should be replace with a host route

10.0.0.138 0.0.0.0 255.255.255.255 UH 0 0 0 br0

It would appear that the routing table could be simplified as follows:

Destination Gateway Genmask Flags Metric Ref Use Iface
192.114.47.251 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
10.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 br0
127.0.0.0 0.0.0.0 255.0.0.0.0 U 0 0 0 lo
0.0.0.0 192.114.47.251 0.0.0.0 UG 0 0 0 ppp0

>Can thus be related to my problem?


There isn't enough details to identify your problem (other than a bizarre
routing table). Running tcpdump might provide clues. Running a traceroute
(or the b0rken windoze imitation "TRACERT") from that host you are trying
to connect to 10.0.0.1 would also help.

Old guy
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 05:01 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0