Code: Select all
# Main VLAN DHCP server
/ip pool add name=MAIN_POOL ranges=10.1.10.10-10.1.10.100
/ip dhcp-server add address-pool=MAIN_POOL interface=MAIN_VLAN lease-time=10m name=MAIN_DHCP disabled=no
/ip dhcp-server network add address=10.1.10.0/24 dns-server=10.1.10.1 gateway=10.1.10.1 netmask=24
Code: Select all
/ip address
add address=10.1.10.1/24 interface=MAIN_VLAN comment="Border router management IP address"
/ip address
add address=10.1.10.2/24 interface=MAIN_VLAN comment="Floor-1 router management IP address"
Code: Select all
/ip address
add address=10.1.10.101/24 interface=MAIN_VLAN comment="Border router management IP address"
/ip address
add address=10.1.10.102/24 interface=MAIN_VLAN comment="Floor-1 router management IP address"
I don't understand why. The ipconfig on the affected PC looks OK. What else might need to be changed? Any advice on troubleshooting? Thanks.
On further thought, I don't understand what /ip address add does, and I'm having trouble finding documentation.
...
OK, I think my misunderstanding is that
Code: Select all
/ip address add