Re: Help: tyring to troubleshoot eth1 problems

Vesselin Mladenov (root@netbg.com)
Wed, 16 Sep 1998 09:16:36 +0300 (EEST)


On Mon, 14 Sep 1998, Michael R. Steigman wrote:

> Date: Mon, 14 Sep 1998 17:13:21 -0400 (EDT)
> From: "Michael R. Steigman" <ms@cs.umb.edu>
> To: linux-net@vger.rutgers.edu
> Subject: Help: tyring to troubleshoot eth1 problems
>
> Hello,
>
> I've been trying to setup IP masquerading on my linux box at home to allow
> a Windows machine to access a cable modem. I can't seem get the two
> machines to talk to each other though. The linux box (RH5.0) has two new
> NetGear FA310TX cards and the windows machine has a Kingston NE2000 ISA
> card. I'm not able to ping the windows machine from the linux box or vice
> versa. The cables are known to be good. I set the windows machine to IP
> 192.168.1.10 Mask 255.255.255.0 and Gateway 192.168.1.1. Can someone offer
> some troubleshooting advice? Thanks
>
> >From the linux box:
>
> lo Link encap:Local Loopback
> inet addr:127.0.0.1 Bcast:127.255.255.255 Mask:255.0.0.0
> UP BROADCAST LOOPBACK RUNNING MTU:3584 Metric:1
> RX packets:84 errors:0 dropped:0 overruns:0
> TX packets:84 errors:0 dropped:0 overruns:0
>
> eth0 Link encap:Ethernet HWaddr 00:40:05:A3:9E:00
> inet addr:24.128.80.101 Bcast:24.128.81.255 Mask:255.255.254.0
> UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:945 errors:0 dropped:0 overruns:0
> TX packets:173 errors:0 dropped:0 overruns:0
> Interrupt:9 Base address:0xfc80
>
> eth1 Link encap:Ethernet HWaddr 00:40:05:A3:54:31
> 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:0 errors:0 dropped:0 overruns:0
> TX packets:0 errors:8 dropped:0 overruns:0
> Interrupt:9 Base address:0xfc00
>
> 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 3 eth1
> 24.128.80.0 0.0.0.0 255.255.254.0 U 0 0 45 eth0
> 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 5 lo
> 0.0.0.0 24.128.80.1 0.0.0.0 G 1 0 71 eth0
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-net" in
> the body of a message to majordomo@vger.rutgers.edu
>

You can execute:

ipfwadm -F -a m -S 192.168.2.0/24 -D 0.0.0.0/0

Good luck

-=-=-=-=-=-=-=-=-=-=-=-=
Vesselin Mladenov
ishido@netbg.com
------------------------
+359-2-974-4260
-=-=-=-=-=-=-=-=-=-=-=-=

-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.rutgers.edu