Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Aug 1999 12:58:34 +0300
From:      "Andy V. Oleynik" <andyo@prime.net.ua>
To:        freebsd-isp@freebsd.org
Subject:   Problem with aliasing unregistered IPs on dialup server.
Message-ID:  <37B29AC9.124CF65E@prime.net.ua>

next in thread | raw e-mail | index | archive | help
Hi everybody,

I'm trying to configure dialup ppp server to

assign unregistered IP to dialup clients.

Before begining this process clients was assigned

real IPs per ttyd* basis. All the changes I made

was entry for one of the clients in ppp.secret like this:

testclient    *    10.0.0.1    *

to override "set iffaddr" statements in ppp.conf's profiles

like this:

default:
 set log Phase Chat LCP IPCP CCP tun command
 set device /dev/cuaa1
 set speed 57600
 accept pap
 enable pap

# enable alias yes

# alias unregistered_only yes

# alias addr REALSERVERIP 10.0.0.1

 enable passwdauth
 allow user *
 allow mode direct
 set timeout 0
 accept dns

ttyd1:
 set ifaddr SERVERREALIP CLIENTREALIP1

[..]

ttydN:
 set ifaddr SERVERREALIP CLIENTREALIPN

ppp starts like "ppp -direct $TTYN" from ppplogin.sh.

Also I've tried commented commands in ppp.conf. The result was that

client could communicate only with hosts on the same subnet as dialup

server was but not with hosts on another subnets of my network and

naturally not with the rest of Internet.

I've investigated that packets from client went outside with 10.0.0.1

source address w/o being aliased. And this is a reason of why client

cannot communicate with the rest of Internet.

Who can point me right way to force aliasing of unregistered IPs?

Thank U in advance.

--
WBW  Andy V. Oleynik            (When U work in virtual office
prime.net.ua's                   U have good chance to obtain
system administrator             virtual money ö%-)
+380442448363





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?37B29AC9.124CF65E>