Community discussions

MikroTik App
 
Creepounette
just joined
Topic Author
Posts: 6
Joined: Mon Nov 28, 2022 11:20 am
Location: Lille, Nord, France

Is my bridge is good configured ?

Mon Jan 09, 2023 10:19 am

Hello everyone !
I need help for my bridge. i followed the documentation but i cant log using my ether1 port , and i don't know what to do. I see my routeur with winbox but can't login in again. Need to reset it to enter on it. It will help me a lot if you can see what is the problem !
I'm using a CCR2004-16G-2S version 7.6
/interface bridge
add name=Bridge-Switch
/interface ethernet
set [ find default-name=ether6 ] advertise=10M-full,100M-full,1000M-full \
    comment=FAI1 l2mtu=1580
set [ find default-name=ether7 ] advertise=10M-full,100M-full,1000M-full \
    comment=FAI2 l2mtu=1580
/interface vlan
add interface=Bridge-Switch name=VLAN10 \
    vlan-id=10
add interface=Bridge-Switch name=VLAN20 vlan-id=20
add interface=Bridge-Switch name=VLAN21 vlan-id=21
add interface=Bridge-Switch name=VLAN22 vlan-id=22
add interface=Bridge-Switch name=VLAN30 vlan-id=30
add interface=Bridge-Switch name=VLAN40 vlan-id=40
add interface=Bridge-Switch name=VLAN50 vlan-id=50
add interface=Bridge-Switch name=VLAN52 vlan-id=52
add interface=Bridge-Switch name=VLAN55 vlan-id=55
add interface=Bridge-Switch name=VLAN60 vlan-id=60
/interface list
add name=WanAll
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip dhcp-server option
add code=66 name=TFTP-Server value="'10.0.5.19'"
add code=67 name=Boot-File-Server value="'10.0.5.19'"
/ip pool
add name=V10 ranges=10.0.1.1,10.0.1.200
add name=V20 ranges=10.0.2.1,10.0.2.55
add name=V21 ranges=10.0.21.1,10.0.21.59
add name=V30 ranges=10.0.3.1,10.0.3.25
/ip dhcp-server
add address-pool=V10 interface=VLAN10 lease-time=2d name=DHCP10
add address-pool=V20 disabled=yes interface=VLAN20 lease-time=1d name=DHCP20
add address-pool=V21 interface=VLAN21 name=DHCP21
add address-pool=V30 interface=VLAN30 lease-time=3d name=DHCP30
/port
set 0 name=serial0
set 1 name=serial1
/routing table
add disabled=no fib name=Inbound_FAI1
add disabled=no fib name=Inbound_FAI2
/interface bridge port
add bridge=Bridge-Switch ingress-filtering=no interface=ether1
add bridge=Bridge-Switch ingress-filtering=no interface=ether2
add bridge=Bridge-Switch ingress-filtering=no interface=ether3
add bridge=Bridge-Switch ingress-filtering=no interface=ether4
/ip neighbor discovery-settings
set discover-interface-list=none
/interface list member
add interface=ether7 list=WanAll
add interface=ether6 list=WanAll
/ip address
add address=10.0.1.254/24 interface=VLAN10 network=10.0.1.0
add address=10.0.2.62/26 interface=VLAN20 network=10.0.2.0
add address=10.0.3.30/27 interface=VLAN30 network=10.0.3.0
add address=10.0.4.6/29 interface=VLAN40 network=10.0.4.0
add address=10.0.5.62/26 interface=VLAN50 network=10.0.5.0
add address=10.0.6.30/27 interface=VLAN60 network=10.0.6.0
add address=10.3.0.2/24 comment=FAI2 interface=ether7 network=10.3.0.0
add address=10.0.21.62/26 interface=VLAN21 network=10.0.21.0
add address=10.2.0.14/28 interface=VLAN22 network=10.2.0.0
add address=192.168.1.253/24 comment=FAI1 interface=ether6 network=192.168.1.0
add address=10.0.55.1/24 comment="Passerelle VLAN55" interface=VLAN55 \
    network=10.0.55.0
add address=10.0.52.1/24 comment="Passerelle VLAN52" interface=VLAN52 \
    network=10.0.52.0
/ip dhcp-client
add disabled=yes interface=ether1
/ip dhcp-server network
add address=10.0.1.0/24 dhcp-option=TFTP-Server,Boot-File-Server dns-server=\
    10.0.5.1,10.0.5.1 domain=XXXXXXXXX gateway=10.0.1.254 ntp-server=\
    10.0.5.1
add address=10.0.2.0/26 dns-server=10.0.5.1,10.0.5.1 gateway=10.0.2.62 \
    ntp-server=10.0.5.1
add address=10.0.3.0/26 dns-server=10.0.5.1,1.1.1.1 gateway=10.0.3.30 \
    ntp-server=10.0.5.1
add address=10.0.21.0/26 dns-server=10.0.5.1,1.1.1.1 domain=XXXXXXXX \
    gateway=10.0.21.62 ntp-server=10.0.5.1
/ip dns
set servers=10.0.5.1

Thank a lot for the help and have a nice day ! :D :D
Last edited by Creepounette on Wed Jan 11, 2023 4:45 pm, edited 2 times in total.
 
Creepounette
just joined
Topic Author
Posts: 6
Joined: Mon Nov 28, 2022 11:20 am
Location: Lille, Nord, France

Re: Is my bridge is good configured ?

Mon Jan 09, 2023 10:22 am

I forgot to precise i need to do a trunk between the RouterOS and my switch using port Ether 2!

Who is online

Users browsing this forum: Amazon [Bot], Bing [Bot], Google [Bot], haedertowfeq, NxtGen [Bot] and 29 guests