Advertisement

02.06.2008 at 10:16AM PST, ID: 23142117
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

No network connectivity with RHEL 5 Server

Tags: RedHat, Linux Server, RHEL 5
I am asking this question again since I never got any solution. Additionally, I have more relevant information to this problem. I've a RHEL5 on a SunFire Server connecting through a LinkSys SRW2024 (24-port) switch. The switch is brand-new out of the box so it's settings should be set to default, unless a gremlin got in there at the factory while it was being shrink-wrapped in plastic. I am using the same subnet for the server as the switch. All the link lights are on and a double-checked by issuing the "ethtool eth0" command, says that the link was detected. I am not running DNS, DHCP, or anything else on this Linux server; I am entering in static IPs for the time being. I used 192.168.1.1 as the static IP address with a netmask of 255.255.255.0 and the gateway address left blank. I use either the GUI-driven network manager to enable the NIC card, or an eth0 up and an eth0 down. I am able to ping the localhost (127.0.0.1) as well as 192.168.1.1. However, I  am unable to ping the switch, or any of the network client workstation. I get the classic "destination host unreachable" error.  Someone suggested I try a crossover cable even though most of these switches have auto-uplink built in.  The crossover cable didn't make a difference.  I also confirmed that auto-link is running and that  I could simply use a patch cable. I tried connecting workstation clients directly to the server, (using 192.168.1.2 as the client address) instead of through the switch. The server nor the workstation could see one another.  I've tried setting a default gateway and that doesn't make a difference. I have also disabled SE Linux and the firewall. So iptables and filtering should not be an issue. I've tried telnetting (also manually specifying port 25) and I get:

"telnet: connect to address <address>: No route to host
telnet: Unable to connect to remote host: No route to host"

Upon seeing this, I figured "Maybe the switch is screwed up" even though it is brand new out of the box. I was able to see both client workstations THROUGH the switch. Not only that, I was able to use the LinkSys configuration webview from either client. So the only machine that cannot see anything else is the server. I checked the routing tables via netstat and route and I get the following (abridged output):

"192.168.1.0   *   255.255.255.0
 169.254.0.0   *   255.255.0.0"

I again checked eth0 and the loopback device with "ifconfig eth0" and "ifconfig lo". It shows things as I would expect. I decided to try traceroute. Traceroute can't see a thing from the server. It can't get to the switch or to the client whether I have the client plugged in directly or not. Next, I decided to try nmap from both the clients AND the server. If I issue "nmap 192.168.1.0/24" from the client, it sees everything on the network. However, it says that all 1680 ports on the server (192.168.1.1) are being filtered. If I issue that same command from the server, it says that is is filtering only 1671 ports, with 9 open ports running. What the heck?! I have the firewall and iptables turned off. I don't understand. I've restarted xinetd with no change in behavior. I must admit that I am not a network expert but I have played around enough with a typical Linux workstation/server to administer some of the basics. Have I configured something wrong?  What am I missing? Please help ASAP! I'm pulling my hair out!
Start your free trial to view this solution
Question Stats
Zone: Networking
Question Asked By: jazzki
Solution Provided By: ravenpl
Participating Experts: 3
Solution Grade: B
Views: 138
Translate:
Loading Advertisement...
02.06.2008 at 11:44AM PST, ID: 20835031

Rank: Wizard

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
02.06.2008 at 11:47AM PST, ID: 20835052

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
02.06.2008 at 01:13PM PST, ID: 20835802

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
02.06.2008 at 01:43PM PST, ID: 20836045

Rank: Wizard

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
02.06.2008 at 01:46PM PST, ID: 20836075

Rank: Wizard

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
02.07.2008 at 05:04AM PST, ID: 20840333

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
02.07.2008 at 06:27AM PST, ID: 20840935

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
02.07.2008 at 06:49AM PST, ID: 20841126

Rank: Wizard

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
02.07.2008 at 08:02AM PST, ID: 20841891

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
02.20.2008 at 02:45AM PST, ID: 20936487

