Check the IP settings on the machine are correct - ifconfig
Should list eth0 etc with an IP and Gateway, is it possible that when the machine came back up after losing connectivity it didn’t get an IP address correctly or it changed?
Have you tried the obvious, and restarted the machine?
All other computers too use their own static IP, with the gateway IP: 192.168.0.1. No proxy at all. There is a network connection with the gateway (it is pingable).
Other computers too can access the centos server, and transfer the files.
But it cannot still access the internet. Particularly, when I try to send emails using the test server, it fails.
I want to update svn server on this machine. But without internet connection, it is not possible. Is there any special command that I can run to reset the network connection?
Really? When I ran it (few years ago, so maybe things have changed), my SSH got disconnected because the network went down, and because there was no SSH connection anymore the networking command stopped running so the network never came back up.
Somebody had to get to the physical server to restart networking from there.
[root@redhat ~]# /etc/init.d/network restart
Shutting down interface eth1: [ OK ]
Shutting down loopback interface: [ OK ]
Disabling IPv4 packet forwarding: net.ipv4.ip_forward = 0
[ OK ]
Bringing up loopback interface: [ OK ]
Bringing up interface eth1: [ OK ]
[root@redhat ~]#
That was done on the dev machine here at work via ssh.