Community discussions

MikroTik App

Search found 23 matches

by lurch
Tue Feb 21, 2023 11:20 am
Forum: Scripting
Topic: using find in expect script
Replies: 1
Views: 188

using find in expect script

Via the cli i use the follwoing command interface bridge port set [find where bridge=bridge and interface=ether5] pvid=123 however i'm having a problem executing it via a script form a remote machine. send "interface bridge port set [find where bridge=bridge and interface=ether5] pvid=123"...
by lurch
Fri Feb 03, 2023 5:12 pm
Forum: Beginner Basics
Topic: changing port pvid via command line [SOLVED]
Replies: 4
Views: 331

Re: changing port pvid via command line [SOLVED]

Perfect many thanks
by lurch
Fri Feb 03, 2023 1:33 pm
Forum: Beginner Basics
Topic: changing port pvid via command line [SOLVED]
Replies: 4
Views: 331

Re: changing port pvid via command line [SOLVED]

I want to change the pvid at the end
add bridge=bridge comment=defconf ingress-filtering=no interface=ether5 pvid=X
by lurch
Fri Feb 03, 2023 1:03 pm
Forum: Beginner Basics
Topic: changing port pvid via command line [SOLVED]
Replies: 4
Views: 331

changing port pvid via command line [SOLVED]

I'm after a one liner to change the bridge port pvid via ssh but can't figure out the correct command i'm after something like
interface/bridge/vlan/set port=ether5 vlan=10
does anyone know the correct command to use?
by lurch
Mon Oct 24, 2022 2:42 pm
Forum: Beginner Basics
Topic: 100% cpu usage bridge vlan switching ppp dslam
Replies: 1
Views: 225

100% cpu usage bridge vlan switching ppp dslam

I have a CRS354-48G-4S+2Q+ with a DSLAM connected to sfp-sfpplus2 (vlan4010). I have a 500down/50up g.fast line connected but the maximum throughput i get is around 360mbit/s and when it reaches this the mikrotik cpu is showing 100% usage thus a bottleneck. Can anyone help with why i'm getting such ...
by lurch
Thu Oct 20, 2022 3:30 pm
Forum: Beginner Basics
Topic: traffic slower in one direction
Replies: 1
Views: 218

traffic slower in one direction

I have an iperf client connected to sfp-sfpplus3 the machine has 2.5gpbs link. On sfp-sfpplus4 I have an iperf server with a 10gbps link when doing an upload iperf i see [SUM] 0.00-10.00 sec 2.69 GBytes 2.31 Gbits/sec 995 sender [SUM] 0.00-10.01 sec 2.69 GBytes 2.31 Gbits/sec receiver but when doing...
by lurch
Thu Jul 21, 2022 6:48 pm
Forum: Beginner Basics
Topic: dhcp server assigned ip can ping out but not in
Replies: 4
Views: 507

Re: dhcp server assigned ip can ping out but not in

This is just the configuration for the dhcp part that isn't working not the full config.I have fixed the tagged/untagged issue.
by lurch
Thu Jul 21, 2022 6:04 pm
Forum: Beginner Basics
Topic: dhcp server assigned ip can ping out but not in
Replies: 4
Views: 507

dhcp server assigned ip can ping out but not in

I'm having a problem with dhcp assigned address in the way that i'm able to ping out from devices with assigned addresses but i'm unable to ping the ip from the local network. i.e i have a device assigned 192.168.111.240 form that i can ping local and to the internet i.e 8.8.8.8 from device assigned...
by lurch
Wed May 18, 2022 2:58 pm
Forum: Beginner Basics
Topic: pppoe client/server using bto modem and internal dslam
Replies: 4
Views: 384

Re: pppoe client/server using bto modem and internal dslam

The old BT Huawei/ECI modems already handle the VLAN 101 tagging internally so you attach the PPPoE client directly to the ethernet inteface connected to the modem.
Oh great so all i need to do is attach it to port 20 that isn't a slave and configure pppoe client?
by lurch
Wed May 18, 2022 11:55 am
Forum: Beginner Basics
Topic: pppoe client/server using bto modem and internal dslam
Replies: 4
Views: 384

pppoe client/server using bto modem and internal dslam

I've got a BTO modem connected to a homelab dslam. I need to setup a pppoe client that will use Username: bthomehub@btbroadband.com Password: BT VLAN: 101 and then a ppooe server to actually finish the connection and assign an ip. This is my config so far the BTO modem lan is plugged into port 20 of...
by lurch
Tue May 17, 2022 2:06 pm
Forum: Beginner Basics
Topic: converting .backup to plain text
Replies: 19
Views: 5069

converting .backup to plain text

I have a .backup file but when i load it the router becomes unreachable via it's configured ip, I can reset the router and load the file onto it but how do i read/convert the .backup file so I can fine the cause of the issue?
by lurch
Tue May 17, 2022 12:50 pm
Forum: General
Topic: isp pppoe with dslam
Replies: 0
Views: 265

isp pppoe with dslam

