sinet.com.kh

Saturday, January 20, 2018

PPPoE Configuration

1. Comment Interface
2. Create Bridge LAN
3. Dial Up PPPoE Client
4. Configure IP Address for Bridge LAN
5. Configure DNS Server
6. Configure DHCP Server
7. Configure NAT
8. Add Port to Bridge LAN

In this configuration we use MikroTik: 450G and Firmware 6.41
1. Comment Interface
/interface ethernet
set [ find default-name=ether1 ] name=ether1-WAN 


2. Create Bridge LAN
/interface bridge
add fast-forward=no name=bridge-LAN

3. Dial Up PPPoE Client
/interface pppoe-client
add add-default-route=yes default-route-distance=1 disabled=no interface=\
    ether1-WAN name=pppoe-out1 password=12345678 user=pppoeacc@sinet.sbiz3


4. Configure IP Address for Bridge LAN
/ip address
add address=172.16.1.1/24 interface=bridge-LAN network=172.16.1.0

 
5. Configure DNS Server
/ip dns
set servers=96.9.65.22,96.9.64.12


6. Configure DHCP Server
/ip dhcp-server network
add address=172.16.1.0/24 gateway=172.16.1.1


/ip pool
add name=dhcp_pool0 ranges=172.16.1.2-172.16.1.254
/ip dhcp-server


/ip dhcp-server
add address-pool=dhcp_pool0 disabled=no interface=bridge-LAN name=dhcp1


7. Configure NAT
/ip firewall nat
add action=masquerade chain=srcnat out-interface=pppoe-out1


 
8. Add Port to Bridge LAN
/interface bridge port
add bridge=bridge-LAN interface=ether2
add bridge=bridge-LAN interface=ether3
add bridge=bridge-LAN interface=ether4

 

No comments:

Post a Comment