running RedHat Enterprise Linux 4.
here's my /etc/sysconfig/network-scripts/ifcfg-eth0
Code:
DEVICE=eth0
BOOTPROTO=none
HWADDR=00:1f:c6:ca:a3:ef
IPADDR=10.16.10.96
NETMASK=255.255.255.0
ONBOOT=yes
GATEWAY=10.16.10.254
TYPE=Ethernet
USERCTL=yes
IPV6INIT=no
PEERDNS=yes
IPADDR=10.16.10.96
my routing table
Code:
[root@cvs_server ~]# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.16.10.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
0.0.0.0 10.16.10.254 0.0.0.0 UG 0 0 0 eth0
my etc/hosts
Code:
[root@cvs_server ~]# more /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost localhost
10.16.10.96 cvs_server
i made sure that iptables are off too.
when i start the network connection i can see from the log that there were no errors during the startup but i cannot access the other machines on the local network nor does this machine accept incoming connections too because it cannot be seen from all the other machines. the weirdest thing is that sometimes if i restart the machine IT WORKS( sometimes after a couple of restarts ) !!! i haven't been able to find out why, i didn't change anything in the configuration nothing at all.