How to configure DHCP Client on your Mikrotik router, and PPPOE for your clients.

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hello guys so today i want us to go through how to set up pppoe for our clients that is uh they wrote the route at the clients and that is the cpe and uh basically what you need to do first before that we need to ensure that our core router which is our micro tick is also connected to the internet and it's able to access the internet so this is a situation where your isp has provided you internet and has just told you to set up dhcp client on your router so that you can be connected to the internet so let's go through that you can see that this is uh this router has already been reset it has no configuration we can test if it has internet first yeah and you can see that we have no internet connection on this router so for us to have internet connection here all we need to do is set up a dhcp client so all we need to do is come to ip we're going to leave that ping running then dhcp client then we're going to add the dhcp client we want it to go to eta1 because that's where the cable that's been provided to us is going to so you need also to leave this checked use peer dns use pr ntp so the ntp is just basically to sync the time and all that so we are going to apply okay so i think we should now be having internet connection if we close this you can now see we are able to to have internet connection let's stop this maybe we can also ping these so that we see if the the dns has been resolved well yes it is so we are going to stop that as well so basically our core router is now connected to the internet so the router itself has uh five ports and uh for the first port is where your internet is coming in through so we want to have a situation whereby the remaining four parts are able to give internet to your end clients so what we need to do first is we need to bridge the remaining pots so we are going to create a bridge come to bridge and then say add we are just going to leave it to leave the name as bridgewan apply okay so after that we now need to specify the parts that we need to be on that bridge so we come to ports then say add we want interface that is interface two to be on that bridge then apply copy three just a minute i think we lost that connection yeah we are back three apply copy apply copy and the last one five apply copy or just a minute two we didn't come on so we are going to add two as well apply okay so as it is you can see that we have bridged all the pots there we are going to reconnect again so we are going to close that so what we now need to do is we need to assign an ip address to that bridge because that is now going to be the gateway that your clients are going to connect to so we need to come to ip address we say add maybe let's give it 172.16.0.1 [Music] this is going to be slash 24 and we need it to be on bridge one apply okay so as it is basically this router is now able to give internet connection to the routers that will be connected to it be tp link tender or if you have another microtech router and before we do that we also need to set up an ip pull where these clients will be pulling their ips from so we need to come to ip then ipool then we now want to create a pool we are going to leave it just as pull one maybe we are going to say this to be 10 but 10 not 20.2 to 10.10 [Music] apply okay so basically this is the ip range that your clients are going to get so and this uh ip does not when it goes to the internet it doesn't get internet connection so for this ip to be able to have internet connection what we now need to do to it is we need to not this ip that is a network address translation so we need to come to ip scroll down to firewall then you come to not then you say add general so that's the source node and our address the type that you need to match is 172. dot no no 10 not 10 dot 20 0 slash 24 1 to not the whole range then you come to action and the action here is going to be masquerade you apply that okay so when this ip is assigned to your clients they are going they are definitely going to be able to receive internet connection so now we are done with that we now need to set up pppoe for our clients so the next step that follows is you come to ppp that's right here then we need to have our profiles here so we come to profiles and then say add so we are going to name this as profile 1 and our local address is going to be 10 dot 10. that's going to be the gateway and our remote address is going to be pull one we also need to put in a dns server here which is uh going to be assigned to the client's end then you need to just apply okay the next step that follows is now we need to have secret secrets this is now where we are going to input our pppa username and pppoe passwords so you say add so let's say this client is going to be let's say new let's let's have it as one word new client and the password this is now the pppa password this is going to be let's use one two three four five and the service that we want is pppoe and the profile that we want is profile one you remember we had we had created that profile so we are going to apply okay so basically that is how you add your pppoe clients so this is going to be your first client then after that we now need to go to the pppoe servers you also click on add and then we pick the interface which is going to be the bridge and then we are also going to pick the profile default profile which is going to be profile one the same profile we created we are going to do one session per host then click on apply and okay another thing that i wanted that i forgot to mention is that when you are creating the profiles there is also limits that you are able to set for your clients so let's say you want maybe the client to be assigned 5 mbps so you you need to set that from the profile so you come to profiles limits then rate limit so maybe we are going to set this as five mbps up and five mbps down yeah just that apply okay so basically when this client connects to is is is able to authenticate when you come to queues you're also going to be able to see the upload and download that this client has been assigned and that upload and download is going to be 5 mbps which we created for this particular profile so we are done we are done doing that so the following the next thing that we need to do now is to log into the client's router which we now need to input the pppa username and the pppoi password so for us to get into the client's router i have a tender router with me here so let me just get it hooked up with my machine so that we can log into it and set it up yeah that's why we are thrown out and uh yep yeah yeah that's that's it just that's usually the default uh the default ip to login to your tender router so what we need to do is uh set up the pppo username we said it was uh no the name was new client and the password that we set was one two three four five yeah and maybe we are going to name these as mr wis254 we are going to leave the password open then we are going to click on ok it's that simple so now we need to plug in the one cable just a minute as i do that yeah it's now plugged in and within a minute we should now be able to see that our tender router has now been connected to the internet let's just uh refresh this no we need to connect to the to the wi-fi that we created that is that connect it's connected yeah you can see we even now have two devices attached to it so this router has already been given its ip it's already been given it's you can see that the pppoe that we did set up is now connected the status is uh you can surf the internet and you can see that it has it has all the all the details that we did provide it has been assigned an ip from the pool that we created it has a subnet mask it has a gateway you remember we created this gateway on our micro tick router you remember we also created this dns so if we also come back to our micro tech router we need to reconnect back to this so when you come to ppp then you come to active connections you're going to be able to see that this client has already been authenticated he's been given an ip address he has an uptime of 1 minute and 40 seconds and when you also come to queues you're also going to be able to see these same clients let's just have this expanded new client and you can see that the the upload and the download that we set are five and another thing that probably you can set to your microtech routers to see if this a client is pulling any traffic you just need to come to this click on show columns and we can maybe scroll down yep we can we are going to pick download we are going to pick upload then you are going to say okay so you can be able to see that there's traffic running on that router so that's it for today remember to like this video subscribe i'm going to be doing more tutorials on microtech and ubiquiti networks and be sure that to leave a comment down below to tell me what you think of my videos what you think i should talk about or handle next and thanks for your time
Info
Channel: Mr. WISP_254
Views: 215
Rating: undefined out of 5
Keywords: mikrotik, ubiquiti, ubnt, pppoe, hotspot, wisp, bandwidth management, xceednet, network, wifi, mr.wisp254, Mr. WISP_254, brian onuko, onuko, oktiq, internet, vlan, unms, unifi, unifi controller, static ip, ip, mikrotik configuration, ubiquiti configuration, wisp africa, haplite, winbox, mikrotik for beginners, ubiquiti for beginners, tenda, tp link, tplink, router configuration, router, dashboard, dhcp
Id: IhbEIawHjAI
Channel Id: undefined
Length: 16min 1sec (961 seconds)
Published: Mon Sep 27 2021
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.