LinuxQuestions.org
Help answer threads with 0 replies.
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 01-19-2002, 01:59 PM   #16
ForumKid
Member
 
Registered: Dec 2001
Posts: 195

Original Poster
Rep: Reputation: 30

So by changing the card to 10.0.0.4, I can no longer connect to 192.168.2.2. I can ping but no connection can be made
 
Old 01-19-2002, 02:27 PM   #17
ForumKid
Member
 
Registered: Dec 2001
Posts: 195

Original Poster
Rep: Reputation: 30
When i try to connect to 192.168.2.2 my RX packets go up but not TX.
eth0 Link encap:Ethernet HWaddr 00:B00:78:92:07
inet addr:192.168.2.2 Bcast:192.168.2.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:42 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
Interrupt:16 Base address:0xe8c0
 
Old 01-19-2002, 02:31 PM   #18
ForumKid
Member
 
Registered: Dec 2001
Posts: 195

Original Poster
Rep: Reputation: 30
I even tried changing my routing table.

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.2.200 255.255.255.0 UG 0 0 0 eth0
192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
10.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 eth1
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 10.0.0.1 0.0.0.0 UG 0 0 0 eth1


Windoz blows....but then again......i would be having this problem.
 
Old 01-19-2002, 02:46 PM   #19
lfslinux
LFS Maintainer
 
Registered: Jan 2002
Location: Canmore, Alberta, Canada
Distribution: Linux From Scratch
Posts: 372

Rep: Reputation: 30
Quote:
Originally posted by ForumKid
I even tried changing my routing table.

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.2.200 255.255.255.0 UG 0 0 0 eth0
192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
10.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 eth1
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 10.0.0.1 0.0.0.0 UG 0 0 0 eth1


Windoz blows....but then again......i would be having this problem.
now there are two default gateway's setup. That simply won't work as expected. It may be cause for the confusion of the kernel and nothing works.

But I am stumped as to why you can't ping one IP when unplugging the other card (But you said it does work when you reverse it).

Let's re-create the problem situation.

unplug 10.0.0.4 you can't ping 192.168.2.2 right?

now show the output of ifconfig and route -n
 
Old 01-19-2002, 02:51 PM   #20
ForumKid
Member
 
Registered: Dec 2001
Posts: 195

Original Poster
Rep: Reputation: 30
unplug 10.0.0.4 you can't ping 192.168.2.2 right --> CORRECT

eth0 Link encap:Ethernet HWaddr 00:B00:78:92:07
inet addr:192.168.2.2 Bcast:192.168.2.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:16 errors:0 dropped:0 overruns:0 frame:0
TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
Interrupt:16 Base address:0xe8c0

eth1 Link encap:Ethernet HWaddr 00:02:B3:0A:0B:EE
inet addr:10.0.0.4 Bcast:10.255.255.255 Mask:255.0.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:164 errors:0 dropped:0 overruns:0 frame:0
TX packets:123 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
Interrupt:28 Base address:0xdcc0

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
10.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 eth1
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 192.168.2.200 0.0.0.0 UG 0 0 0 eth0
~
 
Old 01-19-2002, 02:54 PM   #21
ForumKid
Member
 
Registered: Dec 2001
Posts: 195

Original Poster
Rep: Reputation: 30
I ping 192.168.2.2 and i went behind the box. Saw that both nics were flashing. I have no clue as of why.
 
Old 01-19-2002, 02:58 PM   #22
lfslinux
LFS Maintainer
 
Registered: Jan 2002
Location: Canmore, Alberta, Canada
Distribution: Linux From Scratch
Posts: 372

Rep: Reputation: 30
Quote:
Originally posted by ForumKid
unplug 10.0.0.4 you can't ping 192.168.2.2 right --> CORRECT
I'm at a loss I'm afraid as to what would cause this let alone how to fix it.
 
Old 01-19-2002, 03:43 PM   #23
ForumKid
Member
 
