Hi there,
my configuration, as first:
MikroTik CRS125-24G-1S2HnD-IN
- Port 1 is configured as WAN with a fixed IP
Port 2 until 16 is configured with “Port-Isolation” and become the IP via DHCP-Server1
Port 17 until 24 is configured with "Port-Isolation and should become the IP via DHCP-Server2
Port 17 as also a configured VLAN
Example for DHCP-Server1
add address=172.16.1.5 client-id=HPLaserjet2430 comment="HP LasetJet 2430 DTN" mac-address=00:14:38:89:EA:3E server=DHCP-Server1
Example for DHCP-Server2
add address=192.168.1.10 always-broadcast=yes client-id=Win2k8-MainServ mac-address=00:1C:42:2E:4B:DF server=DHCP-Server2 use-src-mac=yes
The DHCP is configured as follow:
/ip dhcp-server
add address-pool=DHCP-Server1 disabled=no interface=bridge1 lease-time=1d name=DHCP-Server1
add address-pool=DHCP-Server2 disabled=no interface=vlan1 lease-time=1d name=DHCP-Server2
/ip pool
add name=DHCP-Server1 ranges=172.16.1.10-172.16.1.128
add name=DHCP-Server2 ranges=192.168.1.0/26
/ip dhcp-server network
add address=172.16.1.0/24 dhcp-option=TFTP dns-server=8.8.8.8,8.8.4.4 gateway=172.16.1.1 netmask=24 ntp-server=192.53.103.108
add address=192.168.1.0/26 dhcp-option=TFTP dhcp-option-set=set2 dns-server=8.8.8.8,8.8.4.4 gateway=192.168.1.1 netmask=24 ntp-server=192.53.103.108
/ip route
add distance=1 gateway=FixedIP-Gateway
add distance=1 dst-address=192.168.1.0/24 gateway=ether17-local-master pref-src=192.168.1.1
Configure for Port 2, 17 and the VLAN
/ip address
add address=FixedIP/30 comment="WAN IP-Address from Unitymedia" interface=ether1WAN-Gateway network=FixedNetwork
add address=172.16.1.1/24 comment="Admin Port for local network" interface=ether2-local-master network=172.16.1.0
add address=192.168.1.1 comment="Virtuel Network 192.168.x.x" interface=vlan1 network=255.255.255.192
So, i think this configure is enough. Here my wish:
- Port 2 until Port 16 should become the IP via DHCP-Server1, from the DHCP-Pool.
- Port 17 until 24 should become the IP via DHCP-Server2, from the DHCP-Pool.
DHCP-Server1 should use 172.16.1.x and DHCP-Server2 should use 192.168.1.x
In the future i will use fixed IP from my ISP, so that i can change the 192-Net-IP to the Fixed-IP.
Here is my problem.
Bildschirmfoto 2015-08-16 um 7.43.29 pm.jpg
The DHCP-Server2-Configuration is displayed in red, the Server don’t become the IP from the DHCP-Server2. They become his IP from DHCP-Server1.
Can anyone help me?