It's not mandatory to configure the different different PPPoE profile for each PPPoE server . But sometimes it required because lets you want to configure the different different IP pool for each PPPoE server and if your IP pooling is enabled from NAS , In that case it's mandatory to configure the different different Profile .
In my previous LAB i had created 3 PPPoE server for 3 VLAN and here I have assigned them in one profile which is named as Default . But in this LAB i decided that to create 3 IP pool in my NAS and I will assign these pools in different different Profile to provided the different IP POOL for each VLANs.
Lets start the configuration .
In my above picture I have 3 PPPoE server and I have assigned them into one profile (default).
Step-1
I am going to create the 3 ip pool and i will assign these 3 IP pools in 3 profiles .
GO to IP>POOL>ADD(+)
Step-2
Assign these 3 IP pools in three profile .
Go to PPP>Profiles>
Step-3
Assign these profiles under the PPPoE server .
Go to PPP>PPPoE Servers
As you can see teh configuration is complete and the users will get the different different IP address from different Pool based on their PPPoE Profile .
Please find the details below configuration .
/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
/ip pool
add name=VLAN2 ranges=11.0.0.2-11.0.0.254
add name=VLAN3 ranges=12.0.0.2-12.0.0.254
add name=VLAN4 ranges=13.0.0.2-13.0.0.254
/interface pppoe-server server
add authentication=pap default-profile=VLAN2 disabled=no interface=vlan2 \
one-session-per-host=yes service-name=service2
add authentication=pap default-profile=VLAN3 disabled=no interface=vlan3 \
one-session-per-host=yes service-name=service3
add authentication=pap default-profile=VLAN4 disabled=no interface=vlan4 \
one-session-per-host=yes service-name=service4
/ppp profile
add dns-server=8.8.8.8,4.2.2.2 local-address=10.0.0.1 name=VLAN2 \
remote-address=VLAN2
add dns-server=8.8.8.8,4.2.2.2 local-address=10.0.0.1 name=VLAN3 \
remote-address=VLAN3
add dns-server=8.8.8.8,4.2.2.2 local-address=10.0.0.1 name=VLAN4 \
remote-address=VLAN4
In my previous LAB i had created 3 PPPoE server for 3 VLAN and here I have assigned them in one profile which is named as Default . But in this LAB i decided that to create 3 IP pool in my NAS and I will assign these pools in different different Profile to provided the different IP POOL for each VLANs.
Lets start the configuration .
In my above picture I have 3 PPPoE server and I have assigned them into one profile (default).
Step-1
I am going to create the 3 ip pool and i will assign these 3 IP pools in 3 profiles .
GO to IP>POOL>ADD(+)
Step-2
Assign these 3 IP pools in three profile .
Go to PPP>Profiles>
Step-3
Assign these profiles under the PPPoE server .
Go to PPP>PPPoE Servers
As you can see teh configuration is complete and the users will get the different different IP address from different Pool based on their PPPoE Profile .
Please find the details below configuration .
To create the 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
To Create The IP POOL
/ip pool
add name=VLAN2 ranges=11.0.0.2-11.0.0.254
add name=VLAN3 ranges=12.0.0.2-12.0.0.254
add name=VLAN4 ranges=13.0.0.2-13.0.0.254
To Create the PPPoE server
/interface pppoe-server server
add authentication=pap default-profile=VLAN2 disabled=no interface=vlan2 \
one-session-per-host=yes service-name=service2
add authentication=pap default-profile=VLAN3 disabled=no interface=vlan3 \
one-session-per-host=yes service-name=service3
add authentication=pap default-profile=VLAN4 disabled=no interface=vlan4 \
one-session-per-host=yes service-name=service4
To create The Different different profile for different PPPoE server
/ppp profile
add dns-server=8.8.8.8,4.2.2.2 local-address=10.0.0.1 name=VLAN2 \
remote-address=VLAN2
add dns-server=8.8.8.8,4.2.2.2 local-address=10.0.0.1 name=VLAN3 \
remote-address=VLAN3
add dns-server=8.8.8.8,4.2.2.2 local-address=10.0.0.1 name=VLAN4 \
remote-address=VLAN4
No comments:
Post a Comment