[Webinar] Streamline your web hosting managementRegister Today

x
?
Solved

Basic Linux Network Setup Issue

Posted on 2008-06-11
3
Medium Priority
?
299 Views
Last Modified: 2010-05-18
From the server, I can ping the public static IP and the gateway but cannot ping anything outside the subnet.

I have the following settings:
IP: 208.57.140.153
Gateway: 208.57.140.1
Subnet: 255.255.255.0
DNS1: 208.57.0.11
DNS2: 208.57.0.10
Hostname: pebblebeach
DNS Search Path: <empty>

I've checked and rechecked everything, restarted network, "service network restart" and still nothing.  I haven't looked in /etc/networks or hosts.conf yet becuase i think the CentOS Network GUI thing sets all thoose.
0
Comment
Question by:Geoff Millikan
3 Comments
 
LVL 16

Accepted Solution

by:
Blaz earned 1600 total points
ID: 21766526
Given the troubles - pinging the subnet and not beyond - I would say a routing problem, so please verify your routing table.

The only other reason that I could think of is packet filtering - either on your machine or on the gateway.

On the other hand - if the IPs you posted are correct - I can ping your gateway as well as your server from the outside. Not only that I can also establish a slogin session to your server (which I would advise you to block on your firewall)!

So - what problems do you say you have? ;-)
0
 
LVL 26

Assisted Solution

by:jar3817
jar3817 earned 400 total points
ID: 21768305
Are you trying to ping by dns name or by ip? If by name, try IP instead as it could be a dns issue.
0
 

Author Comment

by:Geoff Millikan
ID: 21771054
LOL, I'm so sorry guys.  My bad.  After working an hour on it, I had someone look over my shoulder, "Did you know your gateway IP is outside your subnet?" I had typed '205.57.140.1' instead of '208.57.140.1.'

What a n00b.
0

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Often times it's very very easy to extend a volume on a Linux instance in AWS, but impossible to shrink it. I wanted to contribute to the experts-exchange community a way of providing a procedure that works on an AWS instance. It can also be used on…
Welcome back to our beginners guide of the popular Unix tool, cron. If you missed part one where we introduced this tool, the link is below. We left off learning how to build a simple script to schedule automatic back ups. Now, we’ll learn how to se…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses
Course of the Month9 days, 15 hours left to enroll

591 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question