Error with attributes IP, router and mask [SOLVED]

IPoE related questions
Post Reply
broonu
Posts: 15
Joined: 28 May 2015, 17:26

Error with attributes IP, router and mask [SOLVED]

Post by broonu »

Hi all,

I'm trying IPoE for first time and getting trouble with IP and router attributes.
Can you please help me?

Code: Select all

[2015-06-01 17:14:00.556] eth3: : recv [DHCPv4 Discover xid=208eeb91 chaddr=00:50:56:a3:7e:66 <Message-Type Discover> <Client-ID 01005056a37e66> <Host-Name BACKUP> <Vendor-Class 4d53465420352e30> <Request-List Subnet,Domain-Name,Router,DNS,44,46,47,31,Route,Classless-Route,249,Vendor-Specific>]
[2015-06-01 17:14:00.560] ipoe0: 89b05d3374724de7: create interface ipoe0 parent eth3
[2015-06-01 17:14:00.560] ipoe0: 89b05d3374724de7: send [RADIUS(1) Access-Request id=1 <User-Name "00:50:56:a3:7e:66"> <NAS-Identifier "accel-ppp"> <NAS-IP-Address 177.X.X.X> <NAS-Port 65> <NAS-Port-Id "ipoe0"> <NAS-Port-Type Ethernet> <Calling-Station-Id "00:50:56:a3:7e:66"> <Called-Station-Id "eth3"> <User-Password >]
[2015-06-01 17:14:00.561] ipoe0: 89b05d3374724de7: radius:packet: unknown attribute received (0,241)
[2015-06-01 17:14:00.561] ipoe0: 89b05d3374724de7: radius:packet: unknown attribute received (0,242)
[2015-06-01 17:14:00.561] ipoe0: 89b05d3374724de7: recv [RADIUS(1) Access-Accept id=1 <Framed-Pool "ipoepool">]
[2015-06-01 17:14:00.562] ipoe0: 89b05d3374724de7: 00:50:56:a3:7e:66: authentication succeeded
[2015-06-01 17:14:00.562] ipoe0: 89b05d3374724de7: can't determine router address
[2015-06-01 17:14:00.562] ipoe0: 89b05d3374724de7: terminate
[2015-06-01 17:14:00.562] ipoe0: 89b05d3374724de7: ipoe: session finished
This is IPoE section of my conf:

Code: Select all

[ipoe]
verbose=1
username=lua:username
lua-file=/etc/accel-ppp.lua
password=username
lease-time=60
max-lease-time=180
unit-cache=1000
shared=1
ifcfg=1
mode=L2
start=dhcpv4
proxy-arp=0
attr-dhcp-client-ip=Framed-Pool
attr-dhcp-router-ip=DHCP-Router-IP-Address
attr-dhcp-mask=DHCP-Mask
interface=eth3
IPPool section:

Code: Select all

[ip-pool]
attr=Framed-Pool
179.X.X.0/24,name=ipoepool
And my test user:

Code: Select all

"00:50:56:a3:7e:66"    Cleartext-Password := "00:50:56:a3:7e:66"
                                 Framed-Pool := "ipoepool",
                                 DHCP-Router-IP-Address := "177.X.X.X",
                                 DHCP-Mask="24",
Last edited by broonu on 03 Jun 2015, 21:15, edited 1 time in total.
Dmitry
Администратор
Posts: 954
Joined: 09 Oct 2014, 10:06

Re: Error with attributes IP, router and mask

Post by Dmitry »

hi
your DHCP-Router-IP-Address and DHCP-Mask are not applicable in such case
use gw-ip-address option:
[ipoe]
gw-ip-address=179.x.x.1/24
broonu
Posts: 15
Joined: 28 May 2015, 17:26

Re: Error with attributes IP, router and mask

Post by broonu »

Thank you Dmitry,

It's working now.
There is a way of use /31 address with IPoE?
Dmitry
Администратор
Posts: 954
Joined: 09 Oct 2014, 10:06

Re: Error with attributes IP, router and mask

Post by Dmitry »

i don't know
just try ;)
Post Reply