Friday, 2 June 2017

MIKROTIK:-PPPoE configuration On VLAN Interface .

This is one of the most popular method to provide the vlan base PPPoE connection in the ISP domain . But there is some additional configuration required for this activity .We can configure the multiple PPPoE server in one physical interface using multiple VLAN and as you can see my picture
below there is configured the LINK from mikrotik NAS to switch is trunk link and also I have allowed all the VLAN in that port .


Lets start the configuration .




Lets Start the configuration according to my scenario .


Configure the VLAN first in  Mikrotik .


Here , I have created  only 3 vlan for testing purpose but you can create up to 4096 VLAn in the Mikrotik .

Step-1

Click on Interface >VLAN>Add vlan(+)



/interface vlan
add interface=ether6 name=vlan2 vlan-id=2
add interface=ether6 name=vlan3 vlan-id=3

add interface=ether6 name=vlan4 vlan-id=4

Step-2

Create The PPPoE server in each VLAN .

Go to the PPP>PPPoE Servers>Add Server (+)


/interface pppoe-server server
add authentication=pap disabled=no interface=vlan2 one-session-per-host=yes \
    service-name=service2
add authentication=pap disabled=no interface=vlan3 one-session-per-host=yes \
    service-name=service3
add authentication=pap disabled=no interface=vlan4 one-session-per-host=yes \

    service-name=service4



I Have created 3 PPPoe servers for VLAN-2,3,4 . and in same way you you can create multiple PPPoE server under one physical interface using VLANs .


Apart from that , No need to change anything in the configuration end . everything would be same as my previous PPPoE server configuration .


After completion of these things in the Mikrotik then  you have to create the VLAN(2-4) in cisco switch and the port should be configure the trunk between the switches .And you need to make the access port for providing the access to users .




Note: Security issue: do not assign an IP address to the interface you will be receiving the PPPoE requests on.



You don't need to change anything at any where except these changes what I Did on my above picture .


No comments:

Post a Comment