Registered: Dec 2001
Posts: 195

Original Poster
Rep: Reputation: 30
If i disable 10.0.0.4 I can then access 192.168.2.2.

For some reason it cant handle 2 nics. It has to be a routing issue. Binding to both cards or the wrong card.

I have no friggen idea.
 
Old 01-19-2002, 06:24 PM   #24
ForumKid
Member
 
Registered: Dec 2001
Posts: 195

Original Poster
Rep: Reputation: 30
192.168.2.0 * 255.255.255.0 U 0 0 0 eth0
10.0.0.0 * 255.0.0.0 U 0 0 0 eth1
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default 192.168.2.200 0.0.0.0 UG 0 0 0 eth0


I can ping both 10.0.0.4 and 192.168.2.2. However when i enable eth1, I can no longer connect to eth1. I can still ping 192.168.2.2 though.
Does anyone have any suggestions.
eth0 Link encap:Ethernet HWaddr 00:B00:78:92:07
inet addr:192.168.2.2 Bcast:192.168.2.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:129 errors:0 dropped:0 overruns:0 frame:0
TX packets:117 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
Interrupt:16 Base address:0xe8c0

eth1 Link encap:Ethernet HWaddr 00:02:B3:0A:0B:EE
inet addr:10.0.0.4 Bcast:10.255.255.255 Mask:255.0.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:229 errors:0 dropped:0 overruns:0 frame:0
TX packets:195 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
Interrupt:28 Base address:0xdcc0

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0

arp
10.0.0.1 ether 00:03:47:99D:3F C eth1
10.0.0.2 ether 00:E0:98:87:AF:93 C eth1
192.168.2.200 ether 00:02:B3:17:FE:C3 C eth0
arp -a
? (10.0.0.1) at 00:03:47:99D:3F [ether] on eth1
? (10.0.0.2) at 00:E0:98:87:AF:93 [ether] on eth1
? (192.168.2.200) at 00:02:B3:17:FE:C3 [ether] on eth0

This shows that eth0 is bound to its gateway of 192.168.2.200. So why cant i connect to this sucka???

Thanks as always
 
Old 01-19-2002, 06:29 PM   #25
ForumKid
Member
 
Registered: Dec 2001
Posts: 195

Original Poster
Rep: Reputation: 30
FYI: SSh is bound to both cards so thats not the problem
tcp 0 0 10.0.0.8:22 0.0.0.0:* LISTEN 591/sshd
tcp 0 0 192.168.2.2:22 0.0.0.0:* LISTEN 591/sshd
 
Old 01-19-2002, 06:33 PM   #26
ForumKid
Member
 
Registered: Dec 2001
Posts: 195

Original Poster
Rep: Reputation: 30
logfile shows:
Jan 19 19:10:23 me kernel: eth0: Intel Corporation 82557 [Ethernet Pro 100], 00:B00:78:92:07, I/O at 0xe
8c0, IRQ 16.
Jan 19 19:10:23 me kernel: Receiver lock-up bug exists -- enabling work-around.
Jan 19 19:10:23 me kernel: Board assembly 07195d-000, Physical connectors present: RJ45
Jan 19 19:10:23 me kernel: Primary interface chip i82555 PHY #1.
Jan 19 19:10:23 me kernel: General self-test: passed.
Jan 19 19:10:23 me kernel: Serial sub-system self-test: passed.
Jan 19 19:10:23 me kernel: Internal registers self-test: passed.
Jan 19 19:10:23 me kernel: ROM checksum self-test: passed (0x04f4518b).
Jan 19 19:10:23 me kernel: Receiver lock-up workaround activated.
Jan 19 19:10:23 me kernel: eth1: OEM i82557/i82558 10/100 Ethernet, 00:02:B3:0A:0B:EE, I/O at 0xdcc0, IRQ
28.
Jan 19 19:10:23 me kernel: Board assembly a08922-002, Physical connectors present: RJ45
Jan 19 19:10:23 me kernel: Primary interface chip i82555 PHY #1.
Jan 19 19:10:23 me kernel: General self-test: passed.
Jan 19 19:10:23 me kernel: Serial sub-system self-test: passed.
Jan 19 19:10:23 me kernel: Internal registers self-test: passed.
Jan 19 19:10:23 me kernel: ROM checksum self-test: passed (0x04f4518b).

