Can't bind IP to my bridge at boot time

Martin Stiemerling Martin.Stiemerling at ccrle.nec.de
Tue Apr 8 00:01:56 PDT 2003


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 at ccrle.nec.de
IPv4: http://www.ccrle.nec.de  IPv6: http://www.ipv6.ccrle.nec.de



More information about the freebsd-net mailing list