As I can see there are 2 places where GATEWAY option could be used in CentOS:
What is the right place for default gateway and what the difference?
The current convention is
That's how Red Hat's tools (e.g.
This depends on how many interfaces you may have. Suppose you have two interfaces, eth0 and eth1, on the same subnet... What if I want the default gateway access to flow through eth0? I'd define it in the interface specification rather than the global