On 6/9/19 10:43 PM, Bruce Dubbs wrote:
On 6/9/19 8:57 PM, Jean-Marc Pigeon via lfs-dev wrote:
Hello,

lfs-bootscripts-20190524
/sbin/ifup, fail to properly add bridge.

ifconfig.bro is the bridge definition
# cat /etc/sysconfig/ifconfig.br0

;-------------------------
IFACE=br0
ONBOOT=yes
SERVICE="bridge ip-static"
IP=192.0.2.1
PREFIX=24
;-------------------------

Let me add that my configureation file is more detailed than yours:


ONBOOT=yes
IFACE=br0
SERVICE="bridge ipv4-static"  # Space separated
IP=192.168.0.184
GATEWAY=192.168.0.1
PREFIX=24
BROADCAST=192.168.0.255
CHECK_LINK=no                 # Don't check before bridge is created
STP=no                        # Spanning tree protocol, default no
INTERFACE_COMPONENTS="eth0"   # Add to IFACE, space separated devices
IP_FORWARD=true

You may need the CHECK_LINK line.

  -- Bruce
--
http://lists.linuxfromscratch.org/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to