RB750 with multiple ip address from ISP

Hi Guys
I am just wondering if the RB750 can handle static and dhcp in multiple ip address from ISP? I am just wondering how I would route that or how to setup this in RB750 box?

does anybody know?

sure it can =) just describe your setup in more detail

well see I have a cable connection that I can use dhcp and static IP address at the same time using one modem and I am just wondering how to setup that up inside of RB750.

just add static address adn dhcp client to the interface =)

but why do you need that?

The RB750 is set up by default as a dhcp client on ether1. Are you assigned public static ips from your ISP?

well see I am trying to setup WISP so I wanted to have static and dhcp public IPs coming from my internet backbone and I didnt know if I was able to do that or not so that is why I was asking about this.

I am not certain why your ISP would want one of your ips dhcp and the others static. Has your ISP issued to you the other public static ips that you want to assign to your RB750? If you want to be a provider, get static ips. But that is just me…

well see my internet backbone is going to offer me dhcp public IP but I can buy static public IP addresses if I need them. So I would like to know how to handle this inside of RB750.

Should be no problem. I use the CLI, so:
/ip address
add address xx.xx.xx.xx/yy interface=ether1
You might want to check the name of the interface. On the RB750 it may be different. The default setup is for soho applications.

ADD: Insure to add the extra default route (gateway) in “/ip route”.
/ip route
add gateway=xx.xx.xx.xz
I don’t know what subnet mask you are assigned, so the exact numbers will be different.

Thank You SurferTim and I got a other question so you would do that script every static IP address that you want to add correct. Also if customer wants a static public IP but customer have a internal static IP how would I setup that also?

You could try the standard srcnat/dstnat rules. I used 192.168.0.10 for the internal server.

/ip firewall nat
add chain=srcnat action=src-nat src-address=192.168.0.10 to-addresses=xx.xx.xx.xx place-before=0
add chain=dstnat action=dst-nat dst-address=xx.xx.xx.xx to-addresses=192.168.0.10 place-before=0

However, the dynamic address is a bit of a challenge for me. If you use the standard masquerade, I find the results are unpredictable due to the multiple ips. And since you really don’t know what it is going to be, setting a static srcnat is risky at best. Maybe someone else will have an answer for that.

thanks again SurferTim for your help