Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Apr 2003 13:16:15 +0300 (EAT)
From:      Noah K Sematimba <ksemat@ksemat.co.ug>
To:        "D.Pageau" <dpageau@infodev.ca>
Cc:        freebsd-isp@freebsd.org
Subject:   Re: Can't bind IP to my bridge at boot time
Message-ID:  <20030409131417.A531@sematin.mtn.co.ug>
In-Reply-To: <3E92D313.5080108@infodev.ca>
References:  <3E92D313.5080108@infodev.ca>

next in thread | previous in thread | raw e-mail | index | archive | help

probably sysctl gets initialised too early pn in the boot process. How
about simply writing a small shell script call it sysctl.sh and it has
this command in it. Put it in /usr/local/etc/rc.d and see if it works.

I do not have 5.0 but I hope what i am saying actually makes sense.

Noah.

On Tue, 8 Apr 2003, D.Pageau wrote:

> This as been post to freebsd-isp without success, I'm sorry for the
> cross post but I need help.
>
> 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
>
> --
> Dominic Pageau
>
> _______________________________________________
> freebsd-isp@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-isp
> To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org"
>
>



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