Community discussions

MikroTik App
 
renes
just joined
Topic Author
Posts: 3
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
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 11439
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.
 
renes
just joined
Topic Author
Posts: 3
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
 
m705
just joined
Posts: 1
Joined: Sat Aug 08, 2020 9:25 am

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

Thu Jun 17, 2021 4:43 am

How would have the ISP setup this from their side??
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 11982
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

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

Thu Jun 17, 2021 8:55 pm

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...
 
robertop23
just joined
Posts: 2
Joined: Fri Mar 17, 2023 11:36 am

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

Fri Mar 17, 2023 12:04 pm

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

Who is online

Users browsing this forum: LAZst and 39 guests