*BSD News Article 71471


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!nntp.coast.net!sgigate.sgi.com!uhog.mit.edu!news.mathworks.com!newsfeed.internetmci.com!news1.erols.com!newsmaster@erols.com
From: Ken Bigelow <kbigelow@www.play-hookey.com>
Newsgroups: comp.unix.bsd.freebsd.misc,comp.dcom.frame-relay,comp.dcom.isdn,comp.unix.bsd.misc
Subject: Re: subnetting through ppp interface (troubles) ....
Date: Wed, 19 Jun 1996 21:04:35 -0700
Organization: Erols Internet Services
Lines: 90
Message-ID: <31C8CDD3.1413@www.play-hookey.com>
References: <31C51985.3686@sanet.ge>
NNTP-Posting-Host: kenjb05.play-hookey.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 2.02 (Win16; I)
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:21671 comp.dcom.frame-relay:4965 comp.dcom.isdn:35035 comp.unix.bsd.misc:1143

Eugene Vekua 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).
> 
> Interface configuration on tilda:
> ---------------------------------
> network_interfaces="ppp0 de0 lo0"
> ifconfig_ppp0="inet 205.197.186.9 205.197.186.200 netmask 255.255.255.248"
> ifconfig_de0="inet 205.197.186.9 netmask 255.255.255.248"
> ifconfig_lo0="inet localhost"
> 
> PPP configuration on tilda:
> ---------------------------
> modem
> crtscts
> proxyarp
> domain tilda.snet.ge
> netmask 255.255.255.248
> 205.197.186.9:205.197.184.200
> defaultroute
> 
> 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"
>          User-Service-Type = Framed-User,
>          Framed-Protocol = PPP,
>          Framed-Address = 205.197.186.9,
>          Framed-Netmask = 255.255.255.248,
>          Framed-Routing = None,
>          Framed-Route = "205.197.186.8 205.197.186.9 1",
>          Framed-MTU = 1500
> 
> After connection  all is OK with tilda (I can trace and ping it), netstat and
> ifconfig shows :
> 
> Destination      Gateway            Flags     Refs     Use     Netif Expire
> default          205.197.184.200    UGc         0        0      ppp0
> 127.0.0.1        127.0.0.1          UH          0        0       lo0
> 205.197.184.200  205.197.186.9      UH          1        0      ppp0
> 205.197.186.8    link#2             UC          0        0
> 205.197.186.9    0:0:c0:62:66:e     UHLW        0        1       lo0
> 224              127.0.0.1          US          0        0       lo0
> 
> de0: flags=c863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,LINK2,MULTICAST> mtu 1500
>         inet 205.197.186.9 netmask 0xfffffff8 broadcast 205.197.186.15
>         ether 00:00:c0:62:66:0e
> lo0: flags=8009<UP,LOOPBACK,MULTICAST> mtu 16384
>         inet 127.0.0.1 netmask 0xff000000
> ppp0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500
>         inet 205.197.186.9 --> 205.197.184.200 netmask 0xfffffff8
> 
> 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  * *
> 
> When I am doing ping and trace, modem lights shows me that tilda receives
> packages. But it did not doing route for them.
> 
> Don't know exactly where is mistake on tilda or pm1,  fact is - it does
> not work.
> Please help!
> 

A couple of questions about this setup:

You describe gamma as a member of your subnet. Do you have it listed in /etc/hosts? 
If not, is it known to your ISP's nameserver?

Am I correct in assuming that gamma is connected to tilda via Ethernet (de0)? If so, 
pm1 should not be part of the route, since a gateway should only pass packets that 
can't be delivered locally. In this case, traceroute should return only a single 
line: gamma

If gamma is not on an Ethernet connection, how is it actually connected to tilda?

This list may lead you to the answer. If not, fill in the above blanks and I'll give 
it another shot.

Ken