On Wed, April 3, 2013 10:04, ÐлекÑÐ°Ð½Ð´Ñ Ð¢ÑмаÑов wrote: > Some time ago I upgraded openrc and dhcpcd, after this upgrade I face next > problem: > > /etc/conf.d/net has next content > config_bond0="dhcp" > config_eth0="null" > slaves_eth0="eth0"
this should be: slaves_bond0="eth0" and you also might want to add: rc_net_bond0_need="net.eth0" > For some reason dhcpcd runs on both bond0 and eth0 assigning the same > address > to both and of course I have double entries in routing table leading to > unusable network. > The only way to keep dhcpcd running on eth0 is to add denyinterfaces=eth* > to > /etc/dhcpcd config. > > dhcpcd does ethernet interfaces discovery and automatically run for any > one of > them that has carrier. Should config_eth0="null" preventdhcpcd from > dealing > with eth0? > Also additional observation: dhcpcd does not create > /var/run/dhcpcd-bond0.pid. > The only thing that is created is /var/run/dhcpcd.pid (without iface > name). > I do not know if this is important or not > Versions: > openrc is 0.11.8 > dhcpcd is 5.6.4 > > So the question Is if this is expectable behaviour or is this a bug in > initialization system? I don't myself use DHCP on a bonded interface, but I do use a bonded interface for 4 NICs. -- Joost