I've done some googling but can't find anything which matches my requirements. Basically I need to setup the following ISP Modem which requires specific username/password and vlan > DSLAM to terminate the connection via rj11 > Miktrotik ethernet connected to modem So the modem will sync with dslam, ...
by lurch
Thu May 12, 2022 12:36 pm
Forum: Beginner Basics
Topic: poor bridge/vlan throughput
Replies: 8
Views: 1108

Re: poor bridge/vlan throughput

I've upgraded SWOS and enabled layer 3 hardward offload on all ports and chip but now performance is even worse at 140mbit/s # may/12/2022 10:30:46 by RouterOS 7.2.3 # model = CRS354-48G-4S+2Q+ /interface bridge add admin-mac=xxxxxx auto-mac=no comment=defconf \ ingress-filtering=no name=bridge vlan...
by lurch
Wed May 11, 2022 3:33 pm
Forum: Beginner Basics
Topic: poor bridge/vlan throughput
Replies: 8
Views: 1108

Re: poor bridge/vlan throughput

Thanks so what chanbges do i need to make to my config without breaking the dhcp etc?
by lurch
Wed May 11, 2022 3:04 pm
Forum: Beginner Basics
Topic: poor bridge/vlan throughput
Replies: 8
Views: 1108

Re: poor bridge/vlan throughput

Between devices on the same VLAN you are bridging layer 2 traffic, a Mikrotik which supports hardware-offloading on a vlan-aware bridge will pass this at wire speed. Between devices on different VLANs you are routing layer 3 traffic, this is limited by the CPU performance of the Mikrotik unless you...
by lurch
Wed May 11, 2022 2:00 pm
Forum: Beginner Basics
Topic: poor bridge/vlan throughput
Replies: 8
Views: 1108

poor bridge/vlan throughput

with different devices plugged into the same switch on ports 9&11 with vid 1 doing an iperf I get 900mbits throughput however if i change port 11 to vlan100 I only get an erratic 250mbits any idea why this may be? /interface bridge add admin-mac=xxxxxxxxxxx auto-mac=no comment=defconf name=bridg...
by lurch
Wed May 11, 2022 1:56 pm
Forum: Beginner Basics
Topic: allowing traffic between vlans
Replies: 5
Views: 1158

Re: allowing traffic between vlans

Hi I just rebooted the router and inter vlan started working most strange thank you for your help
by lurch
Wed May 11, 2022 1:30 pm
Forum: Beginner Basics
Topic: allowing traffic between vlans
Replies: 5
Views: 1158

Re: allowing traffic between vlans

Hi thanks but i'm a bit confused does that mean I would have to do this for every port I want to allow traffic to flow between the vlans for? ether12 is already a bridge port [admin@RouterOS] /interface bridge port> add bridge=bridge interface=ether12 failure: device already added as bridge port
by lurch
Wed May 11, 2022 10:53 am
Forum: Beginner Basics
Topic: allowing traffic between vlans
Replies: 5
Views: 1158

allowing traffic between vlans

Using the following configuration on a device plugged into ether12 on vlan100 i'm unable to ping a device on vlanid please could someone tell me what firewall (i assume) rule i would need or is it something else? /interface bridge add admin-mac=xxxxxxxxxxx auto-mac=no comment=defconf name=bridge \ v...
by lurch
Mon May 09, 2022 9:39 pm
Forum: General
Topic: dhcp server with vlan
Replies: 6
Views: 509

Re: dhcp server with vlan

Thanks for your reply

re "Router address 10.20.20.0/24 versus dhcp-server network 10.20.0.0/24" that was an error made while eradicating/changing config to paste here. My networking knowledge was sufficient for my cisco certification but alas i'm new to ROS.
by lurch
Mon May 09, 2022 8:06 pm
Forum: General
Topic: dhcp server with vlan
Replies: 6
Views: 509

Re: dhcp server with vlan

Hi thanks for the reply here is the relevant config, ideally I would like the dhcp range to have it's own gateway ip. # jan/17/1970 08:03:18 by RouterOS 6.48.6 # software id = AUTI-FPMJ # # model = CRS354-48G-4S+2Q+ /interface bridge add admin-mac=xx:xx:xx:xx:xx auto-mac=no comment=defconf name=brid...
by lurch
Mon May 09, 2022 6:38 pm
Forum: General
Topic: dhcp server with vlan
Replies: 6
Views: 509

dhcp server with vlan

Hi i'm trying to do the following and struggling to get it working. What i need 1, Setup a dhcp server with subnet i.e 10.20.20.0/24 2, Create a vlan i.e Vlan 100 3, When I untag a port i.e 10 with vlan 100 it gets an ip form the above range. So far I have 1, Created a bridge interface called dhcp, ...
by lurch
Mon Jan 24, 2022 5:50 pm
Forum: Scripting
Topic: getting/setting vlan for port
Replies: 1
Views: 975

getting/setting vlan for port

I'm currently setting vlan id for interfaces via winbox on a CRS326-24S bridge > ports > sfp-sfpplus1 PVID = xxx What I need to be able to do is get the current PVID of a specific interface in a single command via the cli and Set PVID of a specific interface in a single command via the cli I've trie...