2013年12月2日月曜日

Aruba IAP をFlet'sのPPPoEの接続確認

Flet's 光ホームにAruba Instant AP-95を接続。
サービスプロバイダーから得た認証IDとパスワードで以下の4つのPPPoE コマンドで設定終了。
ネットワーク(SSID)のDHCPは仮想コントローラ割当(内部のDHCP)で実施。

  • IAP設定


d8:c7:c8:c8:eb:e8 (pppoe-uplink-profile) # pppoe-uplink-profile
d8:c7:c8:c8:eb:e8 (pppoe-uplink-profile) # pppoe-svcname flets  <--任意のSP名
d8:c7:c8:c8:eb:e8 (pppoe-uplink-profile) # pppoe-username bxxxxxxxx@sbb.ne.jp <--認証ID
d8:c7:c8:c8:eb:e8 (pppoe-uplink-profile) # pppoe-chapsecret xxxxxx <--パスワード
d8:c7:c8:c8:eb:e8 (pppoe-uplink-profile) # exit
d8:c7:c8:c8:eb:e8 (config) # exit



wlan ssid-profile hogehoge
 enable
 index 0
 type employee
 <snip>
 vlan guest

内部DHCPに割当は"vlan guest"がIAPのコマンド



  • 再起動でPPPoEネットワーク(Flet's)と接続

起動時のIPの取得は失敗しているが、一端DefaultのIP(169.254.170.125)で立ち上がったあとに、PPPoEプロセスが起動し、PPPoEでIP(126.12.94.129)を取得。

以下、起動ログ
AG7240CHH: d8:c7:c8:c8:eb:e8
ATHRSF1_PHY: Port 0, Neg Success
ATHRSF1_PHY: unit 0 phy addr 0 wifi uplink not present...
found PPPoE related parameters in configuration.
do ethtool autoneg on for eth0
Cannot get current device settings: No such device
  not setting autoneg
ag7240_ring_alloc Allocated 640 at 0x826bac00
ag7240_ring_alloc Allocated 4032 at 0x83d7e000
Virian MDC CFG Value ==> 4
Setting PHY...
ATHRSF1_PHY: Port 0, Neg Success
ATHRSF1_PHY: unit 0 phy addr 0 Not enabling interrupts in AR7242 yet...
ADDRCONF(NETDEV_UP): bond0: link is not ready
Ethernet uplink not active yet
AG7240: enet unit:0 is up...
RGMii 1000Mbps full duplex
AG7240: done cfg2 0x7215 ifctl 0x0 miictrl
ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready
drvlog_mod: module license 'Proprietary' taints kernel.
AP xml model 43, num_radios 1 (jiffies 20393)
init_asap_mod: installation:0
radio 0: band 2 ant 0 max_ssid 16
election init: rand=12 HZ=500
setting bond0 as bridge child
setting gre0 as split child
notify asap_mod 3g no present...
Starting watchdog process...
Reducing DHCP retry time to quickly bootup and try PPPoE
Getting an IP address...
Picked up default IP a9feaa7d, rand aa7d
Default IP is ready
Installing default ip: uplink manager would bring up pppoe on master
169.254.170.125 255.255.0.0
ip_time_handler: Got ip and packets on bond0 Started master election 284-0
Compressing all files in the /etc/httpd directory...
Done.
Starting Webserver
bind: Transport endpoint is not connected
bind: Transport endpoint is not connected
bind: Transport endpoint is not connected
NTP Server not saved in flash... using default
ath_hal: 0.9.17.1 (<7>wdt_ar7100_refresh: Enabling kernel refresh of watchdog.
AR5416, AR9380, REGOPS_FUNC, PRIVATE_DIAG, WRITE_EEPROM, 11D)
ath_rate_atheros: Copyright (c) 2001-2005 Atheros Communications, Inc, All Rights Reserved
ath_rate_atheros: Aruba Networks Rate Control Algorithm
ath_dfs: Version 2.0.0
Copyright (c) 2005-2006 Atheros Communications, Inc. All Rights Reserved
ath_spectrum: Version 2.0.0
Copyright (c) 2005-2006 Atheros Communications, Inc. All Rights Reserved
ath_dev: Copyright (c) 2001-2007 Atheros Communications, Inc, All Rights Reserved
ath_pci: 0.9.4.5 (Atheros/multi-bss)
wifi0: Base BSSID d8:c7:c8:0e:be:80, 16 available BSSID(s)
bond0 address=d8:c7:c8:c8:eb:e8
br0 address=d8:c7:c8:c8:eb:e8
wifi0: AP type AP-93, radio 0, max_bssids 16
wifi0: Atheros 9280: mem=0x10000000, irq=48 hw_base=0xb0000000
ath_ahb: 0.9.4.5 (Atheros/multi-bss)

Starting FIPS KAT ... Completed FIPS KAT

AP rebooted Sat Jan 1 00:58:00 UTC 2000; User reboot
shutting down watchdog process (nanny will restart it)...

        <<<<<       Welcome to the Access Point     >>>>>

process `snmpd' is using obsolete setsockopt SO_BSDCOMPAT
Launching IAP CLI...

i am master now
(00:02:05) !!! Init ---> Master
asap_send_elected_master: sent successfully
User: admin
Password:
show ip CSLIP: code copyright 1989 Regents of the University of California
PPP generic driver version 2.4.2


以下、GUIで入力したPPPoE関連のコマンド

*********************************************************************************************************
 12/2/2013 0:23:12 AM    Target: d8:c7:c8:c8:eb:e8    Command: show pppoe status
*********************************************************************************************************

pppoe uplink state                :Connected to server.
pppoe link up                     :True
pppoe ip                          :126.12.94.129
pppoe ipmask                      :255.255.255.255
pppoe remote ip                   :221.110.198.86

*********************************************************************************************************
 12/2/2013 0:22:51 AM    Target: d8:c7:c8:c8:eb:e8    Command: show pppoe debug-logs
*********************************************************************************************************
(2762) Using interface ppp0
(2762) Connect: ppp0 <--> br0
(2762) Couldn't increase MTU to 1500
(2762) Couldn't increase MRU to 1500
(2762) Warning - secret file /etc/ppp/pap-secrets has world and/or group access
(2762) ppp connection established.
(2762) Warning - secret file /etc/ppp/chap-secrets has world and/or group access
(2762) local  IP address 126.12.94.129
(2762) remote IP address 221.110.198.86
(2762) primary   DNS address 218.176.253.65
(2762) secondary DNS address 218.176.253.97


*********************************************************************************************************
 12/2/2013 0:22:31 AM    Target: d8:c7:c8:c8:eb:e8    Command: show uplink status
*********************************************************************************************************

Uplink preemption           :enable
Uplink enforce              :none
Ethernet uplink bond0        :PPPoE
Uplink Table
------------
Type      State  Priority  In Use
----      -----  --------  ------
eth0      UP     0         Yes
Wifi-sta  INIT   6         No
3G/4G     INIT   7         No
Internet failover           :disable
Max allowed test packet loss:10
Secs between test packets   :30
VPN failover timeout (secs) :180
ICMP pkt sent        :0
ICMP pkt lost        :0
Continuous pkt lost  :0
VPN down time        :0

*********************************************************************************************************
 12/2/2013 0:21:42 AM    Target: d8:c7:c8:c8:eb:e8    Command: show log pppd
*********************************************************************************************************

(2762) Using interface ppp0
(2762) Connect: ppp0 <--> br0
(2762) Couldn't increase MTU to 1500
(2762) Couldn't increase MRU to 1500
(2762) Warning - secret file /etc/ppp/pap-secrets has world and/or group access
(2762) ppp connection established.
(2762) Warning - secret file /etc/ppp/chap-secrets has world and/or group access
(2762) local  IP address 126.12.94.129
(2762) remote IP address 221.110.198.86
(2762) primary   DNS address 218.176.253.65
(2762) secondary DNS address 218.176.253.97

*********************************************************************************************************
 12/2/2013 0:21:15 AM    Target: d8:c7:c8:c8:eb:e8    Command: show uplink config
*********************************************************************************************************

Uplink preemption           :enable
Uplink enforce              :none
Ethernet uplink bond0        :PPPoE
Internet failover           :disable
Max allowed test packet loss:10
Secs between test packets   :30
VPN failover timeout (secs) :180

0 件のコメント:

コメントを投稿