2 Public IPs on 1 interface is this possible?

Hi,

I have 2 public ips from my ISP both in the same subnet and same gateway

I use an RB1000 with ether1 as gateway to my ISP

Question: Can I assign both Public ips to ether 1 and then route traffic so that users on the lan side of the rb1000 have public ip 1 for web traffic and public ip 2 for other traffic

If so How do I do it

many thanks

I asked similar thing and got the answer: http://forum.mikrotik.com/t/ip-used-for-outgoing-connections/42003/1

Yes, you are going to need something similar to a policy based routing setup to get it done however.

1.) Mark the connections you want for one IP, HTTP, HTTPS, etc. in firewall mangle
2.) Mark the rest of the connections in firewall mangle, make sure you include in the firewall matcher that it has no current connection mark, otherwise you’ll overwrite what you just did in the last step.
3.) In firewall NAT set up a scr-nat rule for the right IP and have a firewall matcher for one connection mark, and another NAT rule for the other connection mark.

If both of your WAN IPs are on the same subnet, you don’t need to mark them with a routing mark. If they are different subnets, you may have to do that.