I have got me an RB2011 (I am new to this hardware) and got it configured with dhcp rangen 192.168.1.100 - 192.168.1.200 gateway 192.168.1.1
I also got a few devices configures static: 192.168.1.50,192.168.1.51,192.168.1.53,192.168.1.54,192.168.1.60
Now I want to change the default gateway for ip-adress 192.168.1.53 from 192.168.1.1 to 192.168.2.5 when it assigns the static ipaddress to that device.
Is there an option to do this with the firewall rules and/or mangle rules ?
Or is there another way to accomplish this.
Where does 192.168.2.5 suddenly comes from? You didn’t write what netmask you have, but in case it’s the most common /24, 192.168.2.x can’t be default gateway for 192.168.1.x. Or do you mean two upstream routers and routing traffic from some addresses to one and from other addresses to another?
I have got me an RB2011 (I am new to this hardware) and got it configured with dhcp rangen 192.168.1.100 - 192.168.1.200 gateway 192.168.1.1
I also got a few devices configures static: 192.168.1.50,192.168.1.51,192.168.1.53,192.168.1.54,192.168.1.60
Now I want to change the default gateway for ip-adress 192.168.1.53 from 192.168.1.1 to 192.168.1.2 when it assigns the static ipaddress to that device.
Is there an option to do this with the firewall rules and/or mangle rules ?
Or is there another way to accomplish this.