Thanks for the reply!
I admit, I know very little about networking so you are probably right. But I am curious why my Linux desktop can connect strait to my Linux router with the same eth cable.
Also, to make things even more confusing (for me at least) I brought my laptop into the mix for some testing, and this is what happened when moving the same ethernet cable around and testing connection by ssh'ing
Desktop eth0 --> server eth1 : Connects OK
Laptop eth0 --> desktop eth0 : Connects OK
Laptop eth0 --> Server eth1 : Does not Connect
So it appears my server will only accept connections from my Linux Desktop through eth1. Any idea what is causing this? (note: iptables is turned off on all machines during testing)
Thanks for the help!
...drkstr
setup:
Router:
eth0 - temporarily disabled while testing
eth1 - static
Code:
root@srv:~# ifconfig
eth1 Link encap:Ethernet HWaddr 00:0C:41:EF:B0:07
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3038091 errors:0 dropped:0 overruns:0 frame:0
TX packets:1094646 errors:5 dropped:0 overruns:0 carrier:5
collisions:0 txqueuelen:1000
RX bytes:3714588850 (3542.5 Mb) TX bytes:999745566 (953.4 Mb)
Interrupt:10 Base address:0x1400
Code:
root@srv:~# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
Desktop:
eth0 - static
Code:
root@dsk:~# ifconfig
eth0 Link encap:Ethernet HWaddr 00:0D:56:02:64:7E
inet addr:192.168.1.100 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1095334 errors:3 dropped:0 overruns:0 frame:3
TX packets:3038761 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1004348400 (957.8 Mb) TX bytes:3726864511 (3554.2 Mb)
Base address:0xdf40 Memory:feae0000-feb00000
Code:
root@dsk:~# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 0.0.0.0 255.255.255.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 1 0 0 eth0
laptop
eth0 - static
Code:
root@lpt:/etc/rc.d# ifconfig
eth0 Link encap:Ethernet HWaddr 08:00:46:1D:11:16
inet addr:192.168.1.102 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1087 errors:0 dropped:0 overruns:0 frame:0
TX packets:1088 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:184020 (179.7 KiB) TX bytes:112168 (109.5 KiB)
Interrupt:10 Base address:0x1800
Code:
root@lpt:/etc/rc.d# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 0.0.0.0 255.255.255.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 1 0 0 eth0