You are not logged in.
I was wondering how I can set up a network bridge for my lan and wlan device AND using this bridge as a network profile.
In /etc/conf.d/bridges there are only exampley of setting the bridge up using the /etc/rc.conf. But how to set up bridges using network profiles?
Does anyone have an idea?
Offline
Anyone have an answer on this one? I have the same issue. Can set up bridging from rc.conf alone, but I'm not sure who to configure with profiles.
Offline
good question. i'm also wondering exactly the same
The impossible missions are the only ones which succeed.
Offline
This question was asked back in 2006. It's 2008 and still no answer. Anybody?
br0 is not recognized as a valid device when I use the network profiles. Surely there must to be a way to do this. It would benefit anyone who runs a VM on a laptop.
Perhaps there is an easier or more preferred way of accomplishing this? Any help would be greatly appreciated.
Offline
Have yet to receive a feature request for this.
If you'd like to "document" how you think it could be implemented, or better yet -- grab the netcfg source and give it a go yourself, i'll be happy to merge it.
Would you want a "bridge" type profile that would bridge an array of two other profiles?
James
Offline
i just bought a laptop yesterday and was wondering aout this exact question... So, there are no further development on this?
Offline
Open a feature request on the bug tracker and I'll do it - otherwise I'll probably forget like it seems I have already.
Also... I don't use such a setup yourself, so any suggestions on a good way of doing it are welcome.
Offline
well since i haven't found any kind of configs realted, here are how i did, for now and for what i need, it is working:
profiles:
/etc/network.d/ethernet0_bridge:
CONNECTION="ethernet"
INTERFACE=eth0
IP="static"
IFOPTS="0.0.0.0 promisc"
/etc/network.d/ethernet1_bridge:
CONNECTION="ethernet"
INTERFACE=eth1
IP="static"
IFOPTS="0.0.0.0"
/etc/network.d/bridge0:
CONNECTION="ethernet"
PRE_UP="brctl addbr br0 && brctl addif br0 eth0 && brctl addif br0 eth1"
INTERFACE=br0
IP=dhcp
DHCP_TIMEOUT=30
/etc/rc.conf:
NETWORKS=(ethernet0_bridge ethernet1_bridge bridge0)
DAEMONS=(... net-profiles ...)
my setup is something like:
[WAN]--[router]--[eth0]--[Desktop]--[eth1]--[new shiny laptop]
seems to work, hope helps someone
Last edited by Diaz (2008-08-10 17:41:11)
Offline