Hotspot access is no longer possible after I change to use arp=reply-only on the ethernet interface and add-arp=yes on the dhcp-server.
What I am doing wrong?
Here are some configuration details and description of the symptons:
Code: Select all
[admin@XXX] > ip dhcp-server lease print
Flags: X - disabled, R - radius, D - dynamic, B - blocked
# ADDRESS MAC-ADDRESS HO SER.. RA
31 D 172.22.176.254 20:CF:30:2C:75:20 DI dhcp2
[admin@XXX] > ip hotspot host print
Flags: S - static, H - DHCP, D - dynamic, A - authorized, P - bypassed
# MAC-ADDRESS ADDRESS TO-ADDRESS SERVER IDLE-TIMEOUT
0 A 20:CF:30:2C:75:20 172.22.176.254 172.22.129.254 hotspot
[admin@XXX] > ip dhcp-server print detail
Flags: X - disabled, I - invalid
0 name="dhcp2" interface=ether2 lease-time=1h address-pool=unknown-dhcp
bootp-support=static add-arp=yes authoritative=after-2sec-delay
[admin@XXX] > interface ethernet print detail
Flags: X - disabled, R - running, S - slave
1 R name="ether2" mtu=1500 l2mtu=1598 mac-address=00:0C:42:AA:7B:CF
arp=reply-only auto-negotiation=yes full-duplex=yes speed=100Mbps
master-port=none bandwidth=unlimited/unlimited switch=switch1
When I fire up the browser (Firefox on Ubuntu 11.10) I always get redirected to the hotspot logon page which is odd because the cookie is fresh. I fill in the access credentials and the browser hangs looking up my hotspot dns.
Wiresharking shows that a reply to the dns request is made to the routerboards MAC and not the PCs (for the test the PC is directly connected to the RB):
Code: Select all
No. Time Source Destination Protocol Length Info
818 11:12:57.560750 172.22.176.254 172.22.0.1 DNS 70 Standard query A faraday-hs
Frame 818: 70 bytes on wire (560 bits), 70 bytes captured (560 bits)
Ethernet II, Src: AsustekC_2c:75:20 (20:cf:30:2c:75:20), Dst: Routerbo_aa:7b:cf (00:0c:42:aa:7b:cf)
Internet Protocol Version 4, Src: 172.22.176.254 (172.22.176.254), Dst: 172.22.0.1 (172.22.0.1)
User Datagram Protocol, Src Port: 46512 (46512), Dst Port: domain (53)
Domain Name System (query)
No. Time Source Destination Protocol Length Info
819 11:12:57.561900 172.22.0.1 172.22.176.254 DNS 86 Standard query response A 172.22.0.1
Frame 819: 86 bytes on wire (688 bits), 86 bytes captured (688 bits)
Ethernet II, Src: Routerbo_aa:7b:cf (00:0c:42:aa:7b:cf), Dst: Routerbo_aa:7b:cf (00:0c:42:aa:7b:cf)
Internet Protocol Version 4, Src: 172.22.0.1 (172.22.0.1), Dst: 172.22.176.254 (172.22.176.254)
User Datagram Protocol, Src Port: domain (53), Dst Port: 46512 (46512)
Domain Name System (response)