Re: Configuring source-specific routing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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".


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux