Community discussions

MikroTik App
 
daxyco
newbie
Topic Author
Posts: 35
Joined: Tue May 12, 2020 5:20 pm
Location: Serbia

ISP provided static IP, how to setup?

Wed Jul 03, 2024 1:36 pm

Hi everyone,

I'm not a complete noob with rOS, but haven't encountered this type of connection before. Just changed the ISP, and they gave me some parameters to connect my Mikrotik hap ac2 to the internet. I know I probably should start from a fresh setup, but I have many things setup and I probably wouldn't know how to set them up again without hours and hours of researching again.

I was given:

Connection IP: XX.XX.129.YYY
SUBNET MASK 255.255.224.0
WAN GATEWAY XX.XX.128.1
VLAN ID 735

(leaving parts of the connection IP and wan gateway, might be relevant. XX parts in connection IP and wan gateway are the same, probably should be).

From what I've seen online, I need to create a new address list, entered XX.XX.129.YYY/19 (is this right?), interface is ether1 (this is the port I connected to their media converter), network was automatically populated with XX.XX.128.0. When I click ok, a new route was automatically created in the route list with dst. Address XX.XX.128.0/19, gateway is ether1. I can't seem to find where O need to input the VLAN ID, or If I have entered the given parameters correctly.

Can I get any help?
 
User avatar
loloski
Member
Member
Posts: 423
Joined: Mon Mar 15, 2021 9:10 pm

Re: ISP provided static IP, how to setup?

Wed Jul 03, 2024 1:42 pm

Assumption ether1 is the port towards your ISP modem/media converter and vlan 735 is your assignment and the service handover to you is via a tagged/port, if you are having a hard time I suggest ask them to handover to you the service via access port so you just simply assign the IP to your interface anyway, here it is
/interface/vlan/add interface=ether1 vlan-id=735 name=VLAN735
/ip/address/add address=x.x.x.x/19 interface=VLAN735
/ip/route/add gateway=x.x.x.x
 
daxyco
newbie
Topic Author
Posts: 35
Joined: Tue May 12, 2020 5:20 pm
Location: Serbia

Re: ISP provided static IP, how to setup?

Wed Jul 03, 2024 2:00 pm

I have no idea what you just said, but I entered the commands you wrote, and it works!

Thanks so much!
 
erlinden
Forum Guru
Forum Guru
Posts: 2684
Joined: Wed Jun 12, 2013 1:59 pm
Location: Netherlands

Re: ISP provided static IP, how to setup?

Wed Jul 03, 2024 2:09 pm

In that case, please share your current config. Then we can do a quick check. Especially the firewall would be interesting.
/export file=anynameyoulike
Remove serial and any other private info.
 
User avatar
loloski
Member
Member
Posts: 423
Joined: Mon Mar 15, 2021 9:10 pm

Re: ISP provided static IP, how to setup?

Wed Jul 03, 2024 2:20 pm

No problem

Who is online

Users browsing this forum: No registered users and 27 guests