[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
ppp (dial-in) problem
Hello!
I try to setup a dial-in server with one public IP. I tried both pppd
and ppp (OPENBSD_2_9). Both work, but only for the first connection.
As for ppp I have this ppp.conf:
pppin:
enable proxy
enable chap
set ifaddr 192.168.0.128 192.168.0.129
accept dns
set dns 192.168.0.127
My LAN's subnet is 192.160.0.0/24.
Everything works fine at the first connection, but after this I get
these errors:
ppp[25305]: Error: iface_inAdd: ioctl(SIOCAIFADDR): 192.168.0.128: File
exists
ppp[25305]: Phase: deflink: lcp -> open
ppp[25305]: Phase: bundle: Network
ppp[25305]: Error: iface_inAdd: ioctl(SIOCAIFADDR): 192.168.0.128: File
exists
ppp[25305]: Error: ipcp_InterfaceUp: unable to set ip address
ppp[25305]: Warning: ip_Input: IPCP not open - packet dropped
ppp[25305]: Phase: bundle: Terminate
ppp[25305]: Phase: deflink: open -> lcp
ppp[25305]: Phase: deflink: Disconnected!
as for pppd the errors are similiar:
pppd[17394]: Connect: ppp0 <--> /dev/tty01
pppd[17394]: Couldn't set interface address: Address 192.168.0.128
already exists
pppd[17394]: found interface rl0 for proxy arp
pppd[17394]: local IP address 192.168.0.128
pppd[17394]: remote IP address 192.168.0.129
/etc/ppp/options for pppd:
-detach
asyncmap 0
modem
passive
crtscts
lock
ms-dns 192.168.0.127
proxyarp
192.168.0.128:192.168.0.129
what's the problem ? :/
--
Piotr 'Szalik' Domagalski
When replying, remove 'bum's from email :)