Re: FB9-stable: bridge0 doesn't come up via rc

看板FB_stable作者時間14年前 (2012/01/17 21:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/4 (看更多)
Denny Schierz wrote: > hi, > > I have problems starting the bridge via rc.d: > > rc.conf: > > cloned_interfaces="bridge0" > ifconfig_bge0="up" > ifconfig_bridge0="addm bge0 up" > ifconfig_bridge0="inet 192.168.1.0 netmask 255.255.255.0 up" Remember that rc.conf is a pure shell script. The line above overwrites one with "addm bge0 up". > defaultrouter="192.168.1.254" > gateway_enable="YES" > > It doesn't work. After reboot I have to set up: > > ifconfig bridge0 addm bge0 > > then it works. Use igconfig_bridge0_alias0. > Also a problem: "/etc/rc.d/netif stop" doesn't destroy bridge0 and "/etc/rc.d/netif start" gives errors, because bridge exists already. > > any suggestions? -- Sphinx of black quartz judge my vow. _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
文章代碼(AID): #1F5N4FoN (FB_stable)
文章代碼(AID): #1F5N4FoN (FB_stable)