Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Jan 1997 16:10:10 -0500
From:      "Matthew A. Gessner" <mgessner@aristar.com>
To:        hackers <hackers@freebsd.org>
Subject:   dialup iijppp not letting line go?
Message-ID:  <32F10E32.167EB0E7@aristar.com>

next in thread | raw e-mail | index | archive | help
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, <mgessner@aristar.com>
Aristar, Inc.
302 N. Cleveland-Massillon Rd.
Akron, OH 44333
Voice (330) 668-2267, Fax (330) 668-2961



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?32F10E32.167EB0E7>