Creating a bridge

Static IP address

  • Create a BRIDGE_LAN bridge containing the in and dmz1 interfaces, and configured with the static IP address 192.168.5.254/24.

 

CONFIG NETWORK INTERFACE CREATE mtu=1500 name=BRIGE_LAN interfaces=ethernet2,ethernet1 ifname=bridge1 address=192.168.5.254 mask=255.255.255.0 addressComment=
CONFIG NETWORK INTERFACE ACTIVATE

Dynamic IP address

  • Create a BRIDGE_LAN bridge containing the in and dmz1 interfaces, and configured via DHCP.

 

CONFIG NETWORK INTERFACE CREATE mtu=1500 name=BRIDGE_LAN interfaces=ethernet1,ethernet2 ifname=bridge1 address=DHCP dhcpLeaseTime=3600 dhcpHostname=
CONFIG NETWORK INTERFACE ACTIVATE