*BSD News Article 71767


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mira.net.au!inquo!in-news.erinet.com!newsfeeder.sdsu.edu!sgigate.sgi.com!news-res.gsl.net!news.gsl.net!news.mathworks.com!newsfeed.internetmci.com!heathers.stdio.com!heathers.stdio.com!not-for-mail
From: risner@stdio.com (James Risner)
Newsgroups: comp.unix.bsd.freebsd.misc,comp.dcom.frame-relay,comp.dcom.isdn,comp.unix.bsd.misc
Subject: Re: subnetting through ppp interface (troubles) ....
Followup-To: comp.unix.bsd.freebsd.misc,comp.dcom.frame-relay,comp.dcom.isdn,comp.unix.bsd.misc
Date: 22 Jun 1996 17:48:04 -0400
Organization: Open World
Lines: 34
Message-ID: <4qhpmk$7r0@heathers.stdio.com>
References: <31C51985.3686@sanet.ge>
NNTP-Posting-Host: heathers.stdio.com
X-Newsreader: TIN [version 1.2 PL2]
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:21906 comp.dcom.frame-relay:4990 comp.dcom.isdn:35223 comp.unix.bsd.misc:1150

Eugene Vekua (eugene@sanet.ge) wrote:
: I have trouble with routing to subnet trough PPP interface.
: Probably mistake is in interface configuration on subnet gateway.
: Here is description:

: Subnet is snet 205.197.186.8 (255.255.255.248) , gateway is tilda.snet.ge
: 205.197.186.9 , peer is portmaster pm1 205.197.184.200 (255.255.255.0).

: configuration on pm1:
: --------------------
: add route 205.197.186.8 205.197.186.9 1
: add netmask 205.197.186.0 255.255.255.248

: RADIUS configuration:
: ----------------------
: tom	 Password = "UNIX"
: 	 Framed-Address = 205.197.186.9,
: 	 Framed-Netmask = 255.255.255.248,
: 	 Framed-Route = "205.197.186.8 205.197.186.9 1",

: but when I'm tracing any of hosts in snet (for example gamma *.186.10
: (255.255.255.248)) tilda did not respond:
: >traceroute 205.197.186.10 1  pm1 (205.197.184.200)  1.195 ms  2.042 ms  1.816 ms
:  2  * *

Easy, change your route add commands.
You need to specify netmask during the route commands or it will default
to the type based on the class of IP address.
This means that 205 is 255.255.255.0 which makes the route a HOST route
and not a NETWORK route.

Therefore only the one machine works .9 and .10 gets lost.

Risner