Rank: Master

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
Loading Advertisement...
Microsoft
  • Internet Protocols
  • Applications
  • Development
  • OS
  • Hardware
  • Windows Security
Apple
  • Operating Systems
  • Hardware
  • Programming
  • Networking
  • Software
Internet
  • Search Engines
  • File Sharing
  • WebTrends / Stats
  • Spy / Ad Blockers
  • Web Browsers
  • New Net Users
  • Web Development
  • Chat / IM
  • Anti Spam
  • Web Servers
  • Anti-Virus
  • Email Clients
Gamers
  • Tips
  • Online / MMORPG
  • Puzzle
  • Emulators
  • Action / Adventure
  • Role Playing
  • Consoles
  • Game Programming
  • Strategy
  • Sports
  • Misc
  • Computer Games
Digital Living
  • Hardware
  • New Net Users
  • New Users
  • Software
  • Digital Music
  • Gaming World
  • Home Security
  • Apple
  • Networking Hardware
Virus & Spyware
  • Vulnerabilities
  • IDS
  • Encryption
  • Anti-Virus
  • Operating Systems Security
  • Software Firewalls
  • WebApplications
  • Cell Phones
  • Operating Systems
  • Internet
  • Hardware Firewalls
Hardware
  • Handhelds / PDAs
  • Displays / Monitors
  • Components
  • Networking Hardware
  • Peripherals
  • Laptops/Notebooks
  • Storage
  • Servers
  • Desktops
  • New Users
  • Misc
  • Apple
Software
  • System Utilities
  • Industry Specific
  • Network Management
  • Photos / Graphics
  • Page Layout
  • VMWare
  • Misc
  • Web Development
  • OS
  • CYGWIN
  • Voice Recognition
  • Message Queue
  • Quality Assurance
  • Security
  • Firewalls
  • MultiMedia Applications
  • Development
  • Database
  • Office / Productivity
  • Business Management
  • OS/2 Apps
  • Server Software
  • Internet / Email
ITPro
  • OS
  • Storage
  • Encryption
  • Operating Systems Security
  • Apple Hardware
  • Laptops & Notebooks
  • Servers
  • Networking Hardware
  • Peripherals
  • Devices
  • Displays / Monitors
  • WebTrends / Stats
  • Search Engines
  • Firewalls
  • WebApplications
  • IDS
  • Vulnerabilities
  • Email Clients
  • File Sharing
  • Spy / Ad Blockers
  • Web Browsers
  • Web Servers
  • Networking
  • Anti-Virus
  • Chat / IM
  • Anti Spam
Developer
  • Web Servers
  • Web Browsers
  • Game Programming
  • Dev Tools
  • Industry Specific
  • Office / Productivity
  • Database
  • CYGWIN
  • Web Development
  • Search Engines
  • File Sharing
  • WebTrends / Stats
  • Programming
  • Content Management
  • Application Servers
  • Protocols
Storage
  • Removable Backup Media
  • Storage Technology
  • Servers
  • Grid
  • Remote Access
  • Backup / Restore
  • Misc
  • Hard Drives
OS
  • Miscellaneous
  • Security
  • Development
  • Linux
  • VMWare
  • MainFrame OS
  • Unix
  • Apple
  • OS / 2
  • AS / 400
  • BeOS
  • Microsoft
  • VMS / OpenVMS
Database
  • Oracle
  • Miscellaneous
  • MySQL
  • Software
  • Sybase
  • Contact Management
  • PostgreSQL
  • Data Manipulation
  • Clarion
  • InterSystems Cache
  • Siebel
  • MUMPS
  • OLAP
  • SQLBase
  • SAS
  • GIS & GPS
  • 4GL
  • Berkeley DB
  • DB2
  • Informix
  • Interbase / Firebird
  • FoxPro
  • Reporting
  • LDAP
  • Filemaker Pro
  • MS SQL Server
  • dBase
  • MS Access
