On 05/02/2013 05:13 AM, James Hogarth wrote:
Yeah, I've gone that deep. And a tad deeper. I had almost *everything* working by hand, and went to figure out how to convert it to idomatic CentOS network configuration scripts. And took my network down *three times* because of the script-processing stripping things out.
The files to use for this in RHEL land are rule-ethX similar to how ifcfg-ethX and route-ethX get used ...
Yup. And if you put a line in route-ethN like:
default via 10.0.0.1 dev ethN from 10.0.0.0/24
you're in for a rude shock; running "ip route show" after bringing up ethN will show something like:
default via 10.0.0.1 dev ethN
...having stripped the key "from 10.0.0.0/24" portion. I ran into similar problems with "table SomeTable".