Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Feb 1998 11:42:13 -0800 (PST)
From:      David Babler <dbabler@Rigel.orionsys.com>
To:        freebsd-isp@FreeBSD.ORG
Subject:   PPP/Routing question
Message-ID:  <Pine.BSF.3.96.980216114056.660A-100000@Rigel.orionsys.com>

next in thread | raw e-mail | index | archive | help

I'm cross-posting to this list from the original query on questions...


Heeeeeeeeeellppp.

I seem to be missing something fundamental in the routing setup here.
I'm running 2.2-STABLE and just added IIJPPP for a customer. He has a
static IP, x.x.x.252. The overall network is:

	ISP <-> FRAD <-+-> Rigel <--> customer
		 .1    |     .9		.252
		       |
		       |<-> BBS <--> dynamic dialups
		       |     .2		.128...
		       |<-> Test
			     .7

When the user establishes contact, using Win95 DUNS and running the
personal web server software, I can ping his address okay from this
machine (Rigel) and from the Test machine (.7, which uses .1 as its
gateway). I can access his web site from Rigel and the Test machine. The
problem is that dialup users on the BBS server can't access .252 at all -
they get a timeout. I'm running routed and am the authorative DNS for this
domain and the gateway option is activated. 

---- The ppp.conf entry is:
default:
 set Log phase lcp chat 
 set timeout 0
 disable lqr
 deny lqr
 enable msext
 set login
 set ns 205.148.224.9 199.190.65.3

papcuaa0:
 enable pap
 enable proxy
----
---- the ppp.secret entry is:
user	<password>	205.148.224.252
---- the ppp.linkup entry is:
papcuaa0:
 add 0 0 HISADDR
----
With him connected, netstat -r shows:

Routing tables

Internet:
Destination        Gateway            Flags     Refs     Use     Netif Expire
default            frad               UGSc       45    12004       ie0
localhost          localhost          UH         12   102117       lo0
205.148.224        link#2             UC          0        0 
frad               0:a0:eb:0:4:59     UHLW       43        4       ie0   1066
orionsys.com       2:0:0:0:41:0       UHLW        3   386325       ie0    135
rigel              localhost          UH          2   360534       lo0
IP-137             2:0:0:0:41:0       UHLW        0        8       ie0    350
IP-138             2:0:0:0:41:0       UHLW        0      193       ie0    601
IP-139             2:0:0:0:41:0       UHLW        0        4       ie0    710
tnet               rigel              UH          1      977      tun0
tnet               0:aa:0:36:67:74    UHLS2       0        0       ie0

And arp -a shows:

frad.orionsys.com (205.148.224.1) at 0:a0:eb:0:4:59
orionsys.com (205.148.224.2) at 2:0:0:0:41:0
IP-137.ORIONSYS.COM (205.148.224.137) at 2:0:0:0:41:0
IP-138.ORIONSYS.COM (205.148.224.138) at 2:0:0:0:41:0
IP-139.ORIONSYS.COM (205.148.224.139) at 2:0:0:0:41:0
tnet.orionsys.com (205.148.224.252) at 0:aa:0:36:67:74 permanent published (proxy only)

And ifconfig -a is:

lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
ie0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	ether 00:aa:00:36:67:74 
tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500
	inet 205.148.224.9 --> 205.148.224.252 netmask 0xffffff00 
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
	inet 127.0.0.1 netmask 0xff000000 

The "IP-xxx" entries are dynamic IP PPP dialups from the BBS server. Is
the netmask for 205.148.224.9 -> 205.148.224.252 right, or should it be
0xffffffff?

I initially was running named with the '-q' option - I later killed it and
restarted it with the '-s' option (which one _is_ appropriate here?). Or
should I be running gated instead?

Any pointer in the right direction would be appreciated. I do have the
"crab" book but I'm obviously not reading it right here.

-Dave



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980216114056.660A-100000>