:smash:
 
Old 01-19-2002, 06:37 PM   #27
lfslinux
LFS Maintainer
 
Registered: Jan 2002
Location: Canmore, Alberta, Canada
Distribution: Linux From Scratch
Posts: 372

Rep: Reputation: 30
Quote:
Originally posted by ForumKid
192.168.2.0 * 255.255.255.0 U 0 0 0 eth0
10.0.0.0 * 255.0.0.0 U 0 0 0 eth1
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default 192.168.2.200 0.0.0.0 UG 0 0 0 eth0


I can ping both 10.0.0.4 and 192.168.2.2. However when i enable eth1, I can no longer connect to eth1. I can still ping 192.168.2.2 though.
Are you saying that you can ping 10.0.0.4 even though eth1 isn't enabled? I wonder where that is coming from.

I just remembered some weird problem in the 'ping' command from a recent Redhat version when I was forced to use it (until i replaced it with LFS) (late 6.x or early 7). It couldn't ping something though it should be perfectly ping'able and the ohter way around too. I ended up compiling the netkit-base package from source (where the ping command comes from) after which everything was fine again.

I imagine Redhat has updates for this, so try and find an updated netkit-base rpm from somewhere.

Or download the source and install it yourself.

But being able to ping an interface that's not brought up yet is just weird. Time for a new kernel perhaps
 
Old 01-19-2002, 06:49 PM   #28
ForumKid
Member
 
Registered: Dec 2001
Posts: 195

Original Poster
Rep: Reputation: 30
NO,
Im saying that both eth0 and eth1 are able to be pinged. Doesnt matter if 1 is unplugged or not. I can ping both interfaces and can only connect to eth1.Why can i ping eth0 and not connect? I dont even know where to look
 
Old 01-19-2002, 06:55 PM   #29
lfslinux
LFS Maintainer
 
Registered: Jan 2002
Location: Canmore, Alberta, Canada
Distribution: Linux From Scratch
Posts: 372

Rep: Reputation: 30
Quote:
Originally posted by ForumKid
NO,
Im saying that both eth0 and eth1 are able to be pinged. Doesnt matter if 1 is unplugged or not. I can ping both interfaces and can only connect to eth1.Why can i ping eth0 and not connect? I dont even know where to look
Do you have a firewall enabled that might be blocking the connection attempts to eth0?
 
Old 01-19-2002, 06:56 PM   #30
ForumKid
Member
 
Registered: Dec 2001
Posts: 195

Original Poster
Rep: Reputation: 30
firewall is disabled. All i have to do is disable eth1 and then i can connect to it eth0.

Very wierd..I guess i just dont know what im doing
 
  


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
Is someone on my network?! ::ffff:192.168.0.10:ssh ::ffff:192.168.0.:38201 ESTABLISHE ming0 Linux - Security 4 04-12-2005 01:04 AM
192.168.2.1 network with 192.168.0.1? Micro420 Linux - Networking 2 02-27-2005 06:59 AM
Iptables is converting -s 192.168.1.0/8 into 192.0.0.0/8 why !? qwijibow Linux - Security 2 01-26-2005 09:57 AM
\\192.168.23.21 works but \\logicbomb does not johnnyde Linux - Networking 2 09-11-2004 11:35 AM
192.168.0.0/25 ? Firew Linux - Networking 1 04-12-2001 01:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:48 PM.

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
Open Source Consulting | Domain Registration