This seems to be a very simple task but I am struggling to get a DHCP lease from my ISP due to Vlan ID 0 802.1q seems like.
Mikrotik RB3011 with default configurations.
Essentially I can plug in any other router and they are able to get an IP. I see offers are being sent to the router but it just ignores them.
I connected my laptop to the Alcatel box and used Wireshark to find out It’s sending packets with 802.1q Vlan ID 0 tags.
I then tried to figure out how to make it work following somewhat related forum discussions and so on (setting up VLAN and bridges, etc), but I am confused and I don’t what would be the best way to do it. (looking for Minimal performance impact)
Any help is appreciated and please correct/redirect me if this is not the place for this.
Post your current configuration. Without that, we’re only guessing.
To export and paste your configuration (and I’m assuming you are using WebFig or Winbox), open a terminal window, and type (without the quotes) “/export hide-sensitive file=any-filename-you-wish”. Then open the files section and right click on the filename you created and select download in order to download the file to your computer. It will be a text file with whatever name you saved to with an extension of .rsc. Suggest you then open the .rsc file in your favorite text editor and redact any sensitive information. Then in your message here, click the code display icon in the toolbar above the text entry (the code display icon is the 7th one from the left and looks like a square with a blob in the middle). Then paste the text from the file in between the two code words in brackets.
I was just trying to use the default configuration and therefore I did not post it.
But since then I was able to get the DHCP Client to grab the ISP given IP but I am pretty sure I am doing it the wrong way.
So ISP plugged in to ether1 gets correct IP and laptop on ether 6 with 192.168.88.0/24 I am unable to browse the internet but if I use any ports that are on the bridge1 I have access to internet but my laptop grabs a random IP from the internet. NOTE I would like to use ether 1 as the only Wan port and the rest for local usage, but the guide I was following said to add the whole switch to the bridge so I did. So here is my config and appreciate the help very much.
I am extremely weak on using a bridge in ROS, so I am not going to try to answer all the bridge related stuff - but it does not look right to me. Also, I have not touched version 7 yet, nor IPv6.
Your DHCP client is disabled on ether1 for your WAN connection, but it appears you have a DHCP client for bridge1 (which I think is correct since you made a bridge for ether1 - not sure why a bridge for a single port).
Someone better than me will need to go over most of this…
Bridge setup is pretty much wrong. ether1 is made part of bridge, but yet it’s used as if it was standalone (it has DHCP client attached etc.). My problem in this oarticular case, though, is that I’ve no idea how to get ROS transmit packets with 802.1q headers with VID set to 0 … that is actually invalid VID value and those packets bear headers only to include DSCP bits. BTW, your current setup (setting a port as tagged/untagged member of VLAN without setting VID) doesn’t work, implicit default setting is pvid=1.
So either your ISP requires a particular QoS setting or some other VIDs set … either way you need to be sure before you try to get things working, number of possibilities is simply too large to use “try and fail” method of solving it.