Security
  • Misc
  • Web Browsers
  • Software Firewalls
  • Operating Systems Security
  • File Sharing
  • Spy / Ad Blockers
  • Vulnerabilities
  • WebApplications
  • IDS
  • Anti-Virus
  • Encryption
  • Anti Spam
  • Email Clients
  • VPN
  • Chat / IM
Programming
  • Editors IDEs
  • Installation
  • Handhelds / PDAs
  • Multimedia Programming
  • System / Kernel
  • Algorithms
  • Game
  • Signal Processing
  • Project Management
  • Open Source
  • Database
  • Misc
  • Languages
  • Processor Platforms
  • Theory
Web Development
  • Scripting
  • Blogs
  • Web Servers
  • Software
  • Search Engines
  • Web Graphics
  • Images
  • Internet Marketing
  • Images and Photos
  • Components
  • Document Imaging
  • Web Languages/Standards
  • Illustration
  • WebApplications
  • Fonts
  • WebTrends / Stats
  • Authoring
  • Digital Camera Software
  • Miscellaneous
Networking
  • Protocols
  • Apple Networking
  • Network Management
  • Message Queue
  • Application Servers
  • Content Management
  • File Servers
  • Email Servers
  • Misc
  • Java Editors & IDEs
  • Wireless
  • Networking Hardware
  • Backup / Restore
  • System Utilities
  • ISPs & Hosting
  • Web Servers
  • Storage Technology
  • Removable Backup Media
  • Servers
  • Broadband
  • Grid
  • OS / 2
  • Novell Netware
  • Unix Networking
  • Windows Networking
  • Security
  • Telecommunications
  • Operating Systems
  • Linux Networking
Other
  • Community Advisor
  • Lounge
  • Community Support
  • New Net Users
  • Philosophy / Religion
  • Math / Science
  • Miscellaneous
  • URLs
  • Expert Lounge
  • Politics
  • Puzzles / Riddles
Community Support
  • Suggestions
  • New to EE
  • New Topics
  • Community Advisor
  • CleanUp
  • Announcements
  • General
  • Feedback
  • Input
  • EE Bugs
 
02.06.2008 at 11:44AM PST, ID: 20835031

Rank: Wizard

Please provide output from following commands

ip link
ip addr
ip route
iptables -L INPUT -nx
iptables -L OUTPUT -nx

consult /proc/net/dev, and confirm there are no errors on the link reported by kernel.
Accepted Solution
 
02.06.2008 at 11:47AM PST, ID: 20835052
>If I issue "nmap 192.168.1.0/24" from the client, it sees everything on the network. However, it says that all 1680 ports on the server (192.168.1.1) are being filtered.

Looks like you have no connectivity problems but sume sort of filtering enabled in the server.
Can you post some more information:
1. iptables -L
2. chkconfig --list
Assisted Solution
 
02.06.2008 at 01:13PM PST, ID: 20835802
Ravenpl:
Here was the output you requested:

"ip link" yields:

