[CentOS] Configuring source-specific routing

Thu May 2 13:25:38 UTC 2013
Michael Mol <mikemol at gmail.com>

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 dev ethN from

you're in for a rude shock; running "ip route show" after bringing up
ethN will show something like:

default via dev ethN

...having stripped the key "from" portion. I ran into
similar problems with "table SomeTable".

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 555 bytes
Desc: OpenPGP digital signature
URL: <http://lists.centos.org/pipermail/centos/attachments/20130502/86185f22/attachment-0005.sig>