public inbox for gentoo-hardened@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-hardened] openrc-0.9.8.2 screwed up bonding config
@ 2012-01-26  1:15 "Tóth Attila"
  2012-01-26 12:29 ` "Tóth Attila"
  0 siblings, 1 reply; 2+ messages in thread
From: "Tóth Attila" @ 2012-01-26  1:15 UTC (permalink / raw
  To: gentoo-hardened

I'm sorry for being offtopic, but this is the list I can rely on.
I've just upgraded openrc from 0.9.4 to 0.9.8.2 and my server went offline.
After struggling with the remote console, it turned out, that the new
openrc system incorrectly builds up my bonding config. It assigns the IP
address to the eth1 interface and bonding stands there without an IP. In
addition it also fails to define routes properly.

WHAT? I don't know how many of us will spend significant amount of time
with it, but that's too much for me.

I see, that conf.d/network took over conf.d/net. My bonding config is
simple as my finger.

Here is my regular net syntax:
config_eth0=( "null" )
config_eth1=( "null" )
RC_NEED_eth0="net.bond0"
config_bond0="<myip> netmask 255.255.255.192 brd <mybroadcast>"
routes_bond0="default gw <mygateway>"
dns_domain="mydomain"

It works fine, it prevents eth interfaces getting IP and sets bond0 and
route perfectly.

That would be the network syntax:
defaultroute="gw <mygateway>"
ip_bond0="<myiip>/26"
defaultiproute="via <mygateway>"
ifup_bond0="ifenslave bond0 eth0 eth1"

It sucks.
Is there a working simple bonding example?

Please let me know where I can ask for proper help. Gentoo install still
talks about net. Is there a document on how to set up bonding with the new
network config syntax?

Ridiculous:
Dwokfur
-- 
dr Tóth Attila, Radiológus, 06-20-825-8057
Attila Toth MD, Radiologist, +36-20-825-8057




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-01-26 12:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-26  1:15 [gentoo-hardened] openrc-0.9.8.2 screwed up bonding config "Tóth Attila"
2012-01-26 12:29 ` "Tóth Attila"

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox