how to set up isp vlan public ip ?????

hi

There is probably a simple answer to this I just am not seeing it.

ISP gave me for example:

Configure port on your router with VLAN ID 180, IP address 81.244.55.234/30

You also have to route this network 198.198.2.0/23 via 81.244.55.233

I have a ccr1009 and 3 RB 3011UiAS i am trying to get it ip

Let’s assume router’s ether1 interface will be used for WAN. And let’s assume ether1 is not member of any bridge. So the minimum config would be this:

/interface vlan
add name=wan interface=ether1 vlan-id=180
/ip address
add address=81.244.55.234/30 interface=wan
/ip route
add dst-address=198.198.2.0/23 gateway=81.244.55.233

Not sure why ISP would be instructing you to use specific IP address as gateway for specific remote subnet … as the public IP address given to you with netmask means the only other host IP address available in WAN subnet is the IP address of that gateway … but you would really want to use it as default gateway, hence

/ip route
add dst-address=0.0.0.0/0 gateway=81.244.55.233

instead of the one I wrote in the first config excerpt.

hi

thanks i tried it and it works.




Thank you for your help

How would have the ISP setup this from their side??

And you ask in a post from 2019, to a user who does not even know the VLANs?
Ask your ISP rather…

I’m sorry for revive this post, but I’m having the same question, now I know how to define the VLAN and the VLAN IP and Gateway, but what happened with the public IP?

Is not needed define this IP in the router to give Internet access and to get access to the router from outside?

Thanks in advance