Community discussions

MikroTik App
 
qbtadmin
just joined
Topic Author
Posts: 7
Joined: Tue Oct 20, 2015 1:06 pm

VLAN COnfiguration

Fri May 26, 2017 7:08 am

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
 
User avatar
shailparmar
Frequent Visitor
Frequent Visitor
Posts: 97
Joined: Wed Aug 20, 2014 6:07 pm
Location: GB
Contact:

Re: RE: VLAN COnfiguration

Fri May 26, 2017 9:07 am

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
 
qbtadmin
just joined
Topic Author
Posts: 7
Joined: Tue Oct 20, 2015 1:06 pm

Re: VLAN COnfiguration

Sat May 27, 2017 2:28 am

Thanksyou Shailpamar

The ip address I assign to the VLAN interface, is that the public IP for the internet service?
 
User avatar
shailparmar
Frequent Visitor
Frequent Visitor
Posts: 97
Joined: Wed Aug 20, 2014 6:07 pm
Location: GB
Contact:

Re: RE: Re: VLAN COnfiguration

Sun May 28, 2017 4:38 pm

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
 
qbtadmin
just joined
Topic Author
Posts: 7
Joined: Tue Oct 20, 2015 1:06 pm

Re: VLAN COnfiguration

Sun May 28, 2017 4:43 pm

thankyou.

do I need to add/change any routes? or will it just work through lan to wan
 
User avatar
shailparmar
Frequent Visitor
Frequent Visitor
Posts: 97
Joined: Wed Aug 20, 2014 6:07 pm
Location: GB
Contact:

Re: RE: Re: VLAN COnfiguration

Sun May 28, 2017 4:44 pm

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
 
qbtadmin
just joined
Topic Author
Posts: 7
Joined: Tue Oct 20, 2015 1:06 pm

Re: VLAN COnfiguration

Sun May 28, 2017 4:46 pm

once again thankyou.

I will do this in the next few days
 
qbtadmin
just joined
Topic Author
Posts: 7
Joined: Tue Oct 20, 2015 1:06 pm

Re: VLAN COnfiguration

Wed Jun 14, 2017 12:22 am

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
 
User avatar
shailparmar
Frequent Visitor
Frequent Visitor
Posts: 97
Joined: Wed Aug 20, 2014 6:07 pm
Location: GB
Contact:

Re: RE: Re: VLAN COnfiguration

Wed Jun 21, 2017 12:13 pm

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
 
User avatar
shailparmar
Frequent Visitor
Frequent Visitor
Posts: 97
Joined: Wed Aug 20, 2014 6:07 pm
Location: GB
Contact:

Re: RE: Re: VLAN COnfiguration

Wed Jun 21, 2017 12:13 pm

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
 
User avatar
amt
Long time Member
Long time Member
Posts: 529
Joined: Fri Jan 16, 2015 2:05 pm

Re: VLAN COnfiguration

Wed Jun 21, 2017 12:45 pm

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"