*BSD News Article 71183


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!metro!metro!asstdc.scgt.oz.au!nsw.news.telstra.net!act.news.telstra.net!psgrain!qiclab.scn.rain.com!columbia.com!imci5!imci4!newsfeed.internetmci.com!portal.gmu.edu!news
From: Eugene Vekua <eugene@sanet.ge>
Newsgroups: comp.unix.bsd.freebsd.misc,comp.dcom.frame-relay,comp.dcom.isdn,comp.unix.bsd.misc
Subject: subnetting through ppp interface (troubles) ....
Date: Mon, 17 Jun 1996 12:38:29 +0400
Organization: SA*Net
Lines: 80
Message-ID: <31C51985.3686@sanet.ge>
NNTP-Posting-Host: tiger.sanet.ge
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 2.0 (Win95; I)
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:21444 comp.dcom.frame-relay:4948 comp.dcom.isdn:34882 comp.unix.bsd.misc:1138

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!


-                 -
----              -----
-------           -----------
----------        ------------------
Eugene Vekua  --  SA*Net <eugene@sanet.ge>