Community discussions

MikroTik App
 
zorrua
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 53
Joined: Sun Sep 17, 2017 4:32 pm

IP address in bridge or etherX

Thu Dec 28, 2017 10:35 pm

Hello,

I have a RB3011 router with last version: 6.41

I have configured the bridge this way:
/interface bridge port
add bridge=bridge interface=ether2
add bridge=bridge interface=ether6
add bridge=bridge interface=ether3
add bridge=bridge interface=ether4
add bridge=bridge interface=ether5
add bridge=bridge interface=ether7
add bridge=bridge interface=ether8
add bridge=bridge interface=ether9
I had assigned the LAN IP addres in the ether2 interface:
/ip address add address=192.168.2.1/24 interface=ether2 network=192.168.2.0
Now I change to bridge:
/ip address add address=192.168.2.1/24 interface=bridge network=192.168.2.0
Which is the difference? Which one is the recommended?

Both works well for me. I will really appreciate your help.

Kind regards.
 
User avatar
BartoszP
Forum Guru
Forum Guru
Posts: 2880
Joined: Mon Jun 16, 2014 1:13 pm
Location: Poland

Re: IP address in bridge or etherX

Fri Dec 29, 2017 6:26 am

Both works but it shouldn't and the proper way is to assign IP to the bridge.
The bridge is the interface which could have real ports attached to it but it is not neccessary.
If you assign any existing real interface to the bridge this interface should be treated since then only as an dumb electrical/wireless socket.
The bridge receives automatically the lowest MAC address from all interfaces assigned to it unless you specify it manually.
 
zorrua
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 53
Joined: Sun Sep 17, 2017 4:32 pm

Re: IP address in bridge or etherX

Fri Dec 29, 2017 6:04 pm

Both works but it shouldn't and the proper way is to assign IP to the bridge.
The bridge is the interface which could have real ports attached to it but it is not neccessary.
If you assign any existing real interface to the bridge this interface should be treated since then only as an dumb electrical/wireless socket.
The bridge receives automatically the lowest MAC address from all interfaces assigned to it unless you specify it manually.
Thanks!

I change to the bridge and it works great.

Kind regards.

Who is online

Users browsing this forum: Bing [Bot], jaclaz, lurker888 and 110 guests