Networking between two PC with both having two Ethernet port

Networking between two PC with both having two Ethernet port

Post by Werner Schmid » Wed, 20 Jul 2005 17:51:49



I have two PC with FC2. Each PC has two Ethernet ports. eth0 is 100 MBit
at both PC whereby eth1 can use 1GBit. I can establish the following
connections:
eth0 <-> eth0
eth0 <-> eth1

but I can not ping between the two eth1s.

I configured
PC1:
ifconfig eth0 192.168.100.3
ifconfig eth1 192.168.200.3
ifconfig eth0 netmask 255.255.255.0
ifconfig eth1 netmask 255.255.255.0

PC2:
ifconfig eth0 192.168.100.2
ifconfig eth1 192.168.200.2
ifconfig eth0 netmask 255.255.255.0
ifconfig eth1 netmask 255.255.255.0

Both route and iptables show nothing suspicious. What can I do?

 
 
 

Networking between two PC with both having two Ethernet port

Post by Allen McIntos » Wed, 20 Jul 2005 21:22:21


Quote:> eth0 <-> eth0
> eth0 <-> eth1

My off-the-cuff answer is that if "ping 192.168.200.2" really does what
you say, namely sends traffic with src=192.168.100.3 and
dst=192.168.200.2, then something is wrong.
Quote:

> but I can not ping between the two eth1s.

How are you distinguishing between this and eth0 <-> eth1 ?

Quote:

> Both route and iptables show nothing suspicious. What can I do?

Don't keep us in the dark.  Show us the routing table.

 
 
 

Networking between two PC with both having two Ethernet port

Post by Michael Heimin » Wed, 20 Jul 2005 21:49:53



Quote:>> eth0 <-> eth0
>> eth0 <-> eth1
> My off-the-cuff answer is that if "ping 192.168.200.2" really does what
> you say, namely sends traffic with src=192.168.100.3 and
> dst=192.168.200.2, then something is wrong.

>> but I can not ping between the two eth1s.
> How are you distinguishing between this and eth0 <-> eth1 ?

>> Both route and iptables show nothing suspicious. What can I do?
> Don't keep us in the dark.  Show us the routing table.

Exactly, show us 'netstat -rn' or you'll just waste your and our
time.

--
Michael Heiming (X-PGP-Sig > GPG-Key ID: EDD27B94)

#bofh excuse 369: Virus transmitted from computer to sysadmins.

 
 
 

Networking between two PC with both having two Ethernet port

Post by David Schwart » Wed, 20 Jul 2005 22:04:04



Quote:>I have two PC with FC2. Each PC has two Ethernet ports. eth0 is 100 MBit at
>both PC whereby eth1 can use 1GBit. I can establish the following
>connections:
> eth0 <-> eth0
> eth0 <-> eth1

> but I can not ping between the two eth1s.

> I configured
> PC1:
> ifconfig eth0 192.168.100.3
> ifconfig eth1 192.168.200.3
> ifconfig eth0 netmask 255.255.255.0
> ifconfig eth1 netmask 255.255.255.0

> PC2:
> ifconfig eth0 192.168.100.2
> ifconfig eth1 192.168.200.2
> ifconfig eth0 netmask 255.255.255.0
> ifconfig eth1 netmask 255.255.255.0

> Both route and iptables show nothing suspicious. What can I do?

http://logout.sh/computers/net/gigabit/

    DS

 
 
 

Networking between two PC with both having two Ethernet port

Post by Werner Schmid » Wed, 20 Jul 2005 23:26:42


That was it. The cable was not crossed.
 
 
 

1. One Process on the machine having two IP address and two ethernet interface.

Hi~ all.. :)

My machine has two ethernet cards. its ethernet cards are assigned IP
address each.
One server process works on my machine.
If this server process wanna deal with packets from all two interfaces, two
IPs.
that is, clients can be on two interfaces.

Is it possible?
If not, Does it need each server process according to each IP. need two
server process ?

Help me..
Beg your advice..
Happy Happy day..

Korean)
| PC ??? ?3? ?3Y ???? ?? ?? IP ?? A.A.A.A ? A.A.A.B ?
???.
?? PC ?? ??3a? ?-1? ??? ????? ???.
?-1?? ????? ??????? ????e??? A.A.A.A, A.A.A.B ? ?e????-
??? ?? ???.
? ?-1?? ??? LAN ?e?? ????? 1T?? ?3?? ? ?? ????? ? ??.

.. ???? ?y?o???? ?-1??| ??? ? ??????~?
(1) ??3a? ?-1?? ?3? IP ??? ???? ??????~?

(2) ??? ???? ??, ?3? ?-1? ?????o?| ? IP ?? ??????
??3a??~?

??e o??1??3?.

2. Security question regarding ident, sendmail with Xinetd

3. How to connect two Linux boxes via Com ports having two wires only

4. ATAPI CD-DRIVE

5. Having two separate networks connect using two Linux routers and ISDN

6. Help! How can the ".." directory have a size of 35328 bytes?

7. Two Ethernet cards, two networks, now what?

8. mkdev rlp

9. Two Ethernet Jacks & Two Networked Boxes

10. How two PCs connect to network with one ethernet card

11. two network cards, two(?) networks, one computer...

12. Purpose of having two ethernet interfaces

13. DHCP server for Linux having two ethernet cards