"ip addr" yields:
   1: lo:<LOOPBACK, UP, LOWER_UP> mtu 16436 qdisc noqueue
      link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
      inet 127.0.0.1/8 scope host lo
      inet6:: 1/128 scope host
            valid_lft forever preferred_lft forever

   2: peth0:<NO-CARRIER,BROADCAST,NO ARP,UP> mtu 1500 qdisc pfifo_fast qlen 1000
       link/ether fe:ff:ff:ff:ff:ff brd ff:ff:ff:ff:ff:ff

   3. eth1:<BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast qlen 1000
       link/ether 00:15:17:3e:ef:24 brd ff:ff:ff:ff:ff:ff
   
   4. eth2:<BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast qlen 1000
       link/ether 00:15:17:3e:ef:27 brd ff:ff:ff:ff:ff:ff

   5. eth3:<BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast qlen 1000
       link/ether 00:15:17:3e:ef:26 brd ff:ff:ff:ff:ff:ff

   6. eth4:<BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen 1000
       link/ether 00:14:4f:a8:43:84 brd ff:ff:ff:ff:ff:ff
       valid_lft forever preferred_lft forever

   7. eth5:<BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast qlen 1000
       link/ether 00:14:4f:a8:43:85 brd ff:ff:ff:ff:ff:ff

   8. eth6:<BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast qlen 1000
       link/ether 00:14:4f:a8:43:86 brd ff:ff:ff:ff:ff:ff

   9. eth7:<BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast qlen 1000
       link/ether 00:14:4f:a8:43:87 brd ff:ff:ff:ff:ff:ff

 10. sit0: <NOARP> mtu 1480 qdisc noop
       link/sit 0.0.0.0 brd 0.0.0.0

 11. vif0.0:<BROADCAST,NO ARP,UP,LOWER_UP> mtu 1500 qdisc noqueue
       link/ether fe:ff:ff:ff:ff:ff brd ff:ff:ff:ff:ff:ff

 12. eth0:<BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue
       link/ether 00:15:17:3e:ef:25 brd ff:ff:ff:ff:ff:ff
      inet 192.168.1.1/24 brd 192.168.1.255 scope global eth0
      inet6 fe80::215::17ff::fe3e::ef25/64 scope link
      valid_lft forever preferred_lft forever

"ip route" yields:
    192.168.1.0/24   dev   eth0   proto   kernel   scope   link   src   192.168.1.1
    169.254.0.0/16   dev   eth0   scope  link

"iptables -L INPUT -nx" and "iptables -L OUTPUT -nx" yield the same thing:
   Chain INPUT (policy ACCEP)
   target   prot  opt  source       destination

I did not see any errors in /proc/net/dev

Rokov: Was there a particular service you were looking for under the chkconfig --list command? It's hard to give you the full output, as I have to write it out by hand. :-/
 
02.06.2008 at 01:43PM PST, ID: 20836045

Rank: Wizard

I can see two interfaces up, eth0 and eth4. Maybe You set up the eth0, but it's the eth4 is connected to switch?

Next, I don't know why eth0 got "qdisc noqueue", do You?
Assisted Solution
 
02.06.2008 at 01:46PM PST, ID: 20836075

Rank: Wizard

try changing to pfifo with: tc qdisc add dev eth0 root pfifo
Assisted Solution
 
02.07.2008 at 05:04AM PST, ID: 20840333
Ravenpl: Thanks for the recommendation. I'll try it out this morning and get back to you.
 
02.07.2008 at 06:27AM PST, ID: 20840935
Ravenpl: I made sure to turn off ALL interfaces except eth0. I honestly don't know why eth0 returned with "qdisc noqueue". I tried your suggestion with the "tc" command. There is still no change in the behavior.  I tried activating ALL of the 8 cards with different static IPs. It didn't make a difference what I plugged into, I can't ping. Additionally, I've noticed some more odd behavior and am wondering whether it is the interface cards themselves, at least the one that came stock on the motherboard. After tinkering around with bringing the interfaces up via the GUI or with "ifconfig ethX up/down", the link lights would not come on. Once I rebooted, everything was fine.
 
02.07.2008 at 06:49AM PST, ID: 20841126

Rank: Wizard

Can You get some liveCD distro, and run on the server? Fetch ip from DHCP?
Cause frankly, I'm rather out of ideas currently. The liveCD should tell us whether it's OS configuration or hardware problem.
Assisted Solution
 
02.07.2008 at 08:02AM PST, ID: 20841891
ravenpl: I used the KNOPPIX distro. Same problem unbelievably. All 4 interfaces don't work. I can't believe this. Additionally, it doesn't even recognize the extra 4-port PCI-X network card. Although i suspect that is because it might be newer hardware and I am using an older version of KNOPPIX.
 
02.20.2008 at 02:45AM PST, ID: 20936487

Rank: Master

How it "does not work"? Do you configure using gui or command line?
Can you ping interface's own IP address? Can you ping default router?
Assisted Solution
 
 
20080236-EE-VQP-29 / EE_QW_2_20070628