I have a basic/default setup on a RB4011 series I just bought. (Replacing a Ubiquiti USG).
According to my fiber provider I need to use vlan 101 on my wan interface (ether1).
Ether1 is connected to a fiber converter/modem box.
How to I do that?
I guess they use vlan 101 untagged. If so you can connect using any vlan untagged.
If its not untagged you need to setup your port as a tagged vlan 101 port.
Ask you ISP to clarify this before you begin.
My Ubiquiti USG doesn’t work if WAN is untagged. It works when tagged with vlan 101.
Configration option is named “Use VLAN ID” and is set to “101” without any further options.
I have the same setup on my Router. It takes a bit getting used to but here are the key parts.
Set up the the ethernet Interface - eth1
Set up a VLAN interface where the interface for it, IS ETHER1
/interface ethernet
set [ find default-name=ether1] comment=Port1 name=Fiber_eth1
/interface vlan
add interface=Fiber_eth1 name=vlanfiber vlan-id=101
Thats pretty well it.
Go to DHCP Client next and identify the vlan interface as the client.
/ip dhcp-client
add add-default-route=no dhcp-options=hostname,clientid disabled=no
interface=vlanfiber use-peer-dns=no use-peer-ntp=no
The only issue I have is setting up my routing because my connection does not come up automatically as the router is not able to handle a 0.0.0.0/0 gateway address as prescribed in the documentation.
What I do after connecting the modem to the router is go to winbox and find the gateway IP of the ISP by going back to DHCP client and selecting then clicking on the vlanfiber interface line.
Then in in the popup menu for the interface, check out the STATUS tab.
There you will find the IP address given to the router but more importantly the gateway IP address to then go to your IP route selection and fill that in as appropriate.
hi i have the same sort of issue
my isp uses vlan 100 and COS 4
i was able to create a vlan interface but how do i setup COS value
I don’t think you have to set COS value (or in ROS terms priority) anywhere, but if you’re interested, you can read the following section of the docs: