No Internet Connectivity on CentOS 4.4 Final
I'm Running CentOS release 4.4 (Final) on an HP DL360 Server with two NIC cards. I currently cannot communicate with anything outside the local network. I can ping and connect to all devices on the internal network including other devices on other internal networks. This means the router is routing traffic for this host. All other hosts on the network can communicate with the internet. This box and all others on the network are configured to use a local DNS server. This box is resolving domain names to IP address. I can ping the router and the firewall connected to the internet and vice versa, therefore all local communication is good. I found this thread http://www.linuxquestions.org/questi...ss#post2550959 where someone was running into the same problem on this release. Their solution was a reinstall, which is not an option for me. Therefore I’m starting a new thread in hopes of some help finding a solution to this problem. The system has two NICs. eth0 is being used and eth1 is disabled and not used.
This is the topology of how this box is connected to the network/internet. ------------------------------------------------------------------------------------------------------------- centosbox -> 2950switch -> 4000router -> PIXfirewall -> Internet ------------------------------------------------------------------------------------------------------------- Output from some config files as well as commands. Code:
cat /etc/sysconfig/network HOSTNAME=centosbox.localhost GATEWAY=192.168.20.252 ------------------------------------------------------------------------------------------------------------- Code:
cat /etc/sysconfig/network-scripts/ifcfg-eth0 ONBOOT=yes BOOTPROTO=static IPADDR=192.168.20.218 NETMASK=255.255.255.0 ------------------------------------------------------------------------------------------------------------- Code:
cat /etc/resolv.conf ------------------------------------------------------------------------------------------------------------- Code:
ifconfig eth0 inet addr:192.168.20.218 Bcast:192.168.20.255 Mask:255.255.255.0 inet6 addr: fe80::219:bbff:fe38:f0ba/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:984537 errors:0 dropped:0 overruns:0 frame:0 TX packets:203954 errors:365 dropped:0 overruns:0 carrier:365 collisions:422 txqueuelen:1000 RX bytes:114990204 (109.6 MiB) TX bytes:65373057 (62.3 MiB) Interrupt:10 Memory:f8000000-f8011100 ------------------------------------------------------------------------------------------------------------- Code:
route 192.168.20.0 * 255.255.255.0 U 0 0 0 eth0 169.254.0.0 * 255.255.0.0 U 0 0 0 eth0 default 192.168.20.252 0.0.0.0 UG 0 0 0 eth0 ------------------------------------------------------------------------------------------------------------- Any help would be appreciated, thanks. |
My setup is to place the Gateway line in the ifcfg-eth0 file. The other two lines left look fine there. Also I use the line bootproto=none. You also say eth1 is down. I would make sure to have onboot=no in the ifcfg-eth1 file. Only other thought is if not using IPv6 is to make sure it is disabled. This can be done by adding this line to /etc/modprobe.conf.
alias ipv6 off Last thought is if using a web browser to look at internet site use The IP instead of the domain name of the web site to see if that works. Brian |
Quote:
|
Fixed
Thanks to all who tried to help. Turns out when I had a Cisco tech config a limited VPN connection to that host he put a static route that looped all outbound (internet) traffic from that host back to itself? Must have thought I didn't want that host getting to the internet. He did a good job of that I just wasn't what I wanted :). Thanks again for the input. Problem is now fixed, and wasn't the OS's fault ;).
|
All times are GMT -5. The time now is 04:45 AM. |