DEFAULT User-Name =~ "~*\\.xnet\\.co\\.nz$"
Auth-Type := Accept,
Pool-Name := un-auth,
Service-Type = Framed-User,
Framed-Protocol = PPP,
Cisco-Avpair += "ip:vrf-id=Suspended",
Cisco-Avpair += "ip:ip-unnumbered=Loopback 1000",
Cisco-Avpair += "ip:dns-servers=14.1.33.1 120.136.0.25"
DEFAULT Realm == "ihug.co.nz", Auth-Type := Accept
None work and all look for a username. So in the above scenarios I want anything@dsl.xnet.co.nz or whatever@ihug.co.nz to authenticate and be assigned an IP address from the pool and dropped into the vrf Suspended where I do my tricks based on their IP address to display a splash page advising the customer its time to modify their username & password on their router.
I've found many examples based on MAC authentication but none that work unfortunately.