Re: (PM) Static IP and IP pool conflict

dewell@woods.net
Tue, 30 Mar 1999 12:30:30 -0900 (AKST)

This should be on portmaster-radius

There are a couple of things here. One, your netmask on the
first user is wrong (should be .255). Second, you've got some
odd reply items. Try something like this instead:

almiro Auth-Type = Local, Password = "xxxx"
Service-Type = Framed-User,
Framed-Protocol = PPP,
Framed-IP-Address = 10.255.255.102,
Framed-IP-Netmask = 255.255.255.255,
Framed-Compression = Van-Jacobsen-TCP-IP

upompeu Auth-Type = Local, Password = "xxxxx"
Service-Type = Framed-User,
Framed-Protocol = PPP,
Framed-IP-Address = 10.255.255.102,
Framed-IP-Netmask = 255.255.255.255,
Framed-Compression = Van-Jacobsen-TCP-IP

cpap Auth-Type = Local, Password = "cpap"
Service-Type = Framed-User,
Framed-Protocol = PPP,
Framed-IP-Address = 255.255.255.254,
Framed-IP-Netmask = 255.255.255.255,
Framed-Compression = Van-Jacobsen-TCP-IP,
Idle-Timeout = 180

In other words, change User-Service to Service-Type,
Framed-Netmask to Framed-IP-Netmask, fix the netmasks and IP
address (for the dynamic person), add Auth-Type = Local, and
change the formatting slightly. It all should work at that
point.

Marcos Paulo Hauer <paulo@cdlrio.com.br> wrote:
> Hello there people,
>
> I'm having a little problem configuring a Radius server with 2 PM3.
> I have 3 users, 2 of them must receive a static IP (10.255.255.101 and
> 10.255.255.102) and the 3rd must get his address from the IP pool of the
> PMs ( witch don't include the IPs from the other users ) . The problem
> is that the 3 users are receiving the IP from the pool.
>
> My /etc/raddb/users is:
>
> #First static user
> almiro Password = "xxxxx"
> User-Service = Framed-User,
> Framed-Protocol = PPP,
> Framed-IP-Address = 10.255.255.101,
> Framed-IP-Netmask = 255.255.255.0,
> Framed-Compression = Van-Jacobsen-TCP-IP
>
> #Second static user
> upompeu Password = "xxxxx"
> User-Service = Framed-User,
> Framed-Protocol = PPP,
> Framed-IP-Address = 10.255.255.102,
> Framed-Netmask = 255.255.255.255,
> Framed-Compression = Van-Jacobsen-TCP-IP
>
> #User from the pool
> cpap Password = "cpap"
> User-Service = Framed-User,
> Framed-Protocol = PPP,
> Framed-Netmask = 255.255.255.255,
> Framed-Compression = Van-Jacobsen-TCP-IP,
> Idle-Timeout = 180
>
> A radiusd -x gives me the following:
>
> Tue Mar 30 18:03:46 1999: [978] radiusd: Livingston RADIUS 2.0.1
> 97/5/22 NDBM NOSHADOW PASSCHANGE flat_users
> Tue Mar 30 18:03:46 1999: [978] using udp port 1645 for RADIUS
> Tue Mar 30 18:03:46 1999: [978] using udp port 1646 for RADIUS
> accounting
> Tue Mar 30 18:03:46 1999: [978] updated client cache with 4 clients
> Tue Mar 30 18:04:41 1999: [978] radrecv: Request from host 10.255.255.11
> code=1, id=19, length=101
> Tue Mar 30 18:04:41 1999: [978] User-Name = "almiro"
> Tue Mar 30 18:04:41 1999: [978] Password =
> "\011\013"\352kR#S\327\274\253\244f\347\373\303"
> Tue Mar 30 18:04:41 1999: [978] NAS-IP-Address = 10.255.255.11
> Tue Mar 30 18:04:41 1999: [978] NAS-Port-Id = 9
> Tue Mar 30 18:04:41 1999: [978] NAS-Port-Type = Async
> Tue Mar 30 18:04:41 1999: [978] User-Service = 2
> Tue Mar 30 18:04:41 1999: [978] Framed-Protocol = PPP
> Tue Mar 30 18:04:41 1999: [978] Connect-Info = "14400 LAPM/V42BIS"
> Tue Mar 30 18:04:41 1999: [978] Called-Station-Id = "1120"
> Tue Mar 30 18:04:41 1999: [980] Sending Accept of id 19 to 10.255.255.11
> (10.255.255.11)
>
> and the PM global configuration is:
> System Name: nas11
> Default Host: 0.0.0.0
> Alternate Hosts:
> IP Gateway: 10.255.255.13
> Gateway Metric: 1
> Default Routing: Quiet (Off)
> Name Service: DNS
> Name Server: xxx.xxx.xxx.xxx
> Domain: cdlrio
> Telnet Access Port: 23
> Loghost: 0.0.0.0
> Maximum PMconsole: 1
> Assigned Address: 10.255.255.128
> RADIUS Server: 10.255.255.17 1645
> Alternate Server: 0.0.0.0
> Accounting Server: 0.0.0.0
> Alt. Acct. Server: 0.0.0.0
> ChoiceNet Server: 0.0.0.0
> Alt. ChNet Server: 0.0.0.0
> PPP Authentication: PAP: on CHAP: on
> ISDN Switch Type: att-5ess
> End Point Disc: None
> Disabled Modules: SNMP OSPF BGP
>
> Thanks in advance,
> Marcos Paulo Hauer
> paulo@cdlrio.com.br
>
>
> -
> To unsubscribe, email 'majordomo@livingston.com' with
> 'unsubscribe portmaster-users' in the body of the message.
> Searchable list archive: <URL:http://www.livingston.com/Tech/archive/>
>

_______________________________________________________________________
|Aaron Dewell ===> dewell@woods.net |
|aka local guru ===> dewell@greatland.net |
|http://www.woods.net/~dewell http://www.woods.net/ |
|PGP keyid 0x0D12A6B9 available from http://keys.pgp.com/ |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

-
To unsubscribe, email 'majordomo@livingston.com' with
'unsubscribe portmaster-users' in the body of the message.
Searchable list archive: <URL:http://www.livingston.com/Tech/archive/>