is t possible to hvave more than one dhcp in the router. i hvae setup my router to have dhcp for 2 vlan
1 for the wifi and i ts working fin
and the second for the cabel network but I m note getting any ip from the router,
i conecte my pc directly to the router to se if i get ip no
i m doing somthing wrong
You can certainly have multiple DHCP servers in RouterOS. Upload your config.
Her is my setup . NB its a lab
jan/01/2002 23:19:34 by RouterOS 6.19
software id = H57W-LMHA
/interface vlan
add interface=ether2 l2mtu=1594 name=Admin use-service-tag=yes vlan-id=200
add interface=ether2 l2mtu=1594 name=Guest vlan-id=100
add interface=ether2 l2mtu=1594 name=vlanAP vlan-id=300
/ip dhcp-server
add disabled=no interface=ether4 name=dhcp4
/ip pool
add name=dhcp_pool1 ranges=10.10.100.2-10.10.100.254
add name=dhcp_pool2 ranges=10.10.200.2-10.10.200.254
/ip dhcp-server
add address-pool=dhcp_pool1 disabled=no interface=Guest name=dhcp1
add address-pool=dhcp_pool2 disabled=no interface=Admin name=dhcp2
/ip address
add address=10.10.100.1/24 interface=Guest network=10.10.100.0
add address=10.10.200.1/24 interface=Admin network=10.10.200.0
add address=10.10.50.1/24 network=10.10.50.0
add address=10.10.10.10/24 interface=vlanAP network=10.10.10.0
add address=10.10.110.1/24 interface=ether4 network=10.10.110.0
/ip dhcp-client
add default-route-distance=0 dhcp-options=hostname,clientid disabled=no
interface=ether1
/ip dhcp-server network
add address=10.10.10.0/24 gateway=10.10.10.10
add address=10.10.100.0/24 gateway=10.10.100.1
add address=10.10.110.0/24 gateway=10.10.110.1
add address=10.10.200.0/24 gateway=10.10.200.1
/ip dns
set allow-remote-requests=yes
/ip firewall nat
add action=masquerade chain=srcnat out-interface=ether1
/ip upnp
set allow-disable-external-interface=no
/system lcd
set contrast=0 enabled=no port=parallel type=24x4
/system lcd page
set time disabled=yes display-time=5s
set resources disabled=yes display-time=5s
set uptime disabled=yes display-time=5s
set packets disabled=yes display-time=5s
set bits disabled=yes display-time=5s
set version disabled=yes display-time=5s
set identity disabled=yes display-time=5s
set ether1 disabled=yes display-time=5s
set ether2 disabled=yes display-time=5s
set ether3 disabled=yes display-time=5s
set ether4 disabled=yes display-time=5s
set ether5 disabled=yes display-time=5s
set Guest disabled=yes display-time=5s
set Admin disabled=yes display-time=5s
set vlanAP disabled=yes display-time=5s
On your Admin network you probably do not want use-service-tag=yes. Try switching that off.
I did that but no luck . if I give to my pc a static ip from the admin subnet . i kan ping my gw but no internet and the dhcp is not working