Page 1 of 1

Help with a simple configuration.

Posted: 16 Mar 2017 16:43
by copanto
Hi. I'm from Italy. I need help to config an ALU 6450 installed in a shool where I teach and I'm a net admin.
We have 5 AP Huawei with 1 AC Huawei - the AC gives IP address to a subnet 192.168.2.0. I've a server on IP 192.168.0.75 (captive portal and HTTP transparent Proxy) and Modem Router on 192.168.0.1. The 6450 connect the AP and AC on VLAN2 the server and Modem Router on VLAN1.
I would like to have that hosts connected with AP (laptop for example, on subnet 192.168.2.0) can access the internet trough captive portal (192.168.0.75 on VLAN1). I start with a config in attach.
I did this:
assigned ip interface to VLAN1 on 192.168.0.253
assigned port 1/23 to vlan1 (where is the modem router of the ISP 192.168.0.1)
assigned port 1/21 to vlan1 (where is the server 192.168.0.75)
create a default route whith the cli command
ip static-route 0.0.0.0 mask 0.0.0.0 gateway 192.168.0.75

Then I connected my pc to the WiFi it had ip address 192.168.2.243 (assigned from DHCP) gateway 19.168.2.253 (ip interface on VLAN2). I wasn't able to navigate.
What is wrong?
Thanks in advance for any help.
Bye.

Re: Help with a simple configuration.

Posted: 17 Mar 2017 07:58
by silvio
the mentioned config I do miss in the attachment. I have understand that you have used the following config:

vlan 1 port default 1/21
vlan 1 port default 1/23
ip interface "vlan_1" address 192.168.0.253/24 vlan 1
ip interface "vlan_2" address 192.168.2.253/24 vlan 2
ip static-route 0.0.0.0/0 gateway 192.168.0.75

your clients need as GW 192.168.2.253. And the router (192.168.0.75) needs a static route like this:
destination 192.168.2.0/24 gateway 192.168.0.253

regards
Silvio

Re: Help with a simple configuration.

Posted: 17 Mar 2017 14:10
by copanto
Thank you very much for the answer. I'll try next week on tuesday and let you know.
Also, I wonder if the mac address of the client on VLAN 2 will get to the Captive Portal or if the mac address is unique for all the client connected to VLAN2. Do you know?

regards
Copanto

Re: Help with a simple configuration.

Posted: 23 Mar 2017 11:22
by copanto
Thanka a lot. Now it works.
I need to know if the authentication by mac will work.
I'll let you know.

Re: Help with a simple configuration.

Posted: 06 Apr 2017 08:54
by copanto
Hi. I make a test. I activate the Captive Portal in the server, now I have that the captive portal doesn't work because needs to know the mac address corresponding to a IP. So I have this:
11:08:02 GW: Warning: MAC address indentity required but the gateway is not able to know it for the client 192.168.2.147 (admin@example.com)
For pc connected to 192.168.2.X subnet.

Instead of: 11:14:14 GW: Success: user admin@example.com (IP: 192.168.0.2 MAC: 18:66:da:30:c8:88) connected
For pc connected to 192.168.0.X subnet.
Any help? Do I have to use the ip helper config?
Thanks in advance.