[arch-general] [arch-dev-public] [signoff] coreutils-8.12-2, initscripts-2011.06.3-1, net-tools-1.60-16, udev-171-2, yp-tools-2.12-2, ypbind-mt-1.33-2, iproute2-2.6.38-3
j.e.vasquez.v at gmail.com
Fri Jun 10 13:13:32 EDT 2011
On Fri, Jun 10, 2011 at 12:52 AM, Joker-jar <joker-jar at yandex.ru> wrote:
> /etc/conf.d/bridges (bridge-utils) still has old rc.conf example:
> # example:
> # in /etc/rc.conf:
> # eth0="eth0 up"
> # eth1="eth1 up"
> # br0="br0 192.168.0.2 netmask 255.255.255.0 up"
> # INTERFACES=(lo eth0 eth1 br0)
> # in /etc/conf.d/bridges
> # bridge_br0="eth0 eth1"
> # BRIDGE_INTERFACES=(br0)
> In addition bridged interfaces doesn't work with new rc.conf syntax (unknown
> interface br0). How to set up?
The dchp still works with net-tools installed:
However using netcfg it can be accomplish, it has examples:
I have two profiles, one for dhcp (work) and one for static (home):
% cat /etc/network.d/wired-dhcp
DESCRIPTION='A basic dhcp ethernet connection using iproute'
% cat /etc/network.d/wired-static
DESCRIPTION='A basic static ethernet connection using iproute'
DNS=('184.108.40.206' '220.127.116.11' '192.168.1.1')
So I use net-profiles daemon instead of network one, :-)
Notice for some reason dhcpd is not a good option for bridging under
netcfg, since somehow the dhcp client keeps alive after netcfg -a, so
I preferred using dhclient, which works well...
So perhaps you might consider using netcfg for bridging, :-)
More information about the arch-general