Community discussions

 
renes
just joined
Topic Author
Posts: 2
Joined: Wed Sep 09, 2009 8:41 pm

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

Wed Jul 10, 2019 5:19 pm

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
 
mkx
Forum Guru
Forum Guru
Posts: 2943
Joined: Thu Mar 03, 2016 10:23 pm

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

Wed Jul 10, 2019 9:29 pm

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.
BR,
Metod
 
renes
just joined
Topic Author
Posts: 2
Joined: Wed Sep 09, 2009 8:41 pm

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

Sat Jul 20, 2019 3:30 am

hi

thanks i tried it and it works.




Thank you for your help

Who is online

Users browsing this forum: MSN [Bot] and 27 guests