Hot to get Multiple Public IP's on 1 interface?

Hello,

Our ISP is able to give us multiple public IP’s. However because they give the addresses out via a DHCP server, they need to tie them to different Mac Addresses.

The problem is only 1 WAN cable is entering our router from an optic to lan converter (therefore only 1 Mac address).

Is this possible at all? Can we create VLAN’s with different Mac Addresses and somehow pass those to the ISP to get our IP’s?




Thanks,

Change operator. they should route a subnet for you - this is correct way.
But in this case i think VLAN is only way to go.

You can try creating multiple DHCP clients with different Client IDs. But the ISP DHCP server may just use MAC anyway and ignore client-id.

Proper routed subnet would be better, that’s true. I don’t think a vlan can help you with this. But even if ISP is not going to change anything for you, you still have some options:

a) If you want to give other addresses to different servers, you can bridge/switch their ports with WAN and let them get their addresses directly.
b) If you want all addresses on router, there’s VRRP hack. As the name suggests, it’s not exactly proper solution, but it works.

Can you be more specific on how to accomplish this?

I’ve made Bridges with custom Mac Addresses, then added the VLAN to them in order to obtain the custom Mac addresses.
Then I’ve added the IP’s in Route List. And added the VLAN as gateway.

Is this the way to do it?

How about using a switch?
It could work if you connect a switch to the ISP’s cable and link two different cables from sw to mikrotik ports 1 and 2.

Thats the option we’ll go for it seems…

What will the second cable to? Theres 4 public addresses, can all those be passed by the second cable?

If all DHCP servers bind to a mac address you need to connect one cable from the sw to mikrotik interfaces for each address.

No. One DHCP lease per MAC. One MAC per Interface. Either abuse VRRP or connect one physical port to the switch for one IP.
Same question with VRRP solution: http://forum.mikrotik.com/t/virtual-or-pseudo-ethernet-interfaces-possible/84948/1