On Sat, 2001-11-24 at 20:38, Wolfgang Bornath wrote: > Hi, > > I have a desktop and a notebook, both connected via cross-over cable. > The desktop is connected to internet via ADSL. > > Both machines run MDK 8.1 > > Desktop: > > eth0 RealTek RTL-8029 module = ne2k-pci IRQ 12 > eth1 3com 3C509 module = 3c509 IRQ10 (ISA) > > Both modules load at bootup. > > ifconfig shows (while eth0 is connected as ppp0 to the internet): > > eth0 Protokoll:Ethernet Hardware Adresse 00:50:BA:31:0F:B2 > inet Adresse:10.0.0.10 Bcast:10.0.0.255 Maske:255.255.255.0 > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:93 errors:0 dropped:0 overruns:0 frame:0 > TX packets:96 errors:0 dropped:0 overruns:0 carrier:0 > Kollisionen:0 Sendewarteschlangenl�nge:100 > RX bytes:65325 (63.7 Kb) TX bytes:14185 (13.8 Kb) > Interrupt:12 Basisadresse:0xe800 > > eth1 Protokoll:Ethernet Hardware Adresse 00:20:AF:6E:F5:16 > inet Adresse:192.168.0.1 Bcast:192.168.0.255 Maske:255.255.255.0 > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:0 errors:0 dropped:0 overruns:0 frame:0 > TX packets:16 errors:0 dropped:0 overruns:0 carrier:1 > Kollisionen:0 Sendewarteschlangenl�nge:100 > RX bytes:0 (0.0 b) TX bytes:672 (672.0 b) > Interrupt:10 Basisadresse:0x300 > > route -n shows: > > 217.5.98.14 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0 > 10.0.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 > 192.168.0.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 > 0.0.0.0 217.5.98.14 0.0.0.0 UG 0 0 0 ppp0 > > ------------------ > > Notebook: > > eth0 SIS900 module = sis900 IRQ 10 > Module loads > > ifconfig says: > eth0 Protokoll:Ethernet Hardware Adresse 00:a0:cc:c6:b3:58 > inet Adresse:192.168.0.2 Bcast:192.168.0.255 Maske:255.255.255.0 > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:0 errors:0 dropped:0 overruns:0 frame:0 > TX packets:44 errors:0 dropped:0 overruns:0 carrier:0 > Kollisionen:0 Sendewarteschlangenl�nge:100 > RX bytes: 0 (0.0 Kb) TX bytes:3615 (3.5 Kb) > Interrupt:10 Basisadresse:0xd000 > > route -n says: > > 192.168.0.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.0.1 0.0.0.0 UG 0 0 0 eth0 > > -------------------- > > All in all it looks ok to me. But the desktop doesn't ping the > notebook and vice versa. The notebook can't connect to the internet. > The cable was the last resort but it's ok, I tested it at a friend's > machine who has a similar setup. > > What is wrong here? > > wobo
Couple of questions for you: 1. Can you ping your own interfaces? That is, from your desktop can you ping each of the cards' IP addresses? Can you ping 127.0.0.1? Can you also ping your laptop's card from itself (the real IP and 127.0.0.1)? If you can't do that, then you obviously won't be going anywhere outside... 2. Do you have a firewall running on either of the PCs? Sometimes firewalls will block ICMP (ping) packets, and so your pings are unable to work. Try turning off your firewall -- in MDK 8.1, assuming you are using the built-in firewall, run (as root) '/etc/init.d/iptables stop' but without the quotes. This is for a 2.4 kernel. If you are using the 2.2 kernel, try '/etc/init.d/ipchains stop'. If you are not using the built-in firewall, then just try (as root) 'iptables -F' or 'ipchains -F' -- these will flush the firewall rules and allow anything. Just restart your firewall to bring the rules back. 3. Do you have internet connection sharing enabled in the desktop PC? If not, it won't be able to forward packets from your laptop out to the internet. 4. Can your desktop reach the internet? You seem to imply that you can, but I am not sure. 5. Am I understanding that your desktop's external interface (eth1) has two IP addresses? Can you give more information about your ADSL setup? I am only familiar with the kind that uses a router or bridge to connect, so that the router/bridge gets a phone wire from the wall, and has an ethernet wire going out to eihter a hub or a single PC with a standard NIC. This device, if a router, usually runs a dhcp server and provides all connection information needed for the PCs. If it's a bridge, then the PCs either need to be running dhcp and get their info from the ISP, or they need to have static IP addresses (and other network stuff, like DNS and default gateway) assigned. I will try to give more help when I see your answers. Dave -- You may worry about your hair-do today, but tomorrow much peanut butter will be sold.
msg44900/pgp00000.pgp
Description: PGP signature
