All,
I made the changes suggested below, and things were working for a
while. However, I rebooted the machine and have not been able to get up
and running again since. I saved the routing table as a text file and
recreated it after the reboot, so everything should have been the same.
Here is an ifconfig and my new routing table. I tried to get ipfwadm -F
-l, but it seemed to hang. It printed the following:
IP firewall forward rules, default policy: deny
type prot source destination ports
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt
Iface
24.6.81.1 0.0.0.0 255.255.255.255 UH 1500 0 0
eth1
192.168.1.0 0.0.0.0 255.255.255.0 U 1500 0 0
eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 3584 0 0
lo
0.0.0.0 24.6.81.1 0.0.0.0 UG 1500 0 0
eth1
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:207 errors:0 dropped:0 overruns:0 frame:0
TX packets:207 errors:0 dropped:0 overruns:0 carrier:0
collisions:0
dummy Link encap:Ethernet HWaddr 00:00:00:00:00:00
inet addr:0.0.0.0 Bcast:0.0.0.0 Mask:0.0.0.0
BROADCAST NOARP MULTICAST MTU:1500 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
eth0 Link encap:Ethernet HWaddr 00:E0:29:19:5E:52
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 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0
Interrupt:9 Base address:0x320
eth1 Link encap:Ethernet HWaddr 00:E0:29:17:23:59
inet addr:24.6.81.152 Bcast:24.6.81.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:81 errors:0 dropped:0 overruns:0 frame:0
TX packets:192 errors:57 dropped:0 overruns:0 carrier:114
collisions:969
Interrupt:12 Base address:0x340
Any suggestions? What could I have done to cause problems - it was
working fine. I could browse web pages from one of the Win98 machines.
Thanks for the help,
Mark
Charles Galpin wrote:
>
> Mark
>
> your problem has nothing to with masquerading (yet).
>
> It looks like you should be using the IP 24.6.81.1 as the destination for
> your first eth1 route, not the subnet.
>
> it should read
>
> Kernel IP routing table
> Destination Gateway Genmask Flags MSS Window irtt>
>Iface
> 192.168.1.0 0.0.0.0 255.255.255.0 U 1500 0 0 eth0
> 24.6.81.1 0.0.0.0 255.255.255.0 U 1500 0 0 eth1
> 127.0.0.0 0.0.0.0 255.0.0.0 U 3584 0 0
> lo
> 0.0.0.0 24.6.81.1 0.0.0.0 UG 1500 0 0 eth1
>
> hth
> charles
>
> ===== Original Message from Mark Riehl <[EMAIL PROTECTED]> at 3/19/99 10:23 pm
> >All,
> >
> >I'm trying to set up a masquerader using Red Hat 5.2 (kernel 2.0.36) to
> >connect a home net (192.168.1.0) to my ISP (cable). The home net
> >consists of a Win 98 machine and a Linux/Win98 machine. The masquerader
> >is a 486/100.
> >
> >I followed everything in the HOWTO, rebuilt the kernel and set the
> >FORWARD_IPV4 flag to true. I can't ping from the masquerader to the ISP
> >default gateway.
> >
> >Here is my routing table. Does anything look out of place? Anyone have
> >any suggestions of what else I should look into?
> >
> >Kernel IP routing table
> >Destination Gateway Genmask Flags MSS Window irtt Iface
> >192.168.1.0 0.0.0.0 255.255.255.0 U 1500 0 0 eth0
> >24.6.81.0 0.0.0.0 255.255.255.0 U 1500 0 0
> eth1
> >127.0.0.0 0.0.0.0 255.0.0.0 U 3584 0 0
> lo
> >0.0.0.0 24.6.81.1 0.0.0.0 UG 1500 0 0
> eth1
> >
> >Thanks,
> >Mark
> >
> >
> >_______________________________________________
> >Masq maillist - [EMAIL PROTECTED]
> >http://tiffany.indyramp.com/mailman/listinfo/masq
> >Admin requests can be handled by web (above) or [EMAIL PROTECTED]
_______________________________________________
Masq maillist - [EMAIL PROTECTED]
http://tiffany.indyramp.com/mailman/listinfo/masq
Admin requests can be handled by web (above) or [EMAIL PROTECTED]