AT-WR4500 Series - IEEE 802.11abgh Outdoor Wireless Routers

177

RouterOS v3 Configuration and User Guide

 

 

 

Now, configure the Ethernet interface, add the IP address and set the default route:

[admin@PPPoE-Server] ip address> add address=10.1.0.3/24 interface=Local

[admin@PPPoE-Server] ip address> print

Flags: X - disabled, I - invalid, D - dynamic

 

 

#

ADDRESS

NETWORK

BROADCAST

INTERFACE

 

0

10.1.0.3/24

10.1.0.0

10.1.0.255

Local

 

[admin@PPPoE-Server] ip address> /ip route

 

 

[admin@PPPoE-Server] ip route> add gateway=10.1.0.1

 

 

[admin@PPPoE-Server] ip route> print

 

 

 

Flags: X - disabled, A - active, D - dynamic,

 

 

C - connect, S - static, r - rip, b - bgp, o - ospf

 

 

#

DST-ADDRESS

G GATEWAY

DISTANCE INTERFACE

 

0

ADC 10.1.0.0/24

 

 

Local

 

1

A S 0.0.0.0/0

r 10.1.0.1

1

Local

 

[admin@PPPoE-Server] ip route> /interface ethernet

 

 

[admin@PPPoE-Server] interface ethernet> set Local arp=proxy-arp

 

[admin@PPPoE-Server] interface ethernet> print

 

 

Flags: X - disabled, R - running

 

 

 

#

NAME

 

MTU

MAC-ADDRESS

ARP

0

R Local

 

1500

00:0C:42:03:25:53 proxy-arp

[admin@PPPoE-Server] interface ethernet>

We should add PPPoE server to the wireless interface:

[admin@PPPoE-Server] interface pppoe-server server> add interface=wlan1 \ service-name=mt one-session-per-host=yes disabled=no

[admin@PPPoE-Server] interface pppoe-server server> print Flags: X - disabled

0service-name="mt" interface=wlan1 max-mtu=1480 max-mru=1480 authentication=pap,chap,mschap1,mschap2 keepalive-timeout=10

one-session-per-host=yes max-sessions=0 default-profile=default [admin@PPPoE-Server] interface pppoe-server server>

Finally, we can set up PPPoE clients:

[admin@PPPoE-Server] ip pool> add name=pppoe ranges=10.1.0.100-10.1.0.200

[admin@PPPoE-Server] ip pool> print

 

# NAME

RANGES

0

pppoe

10.1.0.100-10.1.0.200

[admin@PPPoE-Server] ip pool> /ppp profile

 

[admin@PPPoE-Server] ppp profile> set default use-encryption=yes \

 

local-address=10.1.0.3 remote-address=pppoe

 

[admin@PPPoE-Server] ppp profile> print

 

Flags: * - default

 

0

* name="default" local-address=10.1.0.3 remote-address=pppoe

 

use-compression=no use-vj-compression=no use-encryption=yes only-one=no

 

change-tcp-mss=yes

 

1

* name="default-encryption" use-compression=default

 

use-vj-compression=default use-encryption=yes only-one=default

 

change-tcp-mss=default

 

[admin@PPPoE-Server] ppp profile> .. secret

[admin@PPPoE-Server] ppp secret> add name=w password=wkst service=pppoe

[admin@PPPoE-Server] ppp secret> add name=l password=ltp service=pppoe

[admin@PPPoE-Server] ppp secret> print

 

 

Flags: X - disabled

 

 

 

#

NAME

SERVICE CALLER-ID PASSWORD

PROFILE

REMOTE-ADDRESS

0

w

pppoe

wkst

default

0.0.0.0

1

l

pppoe

ltp

default

0.0.0.0

[admin@PPPoE-Server] ppp secret>

Thus we have completed the configuration and added two users: w and l who are able to connect to Internet, using PPPoE client software.

￿

Windows XP built-in client supports encryption, but RASPPPOE does not. So, if it is planned not to support Windows clients older than Windows XP, it is recommended to switch require-encryption to yes value in the default profile configuration. In other case, the server will accept clients that do not encrypt data.

Page 177
Image 177
Allied Telesis AT-WR4500 manual We should add PPPoE server to the wireless interface, Finally, we can set up PPPoE clients