Page 1 of 1

VLAN COnfiguration

Posted: Fri May 26, 2017 7:08 am
by qbtadmin
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

Re: RE: VLAN COnfiguration

Posted: Fri May 26, 2017 9:07 am
by shailparmar
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

Re: VLAN COnfiguration

Posted: Sat May 27, 2017 2:28 am
by qbtadmin
Thanksyou Shailpamar

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

Re: RE: Re: VLAN COnfiguration

Posted: Sun May 28, 2017 4:38 pm
by shailparmar
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

Re: VLAN COnfiguration

Posted: Sun May 28, 2017 4:43 pm
by qbtadmin
thankyou.

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

Re: RE: Re: VLAN COnfiguration

Posted: Sun May 28, 2017 4:44 pm
by shailparmar
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

Re: VLAN COnfiguration

Posted: Sun May 28, 2017 4:46 pm
by qbtadmin
once again thankyou.

I will do this in the next few days

Re: VLAN COnfiguration

Posted: Wed Jun 14, 2017 12:22 am
by qbtadmin
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

Re: RE: Re: VLAN COnfiguration

Posted: Wed Jun 21, 2017 12:13 pm
by shailparmar
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

Re: RE: Re: VLAN COnfiguration

Posted: Wed Jun 21, 2017 12:13 pm
by shailparmar
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

Re: VLAN COnfiguration

Posted: Wed Jun 21, 2017 12:45 pm
by amt
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"