From owner-freebsd-hackers Thu Jan 30 13:10:05 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id NAA01539 for hackers-outgoing; Thu, 30 Jan 1997 13:10:05 -0800 (PST) Received: from ns.newreach.net (root@ns.newreach.net [206.25.170.1]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id NAA01510 for ; Thu, 30 Jan 1997 13:10:00 -0800 (PST) Received: from phoenix.aristar.com (ip68.akron.newreach.net [206.25.171.68]) by ns.newreach.net (8.8.4/8.6.9) with SMTP id QAA25772 for ; Thu, 30 Jan 1997 16:09:52 -0500 (EST) Message-ID: <32F10E32.167EB0E7@aristar.com> Date: Thu, 30 Jan 1997 16:10:10 -0500 From: "Matthew A. Gessner" Organization: Aristar, Inc. X-Mailer: Mozilla 3.01Gold (X11; I; FreeBSD 2.1.0-RELEASE i386) MIME-Version: 1.0 To: hackers Subject: dialup iijppp not letting line go? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hello, all, First, thanks for those who've helped me with setting up ppp and ppp+pktAlias (esp EE). My current task is to allow outside access from the world to a specific machine that is on my LAN through another machine connected via a modem using the ppp+pktAlias software. The specifics are: 1) Our ISP has dedicated 2 IP addresses for us: 206.25.171.180 inetgw running ppp+pktAlias 206.25.171.181 phoenix machine I want to be able to allow packets for phoenix coming in from the outside into inetgw to get to phoenix. So far, I haven't been able to make this happen. 2) I have assigned an alias to ed0: it has 2 addresses: 10.0.0.1 (local) 206.25.171.181 (alias) 3) phoenix's usual default gateway is inetgw, except when I want to connect directly through my modem (which I do sometimes). 4) I have a static route on phoenix: route add 206.25.171.181 localhost It gives an error when I start it but it does go through: it gives me this: (/etc/ppp.orig)# netstat -rn Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 206.25.171.40 UGc 4 0 tun0 10 link#1 UC 1 0 10.0.0.4 0:40:5:1b:dc:44 UHLW 0 1587 ed0 530 10.0.0.16 0:40:5:37:7b:4b UHLW 0 132 ed0 127.0.0.1 127.0.0.1 UH 1 0 lo0 206.25.171 link#1 UC 1 0 206.25.171.40 206.25.171.68 UH 5 0 tun0 206.25.171.181 127.0.0.1 UGHS 1 0 lo0 I think I'm missing something somewhere. Can someone fill in the missing pieces? Do I need to be running ipfw? Do I need to put something else in my routing tables? My apologies for not being able to figure out what's going on here. My ISP does have his routing tables set up properly, AFAIK. He's routing all packets for the 181 address to the 180 address. If this isn't clear, write me and I'll elucidate. My other problem is that when I do a direct serial port linkup, even if I disconnect the cable, the ppp session stays active. Now I'm definitely doing something non-standard with this: I'm plugging in an Apple MessagePad and talking PPP. I've set the serial ports as 'modem' in rc.serial. Is there something else I need to be doing? Set a timeout in the dialup part of ppp.conf? TIA -- Matthew Gessner, Computer Scientist, Aristar, Inc. 302 N. Cleveland-Massillon Rd. Akron, OH 44333 Voice (330) 668-2267, Fax (330) 668-2961