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
s...@its.msstate.edu
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Reply via email to