Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 08 Apr 2003 09:01:48 +0200
From:      Martin Stiemerling <Martin.Stiemerling@ccrle.nec.de>
To:        "D.Pageau" <dpageau@infodev.ca>
Cc:        freebsd-net@freebsd.org
Subject:   Re: Can't bind IP to my bridge at boot time
Message-ID:  <3E9273DC.9040700@ccrle.nec.de>
References:  <3E91DBEC.5080602@infodev.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
As far as I know you can assign only one IP address when you are using 
bridging. This means only one interface is allowed to be configured with 
an IP address.

Martin

D.Pageau wrote:
> If I uncomment #net.link.ether.bridge=1 in sysctl.conf my IP is not bind 
> to rl1 but if I leave it commented and type "sysctl 
> net.link.ether.bridge=1" at command prompt everything work fine.
> 
> Need help!
> 
> Thanks
> 
> $cat /etc/rc.conf
> ...
> ifconfig_rl0="inet 192.168.42.2 netmask 255.255.255.0"
> ifconfig_rl1="inet 216.1.1.2 netmask 255.255.255.240"
> #ifconfig_rl2 Bridge to rl1
> ...
> 
> $cat /etc/sysctl.conf
> net.link.ether.bridge_cfg=rl1,rl2
> net.link.ether.bridge_ipfw=1
> #net.link.ether.bridge=1
> 
> $uname -a
> FreeBSD x.x.x 5.0-RELEASE FreeBSD 5.0-RELEASE #7: Mon Apr  7 13:35:54 
> EDT 2003
> 


-- 
Martin Stiemerling

NEC Europe Ltd. -- Network Laboratories  Stiemerling@ccrle.nec.de
IPv4: http://www.ccrle.nec.de  IPv6: http://www.ipv6.ccrle.nec.de



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E9273DC.9040700>