Page 1 of 1

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

Posted: Wed Jul 10, 2019 5:19 pm
by renes
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

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

Posted: Wed Jul 10, 2019 9:29 pm
by mkx
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.

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

Posted: Sat Jul 20, 2019 3:30 am
by renes
hi

thanks i tried it and it works.




Thank you for your help