Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
10-07-2013, 05:00 PM
|
#1
|
Member
Registered: Jun 2008
Location: Evanston, Illinois
Distribution: RHEL 6.4
Posts: 126
Rep:
|
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.
|
|
|
10-07-2013, 05:54 PM
|
#2
|
Senior Member
Registered: Jan 2012
Distribution: Slackware
Posts: 3,348
Rep:
|
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)
|
|
|
10-07-2013, 06:18 PM
|
#3
|
Member
Registered: Jun 2008
Location: Evanston, Illinois
Distribution: RHEL 6.4
Posts: 126
Original Poster
Rep:
|
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
|
|
|
10-07-2013, 07:18 PM
|
#4
|
Senior Member
Registered: Jan 2012
Distribution: Slackware
Posts: 3,348
Rep:
|
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?
|
|
|
10-08-2013, 01:17 PM
|
#5
|
Member
Registered: Jun 2008
Location: Evanston, Illinois
Distribution: RHEL 6.4
Posts: 126
Original Poster
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 08:15 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|