LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-07-2013, 05:00 PM   #1
Sanford Stein
Member
 
Registered: Jun 2008
Location: Evanston, Illinois
Distribution: RHEL 6.4
Posts: 126

Rep: Reputation: 17
Lost communication with Internet from eth0


We are experimenting with a RHEL 5 server, moving it back and forth between our DMZ and the Internet. The first time we moved it to the Internet and then back everything was fine. The second time we moved it back to the DMZ we are no longer able to communicate with anything outside of the DMZ (cannot ping, cannot ssh). We have completely shut off the firewall so that is not the issue. Here is our ifcfg-eth0 file:

DEVICE=eth0
BOOTPROTO=none
BROADCAST=10.10.10.255
HWADDR=00:06:5B:F3:ED:9E
IPADDR=10.10.10.251
NETMASK=255.255.255.0
NETWORK=10.10.10.0
GATEWAY=10.10.10.1
ONBOOT=yes
TYPE=Ethernet
USERCTL=no
IPV6INIT=no
PEERDNS=yes

This configuration worked fine until this morning. Does anybody have any idea what might be wrong?

Thanks,
Sanford Stein
CyberTools Inc.
 
Old 10-07-2013, 05:54 PM   #2
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,348

Rep: Reputation: Disabled
There's nothing obviously wrong with the configuration. Does the output from ifconfig eth0 match the parameters from the configuration file? Does the gateway appear in the routing tables as shown by route -n?

If so, have you tried the usual troubleshooting tools? (ethtool eth0 or mii-tool eth0 to show the status of the network link, ping 10.10.10.1 followed by arp -n to verify layer 2 connectivity)
 
Old 10-07-2013, 06:18 PM   #3
Sanford Stein
Member
 
Registered: Jun 2008
Location: Evanston, Illinois
Distribution: RHEL 6.4
Posts: 126

Original Poster
Rep: Reputation: 17
Ser,

Thanks for your quick response and for all the suggestions.

ifconfig-eth0 does show the proper parameters.

route -n does show gateway 10.10.10.1:

10.10.10.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
0.0.0.0 10.10.10.1 0.0.0.0 UG 0 0 0 eth0

Both ethtool and mii report the link as OK.

[root@olive ~]# ethtool eth0
Settings for eth0:
...
Link detected: yes
[root@olive ~]# mii-tool eth0
eth0: negotiated 100baseTx-FD flow-control, link ok

ping 10.10.10.1 works and arp -n shows the following:

10.10.10.1 ether 00:09:0F:11:49:49 C eth0

So, still looking...

Thanks,
SS
 
Old 10-07-2013, 07:18 PM   #4
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,348

Rep: Reputation: Disabled
That rules out basic network settings and routing. How far does traceroute -n 8.8.8.8 get?

Your DmZ is using private IP addresses, so obviously there has to be a router/gateway/firewall doing NAT and port forwarding if this server is to be reachable from the outside. Have you checked those settings as well?
 
Old 10-08-2013, 01:17 PM   #5
Sanford Stein
Member
 
Registered: Jun 2008
Location: Evanston, Illinois
Distribution: RHEL 6.4
Posts: 126

Original Poster
Rep: Reputation: 17
Ser,

traceroute -n 8.8.8.8 only gets to 10.10.10.1


Here are the settings on our router:
The WAN is
GATEWAY 75.150.108.254
range 75.150.108.249.253
NETMASK 255.255.255.248
BROADCAST 75.150.108.255
DNS 75.75.75.75 & 75.75.76.76

The IP on the DMZ is 10.10.10.251 and maps to 75.150.108.251

I know that all evidence point to a router issue, but we have checked these settings and believe them to be correct, and they were working prior to yesterday.

Thanks again,
Sanford Stein
CyberTools Inc.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Centos 6.3 on Hyper-V - Installed LIS 3.4 and lost NIC Communication gcaudle Linux - Virtualization and Cloud 1 11-30-2012 03:54 PM
cluster (corosync, pacemaker, drbd, mysql) lost communication between nodes arrals.vl Linux - Server 2 05-10-2012 11:09 AM
[SOLVED] OEL5.4 OS, eth0 has private IP, eth0:0 has routable IP, internet access don't work Hiroshi Linux - Networking 7 06-02-2010 01:49 PM
Lost connection to MySQL server at 'reading initial communication packet', system err manishsingh4k Linux - Server 8 07-20-2009 08:31 AM
eth0 got lost again! Stingreen Linux - General 6 12-09-2001 11:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration