I have a machine that I want to force all traffic to go through the default gateway.
Even traffic on the local network.

I have made it to work by removing the auto generated route for this interface, but is it a way to do it permanently in RHEL/Centos by the network scripts?

Default routing table used to look like this:

```
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         192.168.1.1     0.0.0.0         UG    0      0        0 eth0
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0

```

But I want it to be after a network restart:

```
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         192.168.1.1     0.0.0.0         UG    0      0        0 eth0

```