Community discussions

MikroTik App
 
Bimpek
just joined
Topic Author
Posts: 4
Joined: Tue May 12, 2020 3:03 pm

Mikrotik and Printers  [SOLVED]

Tue Jun 09, 2020 3:14 pm

Hello
I have problem with my printers to communicate through mikrotik.
Ether 1 - link to router (working fine)
Ether 2,3 (hybrid) - link to Unify AP (working fine)
Ehter 4,5,6 - cable connection with printers (problems)

When i place PC on ether 3 i got communication with router that is linked with ether1, when i place printer hp m426 or other hp they don't,
I haved checked if it is a problem with network card, and it isn't. Printer connected directly to pc work, connected through Huawei s5720 series switches works, and i'm out of clue where is the problem.
Can you help me ?

Config:
# model = CRS125-24G-1S-2HnD
/interface bridge
add name=bridge1

/interface ethernet
set [ find default-name=ether7 ] disabled=yes
set [ find default-name=ether8 ] disabled=yes
set [ find default-name=ether9 ] disabled=yes
set [ find default-name=ether10 ] disabled=yes
set [ find default-name=ether11 ] disabled=yes
set [ find default-name=ether12 ] disabled=yes
set [ find default-name=ether13 ] disabled=yes
set [ find default-name=ether14 ] disabled=yes
set [ find default-name=ether15 ] disabled=yes
set [ find default-name=ether16 ] disabled=yes
set [ find default-name=ether17 ] disabled=yes
set [ find default-name=ether18 ] disabled=yes
set [ find default-name=ether19 ] disabled=yes
set [ find default-name=ether20 ] disabled=yes
set [ find default-name=ether21 ] disabled=yes
set [ find default-name=ether22 ] disabled=yes
set [ find default-name=ether23 ] disabled=yes
set [ find default-name=sfp1 ] disabled=yes

/interface vlan
add interface=bridge1 name=MGMT vlan-id=101

/interface bridge port
add bridge=bridge1 interface=ether1
add bridge=bridge1 interface=ether2
add bridge=bridge1 interface=ether24
add bridge=bridge1 interface=ether3
add bridge=bridge1 interface=ether4
add bridge=bridge1 interface=ether5
add bridge=bridge1 interface=ether6

/ip neighbor discovery-settings
set discover-interface-list=none

/interface ethernet switch egress-vlan-tag
add tagged-ports=ether1,switch1-cpu vlan-id=101
add tagged-ports=ether1,ether2,ether3,ether4,ether5,ether6,switch1-cpu vlan-id=5

/interface ethernet switch ingress-vlan-translation
add customer-vid=0 new-customer-vid=101 ports=switch1-cpu,ether2,ether3,ether24
add customer-vid=0 new-customer-vid=5 ports=ether4,ether5,ether6,switch1-cpu

/interface ethernet switch vlan
add ports=ether1,ether2,ether3,ether24,switch1-cpu vlan-id=101
add ports=ether2,ether3,ether4,ether5,ether6,switch1-cpu vlan-id=5

/ip address
add address=10.101.0.11/24 interface=MGMT network=10.101.0.0

/ip firewall filter
add action=accept chain=input dst-port=8291 protocol=tcp src-address=\
10.101.0.2
add action=accept chain=input dst-port=8291 protocol=tcp src-address=\
10.100.0.2
add action=accept chain=input dst-port=8291 protocol=tcp src-address=\
10.100.0.3
add action=accept chain=input dst-port=8291 protocol=tcp src-address=\
10.10.2.2
add action=drop chain=input dst-port=8291 protocol=tcp

/ip service
set telnet disabled=yes
set ftp disabled=yes
set www disabled=yes
set ssh disabled=yes
set api disabled=yes
set api-ssl disabled=yes

/lcd
set enabled=no touch-screen=disabled

/system identity
set name="F3w 62"

/tool bandwidth-server
set enabled=no

/tool mac-server
set allowed-interface-list=none

/tool mac-server mac-winbox
set allowed-interface-list=none
 
User avatar
k6ccc
Forum Guru
Forum Guru
Posts: 1497
Joined: Fri May 13, 2016 12:01 am
Location: Glendora, CA, USA (near Los Angeles)
Contact:

Re: Mikrotik and Printers

Tue Jun 09, 2020 5:31 pm

I'm going to preface this with I am not the expert here as I do not do any switch functions in my routers (routers only route, and switches do all the switching). However, If I followed it right, you are sending VLAN tagged traffic to the printers and they have no idea what to do with VLAN tags.
 
User avatar
k6ccc
Forum Guru
Forum Guru
Posts: 1497
Joined: Fri May 13, 2016 12:01 am
Location: Glendora, CA, USA (near Los Angeles)
Contact:

Re: Mikrotik and Printers

Tue Jun 09, 2020 5:32 pm

duplicate post (sorry).
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 19379
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: Mikrotik and Printers

Tue Jun 09, 2020 7:29 pm

vlan05 is not even identified under the vlan interface section??
 
Bimpek
just joined
Topic Author
Posts: 4
Joined: Tue May 12, 2020 3:03 pm

Re: Mikrotik and Printers

Wed Jun 10, 2020 8:36 am

I'm going to preface this with I am not the expert here as I do not do any switch functions in my routers (routers only route, and switches do all the switching). However, If I followed it right, you are sending VLAN tagged traffic to the printers and they have no idea what to do with VLAN tags.
Yea my brain fails ;) thx

Who is online

Users browsing this forum: AdamT77, avis99, dsfak, erlinden, fxcd, miker3000, zalciukaz and 115 guests