[CentOS] so many arp caches why?
Steven Tardy
sjt5 at its.msstate.edu
Fri Aug 7 13:40:32 UTC 2009
MontyRee wrote:
> # ifconfig
> eth0 Link encap:Ethernet HWaddr 00:A0:D1:E7:91:CC
> inet addr:192.168.195.36 Bcast:192.168.195.63 Mask:255.255.255.192
> # route -n
> 192.168.195.0 0.0.0.0 255.255.255.192 U 0 0 0 eth0
> 0.0.0.0 192.168.195.36 0.0.0.0 UG 0 0 0 eth0
your default gateway is not set correctly.
the ip address of your nic is set as your default gateway.
the default gateway ip address should be your router/modem/whatever.
your internet access is working because your gateway is smarter than you are.
to the file /etc/sysconfig/network add the line:
GATEWAY=192.168.195.xx
where 192.168.195.xx is the ip address of your gateway. then:
service network restart
--
Steven Tardy
Systems Programmer
Information Technology Infrastructure
Information Technology Services
Mississippi State University
sjt5 at its.msstate.edu
More information about the CentOS
mailing list