ann kok wrote:
Hi
How can I clear the arp cache?
I don't see a way to clear it but you can delete the entries with arp -d
and
ls it possible to setup 2 gateways in centos
2 gateways or 2 default gateways? If you need more than one default gateway you likely will need to use iproute2 to set that up.
If you have 1 default gateway and want to have another route(s) pointing to another gateway add them to /etc/sysconfig/static-routes
e.g.
any net 192.168.0.0 netmask 255.255.0.0 gw 10.254.113.1
not sure why the syntax is not the same as the route command, it's similar but not exactly the same.
nate