ไม่สามารถเล่นวิดีโอนี้
ขออภัยในความไม่สะดวก

MikroTik Tutorial 12 - Creating Multiple DHCP Servers

แชร์
ฝัง
  • เผยแพร่เมื่อ 11 มี.ค. 2017
  • Learn MikroTik RouterOs Tutorial Series (english)
    The DHCP (Dynamic Host Configuration Protocol) is used for the easy distribution of IP addresses in a network. The MikroTik RouterOS implementation includes both server and client parts and is compliant with RFC 2131.
    The router supports an individual server for each Ethernet-like interface. The MikroTik RouterOS DHCP server supports the basic functions of giving each requesting client an IP address/netmask lease, default gateway, domain name, DNS-server(s) and WINS-server(s) (for Windows clients) information (set up in the DHCP networks submenu)
    In order for the DHCP server to work, IP pools must also be configured (do not include the DHCP server's own IP address into the pool range) and the DHCP networks.
    You will need any one of these Mikrotik routerboard router for this tutorial:
    Mikrotik RouterBoard RB951Ui-2nD hAP
    Mikrotik RB3011UIAS-RM
    Mikrotik Routerboard RB2011UiAS-2HnD-IN
    Mikrotik RB750Gr2
    Mikrotik hEX RB750Gr3
    MikroTik RB2011iLS-IN
    MikroTik Cloud Router CRS109-8G-1S-2HnD-IN
    hAP lite
    hAP
    hAP ac lite tower
    hAP ac
    mAP lite
    mAP
    wAP
    RB951Ui-2HnD
    RB951G-2HnD
    RB2011UiAS-2HnD-IN
    Mikrotik RB941-2nD-TC
    Music
    Dub Eastern by Kevin MacLeod is licensed under a Creative Commons Attribution license (creativecommons.org/licenses/...)
    Source: incompetech.com/music/royalty-...
    Artist: incompetech.com/
    Mandeville by Kevin MacLeod is licensed under a Creative Commons Attribution license (creativecommons.org/licenses/...)
    Source: incompetech.com/music/royalty-...
    Artist: incompetech.com/

ความคิดเห็น • 82

  • @faisalparkar
    @faisalparkar 2 ปีที่แล้ว +4

    I was having issues with my clients getting DHCP addreseses. I watched this video and it pointed me in the right direction. It was such a big help. Thanks and keep up the good work :).

  • @TheGloddicker
    @TheGloddicker 8 หลายเดือนก่อน

    thank you 6 years later and still helpful!

  • @Adrian79E
    @Adrian79E 2 ปีที่แล้ว

    Excellent video! Thank you so so much for sharing! This video helped me have different subnets in my lan.

  • @MajsoSVK
    @MajsoSVK 5 ปีที่แล้ว

    Thanks for your videos, very helpful.

  • @duranopaulo
    @duranopaulo ปีที่แล้ว

    Learning the tutorial from the Philippines, Thanks.

  • @kevinchirchir9713
    @kevinchirchir9713 9 หลายเดือนก่อน

    Easy to understand thank you sir

  • @dontaylor4666
    @dontaylor4666 3 ปีที่แล้ว

    Great tutorial!

  • @larsandersenscb3275
    @larsandersenscb3275 4 ปีที่แล้ว

    Saved me a lot of time - many thanks from Bornholm, DK

    • @TKSJa
      @TKSJa  4 ปีที่แล้ว

      Glad it helped!

  • @vadymnykonovych2606
    @vadymnykonovych2606 4 ปีที่แล้ว +1

    Great work!!! saved my ass just now. Thanks a lot MAN!

  • @Andrew-tw1pe
    @Andrew-tw1pe ปีที่แล้ว

    thanks, bro your the best

  • @kavil1701
    @kavil1701 หลายเดือนก่อน

    thank you sir

  • @blendahmed7096
    @blendahmed7096 2 ปีที่แล้ว

    Thanks alot

  • @shihabkp
    @shihabkp 6 ปีที่แล้ว

    Very usefull

  • @movietime1856
    @movietime1856 4 ปีที่แล้ว

    you are deserve to have many subcriber .. :)

  • @patrickmunyn1884
    @patrickmunyn1884 4 ปีที่แล้ว

    Well done and the video is helpful. I would like to ask if each dhcp client will be able to ping each other in different pool?

  • @subhamthemusicalguy8851
    @subhamthemusicalguy8851 6 ปีที่แล้ว

    Thank you very much

    • @TKSJa
      @TKSJa  6 ปีที่แล้ว

      You are welcome

  • @Topnikko
    @Topnikko 11 หลายเดือนก่อน

    This worked great with the exception of once I got a lease from the new pool I was unable to connect to the router with Winbox. I flushed DNS, released the IP and renewed, I couldn't figure out how to connect to the router with the new gateway address.

  • @ninoahh
    @ninoahh 4 ปีที่แล้ว

    thanks man, thumbs up

    • @TKSJa
      @TKSJa  4 ปีที่แล้ว

      Thank you too

  • @biztech7587
    @biztech7587 3 ปีที่แล้ว

    Thanks sir very informative. I have a question though, is it okay to use the same DHCP server for different bridges?. Bridges 1 and 2 using one DHCP server?
    Thanks is advanz!

  • @Cockroach2008
    @Cockroach2008 7 ปีที่แล้ว

    When you create the second network address at 4:07, you address it with a 24 bit mask. Then at 4:20 you add a 24 bit mask again. Is this really necessary? It seems you can't add a mask when setting a dhcp network.

  • @brdavis9
    @brdavis9 2 ปีที่แล้ว

    This was invaluable. Thanks.
    I have been able to put the WiFi [DHCP] router on a separate WAN [DHCP-derived] address, totally separating the WiFi router from the domain network (the house Mikrotik 1100 does not serve DHCP addressing on it's "regular" LAN ports, as addressing is (and must be) handled by our [older] Windows SBS server).
    However, I subsequently noticed that I can no longer connect to Winbox from PCs connected to the new DHCP port. (Nor can I connect through a browser to the gateway IP address.)
    Which is not a deal-breaker, but is there a way to connect back to Winbox from the 2nd DHCP address pool?

  • @alaamoi5980
    @alaamoi5980 5 ปีที่แล้ว

    Good job

    • @TKSJa
      @TKSJa  5 ปีที่แล้ว

      Thanks

  • @wolfie1970
    @wolfie1970 4 ปีที่แล้ว +3

    Great tutorials, however a very important part about using multiple DHCP servers is NAT and getting internet access to these separate networks. you have no tutorials on NAT. PLEASE do a second part to follow this video. I cannot figure out how in all the available setting to get internet access to my fully functional in every other way secondary network.

  • @henri-joelmantan2447
    @henri-joelmantan2447 2 ปีที่แล้ว

    Hello, I want to know, if I have created several subnets, can the codes created on any dhcp server work on all the access points?

  • @johnralph9128
    @johnralph9128 6 ปีที่แล้ว

    Hello sir i like your tutorials a lot. It seems like i have a problem with one port. I have followed the instructions but it seems no result for me. My 4th port it bridged to the hotspot network. I want to unbridge for me to shape the speed but it seems like when i unbridge the port, the connection it lost. Please help me. I did this tutorial all day but no luck. I wonder what seems to be the problem. Thanks a lot. Regards

  • @dailyvideos7332
    @dailyvideos7332 4 ปีที่แล้ว

    Thankyou for more learn about microtik.
    Sir i have a query, please help me in my office network dhcp server running in firewall and we just placed a microtik rb1100ahx4 for network bandwidth managment.
    Over office have 4 local area network we just control the 4 local area network bandwith and we dont make a seperate dhcp server in microtik.
    If possible we just define the path in microtik of existing dhcp server?
    So what is the confuigration we can apply in this scenerio?
    Please help thankyou

  • @OmegaNet-mj4sm
    @OmegaNet-mj4sm 5 ปีที่แล้ว +1

    4 hour of hell then I found your video - THANKS!!!

    • @TKSJa
      @TKSJa  5 ปีที่แล้ว +1

      You are welcome

  • @johnralph9128
    @johnralph9128 6 ปีที่แล้ว

    I have created a new dhcp server called mybridge but still the 4th port is still connecting to bridge2

  • @seenchannel9125
    @seenchannel9125 7 ปีที่แล้ว +1

    hello sir really like your videos need to learn more please do video on advance configuration like routings........

    • @TKSJa
      @TKSJa  7 ปีที่แล้ว +1

      +mohan lal das Noted, will do.

  • @wyc2462
    @wyc2462 4 ปีที่แล้ว

    Question: Address List 192.168.5.0 Interface Ethernet 2 (Should we change to Bridge 1?)

  • @jeanmitcheljarresanluis6096
    @jeanmitcheljarresanluis6096 4 ปีที่แล้ว

    can i assign 2 ip ranges like the one is 172.16.15.254 and 172.17.15.254 and the bridge?

  • @newmiziri
    @newmiziri ปีที่แล้ว

    Hi,
    Can we used in two router same DHCP,
    After connecting to ISP, like we received dhcp from ISP but in both dchp server we have 192..168.1.2/24

  • @ramgyrebusoraborja3130
    @ramgyrebusoraborja3130 ปีที่แล้ว

    good day sir, can we increase the dhcp ip like I have host of 500 plus user default is only 254.

  • @chrismmm3847
    @chrismmm3847 2 ปีที่แล้ว

    Hi, I couldn't figure out why my dhcp was invalid... I needed to create a bridge. Thanks for your video, thumb up!

  • @unclebigtech982
    @unclebigtech982 5 ปีที่แล้ว +1

    thanks for the video very helpful, but a quick question, why i can't access my mikrotik after these configurations?

    • @TKSJa
      @TKSJa  4 ปีที่แล้ว

      I don't know, reset and try again

  • @SpottedEagleOwls
    @SpottedEagleOwls 2 ปีที่แล้ว

    can you please show me how to route internet to these two dhcp servers you created

  • @TheZulHazrie
    @TheZulHazrie 5 ปีที่แล้ว +1

    Can i ask a question. If I do 2 different ip pools, is it possible to have different ports with different ip pools ? This is because I only have one MIKROTIK RB941-2nD hAP Lite Classic and I want to established connection between two places but with different ip subnet ?

    • @TKSJa
      @TKSJa  5 ปีที่แล้ว

      yes, you can configure a separate dhcp server for each port

  • @NZ2Pepper
    @NZ2Pepper ปีที่แล้ว

    I've tried this but the second pool is unable to access internet. Am using v7.6, so much newer firmware than at the time of this video. I have a separate WiFi AP, which shows an IP address on my phone from Pool2, but no internet access.
    Can someone pint my in the right direction?

  • @ManueleFiorenza
    @ManueleFiorenza 2 ปีที่แล้ว

    How can I make the two subnets talk?

  • @zeguym
    @zeguym ปีที่แล้ว

    i have problem connect to internet using 2nd dhcp. My device already get IP, but i't cannot connect to internet. Anyone can help ?

  • @stephenmatoke4551
    @stephenmatoke4551 5 ปีที่แล้ว

    Hello, I have configure my microtik to only allow specific MAC address with their ips to the network. However I have some computers that have two ip addresses i.e 192.168.1.211 and 192.168.20.30. They are unable to connect. Is there a way to assign two ip addresses to a specific MAC address so that they can access the network?

    • @TKSJa
      @TKSJa  5 ปีที่แล้ว

      No, 1 IP --> 1 MAC

  • @EMTMZ
    @EMTMZ 3 ปีที่แล้ว

    How to make OTP login for the hotspot

  • @yancicorporation1017
    @yancicorporation1017 6 ปีที่แล้ว

    With that configuration, Can a PC in network 192.168.5 see or ping to another PC in network 192.168.6 ?
    Because I'd like to prevent total comunication between the two networks. Thanks in advance for your answer

    • @stelioskourtis8700
      @stelioskourtis8700 4 ปีที่แล้ว +2

      By default it should be able to see or ping from network 5 to network 6.. What u have to do is create 2 Filter Rules
      IP->Firewall->Filter Rules-> Add + ( Rule A: Chain forward, src address 192.168.5.0/*, dst address 192.168.6.0/* action=drop && Rule B: Chain forward, src address 192.168.6.0/*, dst address 192.168.5.0/* action=drop). Thats how i did it !!

    • @lexicon77
      @lexicon77 3 ปีที่แล้ว

      @@stelioskourtis8700 thanks

  • @rglistana77
    @rglistana77 4 ปีที่แล้ว

    hi, followed the tutorial and successfully created a bridge with dhcp server, and connect using ip given on that server, unfortunately my access with my winbox got loss. originally my assigned ip to mikrotik router is 192.168.5.1 and my pc ip is 192.168.6.99. with bridge dhcp server of 192.168.6.1. thanks

  • @daxvilbar7761
    @daxvilbar7761 3 ปีที่แล้ว

    DHCP Relay tutorial please

  • @joksyzm
    @joksyzm 4 ปีที่แล้ว +4

    Dont forget create NAT rule for new subnet, and masquarede it

    • @riri0u
      @riri0u 3 ปีที่แล้ว +1

      This really helped me, i dont know why he forgot to explain this to get the other subnet connect to internet, but i guess he has a lot on his mind.

    • @lorcster6694
      @lorcster6694 2 ปีที่แล้ว

      Thanks

  • @RomilaRobert
    @RomilaRobert 5 ปีที่แล้ว

    I created 2nd address and pool like in this video. Is super and i understand how to.... One big problem i have. There is no net on 2nd network. Please, can somebody help me? Thank you.

    • @lorcster6694
      @lorcster6694 2 ปีที่แล้ว

      You need to set up NAT rule and masquerade it

  • @nadeemariefdien5182
    @nadeemariefdien5182 7 ปีที่แล้ว

    how does all ports get internet

    • @TKSJa
      @TKSJa  7 ปีที่แล้ว +1

      The ip address that is assign to the user will have a default gateway in it.

  • @robitops1547
    @robitops1547 5 ปีที่แล้ว

    Now I understood that what a briege is?
    A Bridge is a VLAN. and Vlan's ip is the Getway IP for DHCP pool.
    Thanks

    • @TKSJa
      @TKSJa  5 ปีที่แล้ว +1

      A Bridge is not a VLAN, although it behaves like one.

  • @nassirmohamed582
    @nassirmohamed582 4 ปีที่แล้ว +3

    Hello, My 2nd bridge works fine but no internet :-(

    • @blackbarry45
      @blackbarry45 2 ปีที่แล้ว

      mine neither

    • @lorcster6694
      @lorcster6694 2 ปีที่แล้ว

      @@blackbarry45 create a NAT rule and masquerade it

  • @johnlohan9900
    @johnlohan9900 7 ปีที่แล้ว

    Please tell me what is the purpose of creating more DHCP servers in a routeur Mikrotik?

    • @TKSJa
      @TKSJa  7 ปีที่แล้ว

      This will enable you to have multiple networks on your router. Example, WiFi user could be on 192.168.1.0/24 and LAN users on 10.0.0.0/24

    • @johnlohan9900
      @johnlohan9900 7 ปีที่แล้ว

      Do you have an topic of this ?

    • @TKSJa
      @TKSJa  7 ปีที่แล้ว

      +john Lohan no, but I have covered parts of it in different videos. Since you mention it I will be doing a dedicated video on it.

    • @johnlohan9900
      @johnlohan9900 7 ปีที่แล้ว

      Ok thank you in advance but is that each hotspot will be specific to connection mode? Let's say if the different people wifi or Ethernet will have a single page of hotspot quite specific that will be presented to them according to the terminal by which they will connect ???

    • @TKSJa
      @TKSJa  7 ปีที่แล้ว

      That will work only if you are running multiple hotspots.

  • @VoklavTube
    @VoklavTube 6 ปีที่แล้ว

    couldn't add New DHCP Server - can not run on slave inerface :( ?!

    • @armughanbhutta4684
      @armughanbhutta4684 5 ปีที่แล้ว

      remove Bridge first then create DHCP on target port.