VLAN COnfiguration

Hi everyone,

I have a RB2011 which currently connects to a 10/10 Fibre service NTU. Pretty straight forward configuration.
My organisation has purchased a new 50/50 fibre service I have to change the configuration on the router.
They have given me the new Public IP, Gateway, Mask, DNS which I can change, but now they have provided me with a Vlan ID
The old service did not have a Vlan ID
I have never worked with Vlans so I dont know what to do with this

Can someone please offer some help, I’m really stuck with this until I work out what to do with the Vlan ID and how to configure it

Thanks Tony

Add vlan interface on gateway (wan) interface with given vlan id, then assign ip address and mask to created vlan.

Sent from my MI MAX using Tapatalk

Thanksyou Shailpamar

The ip address I assign to the VLAN interface, is that the public IP for the internet service?

Yes , assign public ip address to vlan.

Sent from my MI MAX using Tapatalk

thankyou.

do I need to add/change any routes? or will it just work through lan to wan

No need to change route.

Sent from my MI MAX using Tapatalk

once again thankyou.

I will do this in the next few days

Hi again. I did as you suggested and it doesnt work.

I setup the vlan and attached to wan interface
I configured the ip address and attached to vlan
I added the default gateway to the ip routes and can ping the gateway and public ip address but cannot get internet access.

Im lost here. Any help would be appreciated

Are you able to ping gateway.

Sent from my MI MAX using Tapatalk

Are you able to ping gateway.

Sent from my MI MAX using Tapatalk

check your firewall nat if your out interface correct as below;

/ip firewall nat
add action=masquerade chain=srcnat out-interface="YOUR WAN" src-address="Your Address"