歡迎您光臨本站 註冊首頁

pptp+freeradius2.1.3 如何取得client 的mac 地址

←手機掃碼閱讀     火星人 @ 2014-03-04 , reply:0

pptp+freeradius2.1.3 如何取得client 的mac 地址

現在撥號進去后只能取得IP,如下
      rad_recv: Accounting-Request packet from host 127.0.0.1 port 50985, id=245, length=113
        Acct-Session-Id = "4A1CF06472CD01"
        User-Name = "test"
        Acct-Status-Type = Start
        Service-Type = Framed-User
        Framed-Protocol = PPP
        Calling-Station-Id = "192.88.50.50"
        Acct-Authentic = RADIUS
        NAS-Port-Type = Async
        Framed-IP-Address = 192.168.1.1
        NAS-IP-Address = 127.0.0.1
        NAS-Port = 0
        Acct-Delay-Time = 0
   
怎麼能讓Calling-Station-Id 取得mac地址。
《解決方案》

回復 #1 fsm11 的帖子

12.2(15)T DHCP Accounting

MAC = Radius calling-station-id

http://www.cisco.com/en/US/products/sw/iosswrel/ps1839/products_feature_guide09186a00801543c7.html

DHCP和pppoe不一樣的,pppoe中沒有calling-station-id的說

應該沒有得,因為通過路由器之後,MAC就不是原來得MAC了。

[藍森林-自由軟體] - 來個有難度的,cisco pppoe用radius認證時能否記錄mac地址 (27 May 2009)

http://www.lslnet.com/linux/dosc1/20/linux-194502.htm
《解決方案》

回復 #1 fsm11 的帖子

那個欄位將信息添加進去就可以的呀
《解決方案》

回復 #2 ziggler 的帖子

就是這個問題
《解決方案》

原帖由 kns1024wh 於 2009-5-27 17:46 發表 http://bbs2.chinaunix.net/images/common/back.gif
那個欄位將信息添加進去就可以的呀
  沒有明白你說的意思?
《解決方案》

原帖由 ziggler 於 2009-5-27 17:23 發表 http://bbs2.chinaunix.net/images/common/back.gif
12.2(15)T DHCP Accounting

MAC = Radius calling-station-id

http://www.cisco.com/en/US/products/sw/iosswrel/ps1839/products_feature_guide09186a00801543c7.html

DHCP和pppoe不一樣的,pppoe中沒 ...


我是通過linux server 來取這個值,不是路由器。

[火星人 ] pptp+freeradius2.1.3 如何取得client 的mac 地址已經有726次圍觀

http://coctec.com/docs/service/show-post-22468.html