Hello all.

I tried to configure COA service on my test server.
When i send coa packet:

# echo User-Name = cisco, mpd-limit += \"in#1=all rate-limit 1320000 150000 300000\", mpd-limit += \"out#2=all rate-limit 1320000 150000 300000\"|radclient -d /usr/local/share/freeradius/ -x [nas ip]:3799 coa [nas secret]

FreeRADIUS asking:

rad_recv: CoA-Request packet from host 127.0.0.1 port 20722, id=231, length=126
    User-Name = "cisco"
    mpd-limit = "in#1=all rate-limit 1320000 150000 300000"
    mpd-limit = "out#2=all rate-limit 1320000 150000 300000"
server localhost-coa {
  WARNING: Empty section.  Using default return values.
  WARNING: Empty section.  Using default return values.
} # server localhost-coa
Sending CoA-ACK of id 231 to 127.0.0.1 port 20722

What am I missing?


My configuration on FreeBSD 8.0, FreeRADIUS 2.1.8, MPD (as a NAS)

in radius.conf

listen {
        ipaddr = 127.0.0.1
        port = 3799
        type = coa
        virtual_server = coaon
}


in clients.conf

client localhost {
    ipaddr = 127.0.0.1
    secret = test1
    nastype = other
    coa_server = coaon


in sites-enabled/originate-coa

home_server coaon {
        type = coa
        ipaddr = 127.0.0.1
        port = 3799
        secret = test2
        coa {
                irt = 2
                mrt = 16
                mrc = 5
                mrd = 30
        }
}

home_server_pool coa {
        type = fail-over
        home_server = coaon
}







-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to