LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-10-2006, 06:12 PM   #1
360andy
LQ Newbie
 
Registered: Nov 2006
Posts: 4

Rep: Reputation: 0
cannot access outside ip addresses


I have a new install of TRIXBOX which is an installation of CentOS Linux 4.4. We are a mixed shop of both windows and Linux. I became aware of the problem while trying to do an automatic upgrade of TRIXBOX and got the message that it could not ping the upgrade site. I tested on other boxes and pinged the site OK. I found out that I could not access any outside IP address. I'm using Webmin, which I manually installed. All applications are working well. I have searched through the forum to find any other similar events. While I found several, there were no solutions. I have looked at /etc/resolv.conf is my Windows DNS server ip address and all other Linux boxes have not problem. It seems to me to be some sort of setting that I am unaware of, which is restricting my ability to access outside IP addresses.

Thanks in advance for any help.

Andy
 
Old 11-10-2006, 06:17 PM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671
Check the output of "/sbin/route" or "netstat -nr" to see if your default gateway is correct and the correct NIC device is used.
 
Old 11-10-2006, 06:56 PM   #3
360andy
LQ Newbie
 
Registered: Nov 2006
Posts: 4

Original Poster
Rep: Reputation: 0
Command history

> netstat -nr
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
10.0.1.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.0.1.1 0.0.0.0 UG 0 0 0 eth0

Here is my netstat -nr results and I don't understand the 169.254.0.0 entry.
 
Old 11-10-2006, 07:01 PM   #4
360andy
LQ Newbie
 
Registered: Nov 2006
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
netstat -nr
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
10.0.1.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.0.1.1 0.0.0.0 UG 0 0 0 eth0
I am trying to make it more readable
 
Old 11-10-2006, 07:20 PM   #5
360andy
LQ Newbie
 
Registered: Nov 2006
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks for all your help. You pointed me in the right direction. It was the net config that did not update the routing table, and after I really looked at it, I could see the problem. I'm not sure how to close this post. Please close it if I am unable. Thanks again
 
Old 11-11-2006, 12:08 AM   #6
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671
FYI. Using [ code ] ... [ /code ] will give you non-proportional spacing and make print outs and code easier to read.
The 169.254 network is one that is automatically assigned if a dhcp server can't be found. That entry shows up on my netstat -nr listing also. However you seem to be missing the local host entry.

Mine looks like:
Code:
netstat -nr
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
192.168.1.0     0.0.0.0         255.255.255.128 U         0 0          0 eth0
169.254.0.0     0.0.0.0         255.255.0.0     U         0 0          0 eth0
127.0.0.0       0.0.0.0         255.0.0.0       U         0 0          0 lo
0.0.0.0         192.168.1.1     0.0.0.0         UG        0 0          0 eth0

Last edited by jschiwal; 11-13-2006 at 10:29 AM.
 
  


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
Restrict access times for specific IP addresses? gjhicks Linux - Networking 11 11-02-2006 10:42 PM
Cannot access external addresses cox96006 Linux - Networking 4 10-12-2006 03:48 PM
Can access network, cannot access external addresses -Olly- Linux - Wireless Networking 2 10-08-2006 06:10 AM
how to access IP addresses when grepping ecampos02 Linux - General 1 11-05-2005 02:39 PM
How do I restrict ssh access to certain ip addresses? 360 Linux - Networking 5 04-05-2002 08:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:52 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration