Setup guide
2. Configure the bridge interface
3. Enable the bridge interface
4. Assign an IP address to the bridge interface, if needed
Note that there should be no IP addresses on the bridged interfaces. Moreover, IP address on the
bridge interface itself is not required for the bridging to work.
When configuring the bridge settings, each protocol that should be forwarded should be added to
the forward-protocols list. The other protocol includes all protocols not listed before (as VLAN).
[admin@Wandy] interface bridge> add forward-protocols=ip,arp,other
[admin@Wandy] interface bridge> print
Flags: X - disabled, R - running
0 X name="bridge1" mtu=1500 arp=enabled mac-address=00:00:00:00:00:00
forward-protocols=ip,arp,other stp=no priority=32768 ageing-time=5m
forward-delay=15s garbage-collection-interval=4s hello-time=2s
max-message-age=20s
[admin@Wandy] interface bridge>
The priority argument is used by the Spanning Tree Protocol to determine, which port remains
enabled if two ports form a loop.
Next, each interface that should be included in the bridging port table:
[admin@Wandy] interface bridge> port
[admin@Wandy] interface bridge port> print
# INTERFACE BRIDGE PRIORITY PATH-COST
0 ether1 none 128 10
1 ether2 none 128 10
2 prism1 none 128 10
[admin@Wandy] interface bridge port> set 0,1 bridge=bridge1
[admin@Wandy] interface bridge port> print
# INTERFACE BRIDGE PRIORITY PATH-COST
0 ether1 bridge1 128 10
1 ether2 bridge1 128 10
2 prism1 none 128 10
[admin@Wandy] interface bridge port>
After setting some interfaces for bridging, the bridge interface should be enabled in order to start
using it:
[admin@Wandy] interface bridge> print
Flags: X - disabled, R - running
0 X name="bridge1" mtu=1500 arp=enabled mac-address=00:0B:6B:31:01:6A
forward-protocols=ip,arp,other stp=no priority=32768 ageing-time=5m
forward-delay=15s garbage-collection-interval=4s hello-time=2s
max-message-age=20s
[admin@Wandy] interface bridge> enable 0
[admin@Wandy] interface bridge> print
Flags: X - disabled, R - running
0 R name="bridge1" mtu=1500 arp=enabled mac-address=00:0B:6B:31:01:6A
forward-protocols=ip,arp,other stp=no priority=32768 ageing-time=5m
forward-delay=15s garbage-collection-interval=4s hello-time=2s
max-message-age=20s
[admin@Wandy] interface bridge>
If you want to access the router through unnumbered bridged interfaces, it is required to add an IP
address to the bridge interface:
[admin@Wandy] ip address> add address=192.168.0.254/24 interface=bridge1
[admin@Wandy] ip address> add address=10.1.1.12/24 interface=prism1
[admin@Wandy] ip address> print
Flags: X - disabled, I - invalid, D - dynamic
# ADDRESS NETWORK BROADCAST INTERFACE
0 192.168.0.254/24 192.168.0.0 192.168.0.255 bridge1
1 10.1.1.12/24 10.1.1.0 10.1.1.255 prism1
[admin@Wandy] ip address>
Note! Assigning an IP address to bridged interfaces ether1 or ether2 has no sense, because the