LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-24-2002, 06:07 PM   #1
John_L
LQ Newbie
 
Registered: Oct 2002
Posts: 4

Rep: Reputation: 0
Bizarre RH 8 networking problem


Hi,

I am a bit of a Linux novice, have been running RH 7.2 for a while but haven't really had to get my hands that dirty with it.

Issue with networking 2 machines (through dedicated switch, no external connections, RH 8 and Win XP), ping works but only under the most bizarre circumstances. Boot both machines normally and attempt to ping each other and get 'Destination Host Unreachable' message from Linux and time out from XP. However fire up Ethereal on the Linux box, start capturing traffic from eth0 and everything works fine, pings in both direction. Stop the capture and the errors reappear!

What is ethereal doing as it is capturing traffic that isn't there normally?

Details:

Machine 1 RH8.0 - static IP Address

/etc/sysconfig/networking/profiles/default/ifcfg-eth0

DEVICE=eth0
BOOTPROTO=none
BROADCAST=192.168.5.255
IPADDR=192.168.5.1
NETMASK=255.255.255.0
NETWORK=192.168.5.0
ONBOOT=yes
USERCTL=no
PEERDNS=no
TYPE=Ethernet
HWADDR=00:40:f4:58:20:de

/etc/sysconfig/network

NETWORKING=yes
HOSTNAME=sccln01

/etc/modules.conf

alias parport_lowlevel parport_pc
alias scsi_hostadapter aic7xxx
alias eth0 natsemi
alias usb-controller usb-uhci

[root@sccln01 root]# lsmod
Module Size Used by Not tainted
ide-cd 33608 0 (autoclean)
cdrom 33696 0 (autoclean) [ide-cd]
soundcore 6532 0 (autoclean)
autofs 13348 0 (autoclean) (unused)
natsemi 18864 1
mousedev 5524 1
keybdev 2976 0 (unused)
hid 22244 0 (unused)
input 5888 0 [mousedev keybdev hid]
usb-uhci 26188 0 (unused)
usbcore 77024 1 [hid usb-uhci]
ext3 70368 6
jbd 52212 6 [ext3]
aic7xxx 137140 5
sd_mod 13552 10
scsi_mod 107144 2 [aic7xxx sd_mod]



Machine 2 Win XP Pro - static IP Address

C:\>ipconfig

Windows IP Configuration

Ethernet adapter Local Area Connection:

Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 192.168.5.7
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :


This has been driving me mad for the last 2 days – any help appreciated.

Thanks

John
 
Old 10-24-2002, 08:09 PM   #2
rohang
Member
 
Registered: Aug 2002
Location: Sydney, Australia
Distribution: Redhat, Open BSD, SuSe, Debian, CentOS
Posts: 177

Rep: Reputation: 30
It's not a duplex mismatch is it? Are both ends set to autonegotiate or have you configured the speed and duplex manually?
 
Old 10-24-2002, 10:59 PM   #3
jdc2048
Member
 
Registered: Jul 2002
Location: Ohio, USA
Distribution: Redhat, Gentoo, Solaris, HP-UX, etc...
Posts: 391

Rep: Reputation: 30
Do you have any ipchains rules defined by default? At some point RH began asking how you want your firewall to be config'd during install. If you specify medium or high, then you may be blocking the ping requests.

That wouldn't explain why the ethereal is allowing packets to come thru, unless it is setting eth0 to promiscuous mode. (different concept altogether).
 
Old 10-25-2002, 05:40 AM   #4
John_L
LQ Newbie
 
Registered: Oct 2002
Posts: 4

Original Poster
Rep: Reputation: 0
Potential NIC Duplex \ Speed issues

Have not set anything up manually for either the RH8 network card or the XP one.

The netgear switch that I am using is showing both connections at 100mb and when I ping the lights flash on the switch for the correct ports. The speed that the cards are operating at shouldn’t be an issue should it?

Re duplex settings for the network cards – again haven’t set anything manually although I know that the XP machine is running full duplex, my impression is that with the switch I am using speed and duplex mode shouldn’t be an issues – the switch autonegotiates etc. Might be wrong though!

Is there anything specific that I can check to rule this out?
 
Old 10-25-2002, 05:46 AM   #5
John_L
LQ Newbie
 
Registered: Oct 2002
Posts: 4

Original Poster
Rep: Reputation: 0
Is there a firewall at the bottom of this?

Does RH 8 use ipchains or tables, think it is the latter – concepts should be similar?

When I installed (should say reinstalled !) conciously set the security option to ‘No Firewall’ however the strange thing is that when I go into the RH desktop and run the graphical security applet it tells me that the security setting is High and won’t let me change it, weird!

Suspect that there might be some firewall issues at the bottom of this (that’s why I tried to reinstall with none). Have never played with firewalls, any clues re how I can analyse \ resolve?
 
Old 10-25-2002, 06:56 PM   #6
jdc2048
Member
 
Registered: Jul 2002
Location: Ohio, USA
Distribution: Redhat, Gentoo, Solaris, HP-UX, etc...
Posts: 391

Rep: Reputation: 30
Re: Is there a firewall at the bottom of this?

Quote:
Originally posted by John_L
Does RH 8 use ipchains or tables, think it is the latter – concepts should be similar?
I have been using 7.3 and it had both installed. I just got my 8.0 up and running today, and I see that they have dropped ipchains.

Quote:
Suspect that there might be some firewall issues at the bottom of this (that’s why I tried to reinstall with none). Have never played with firewalls, any clues re how I can analyse \ resolve?
run the following command on your running system;
Code:
iptables -L
This will tell you what rules are defined. You may want to move this post to the Linux-Security forum for better assistance on interpreting any rules that are defined.

If you just want to flush the table for troubleshooting, then use the -F option with no arguments.

HTH
Jeremiah
 
Old 10-27-2002, 03:59 PM   #7
John_L
LQ Newbie
 
Registered: Oct 2002
Posts: 4

Original Poster
Rep: Reputation: 0
Unhappy

Hi Jeremiah,

Apologies for the tardiness in my reply – had to take the wife and kids away for the weekend.

Have run the command ‘iptables –L’ and get the following response:

‘Bash: iptables: command not found’

I guess from this that they aren’t running?

If so back to square one, maybe it is an issue with the hardware (Netgear FA-311), any other suggestions gratefully received.
 
Old 10-30-2002, 09:11 PM   #8
jdc2048
Member
 
Registered: Jul 2002
Location: Ohio, USA
Distribution: Redhat, Gentoo, Solaris, HP-UX, etc...
Posts: 391

Rep: Reputation: 30
Did you do this command as root? I tried to run the command as my user ID but got a similar message.

Jeremiah
 
  


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
bizarre networking problem yoyoguy2 Linux - General 2 09-11-2004 07:53 AM
bizarre permission problem niehls Linux - General 1 10-30-2003 01:17 PM
Bizarre XF86Config problem... Shade Linux - Software 3 07-07-2003 01:19 AM
Bizarre CD problem masterJ Slackware 9 07-02-2003 08:31 AM
a Bizarre problem seemed to be..... yunxiang Linux - General 2 02-06-2003 04:49 AM


All times are GMT -5. The time now is 01:02 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration