Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Jan 1996 16:32:18 -0500 (EST)
From:      jlrobins@zappa.cs.uncc.edu
To:        questions@freebsd.org
Subject:   pppd only works right the first time :-(
Message-ID:  <9601042132.AA05294@zappa.cs.uncc.edu>

Next in thread | Raw E-Mail | Index | Archive | Help
Yet another PPP question -- 2.1-stable

I have a site that I'm trying to set up as a one line PPP server using
pppd. It answers the telephone correctly for shell use.

After a reboot, the first call is handled perfectly. It ifconfigs the
ppp0 interface, it adds the route, and then proxyarp's for the remote
machine. Cool Moe D.

When the second call comes in, pppd gets started up and complains with
"ioctl(SIOCAIFADDR): Address already exists". No route entry is added.
No proxy arp is done. Person on the other end can't see anywhere.

Local IP addr: 152.15.35.100
Remote addr: 152.15.35.101

Routing table after successful (first) conection:
Routing tables

Internet:
Destination      Gateway            Flags     Refs     Use     Netif Expire
default          152.15.254.254     UGSc        0        0       ed0
127.0.0.1        127.0.0.1          UH          0        0       lo0
152.15           link#1             UC          0        0 
152.15.10.88     0:0:c:17:3b:12     UHLW        0       27       ed0   1140
152.15.32.8      0:0:c0:fc:65:78    UHLW        1        3       ed0   1140
152.15.35.2      8:0:20:1a:b9:36    UHLW        7      323       ed0   1140
152.15.35.5      0:0:c0:fa:65:78    UHLW        3       60       lo0
152.15.35.6      8:0:69:9:2:e4      UHLW        0      208       ed0   1143
152.15.35.101    152.15.35.100      UH          0        0      ppp0
152.15.35.101    0:0:c0:fa:65:78    UHLS2       0        0       ed0
152.15.254.254   link#1             UHLW        1        0 
152.15.255.255   link#1             UHLW        0        1 

ifconfig ppp0 read fine as well, although I don't have a copy of the output
anymore.

/etc/ppp/options:

crtscts
netmask 255.255.255.255
152.15.35.100:152.15.35.101
domain uncc.edu
proxyarp
lcp-echo-interval 160
lcp-echo-failure 20
modem
lock
mru 1006
mtu 1006

/etc/ppp/ip-up and ip-down only print something to the console. /etc/sysconfig
does not mention ppp0 in the list of interfaces to manipulate, as it seems
pppd correctly does the ifconfiging (the first time, anyway). Is there
some magic to be done perhaps in /etc/ppp/ip-down?

Anyone seen this behavior before? Workaround avail?

TIA,
James Robinson




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?9601042132.AA05294>