Monday, March 12, 2012

rhel6 makes me bang my head on my cubicle wall sometimes

rhel6 is pesky in that if the netmask isn't standard, it'll make one up for you anyway and really mess up routes. come on redhat, learn something from debian already.

let's fix that:
/etc/sysconfig/network-scripts/route-ethX
default via dotted.router.ip dev ethX
at the end of:
/etc/sysconfig/network-scripts/ifcfg-ethX
ifconfig ethX netmask 255.255.252.0

No comments: