On Fri, 6 Aug 1999, Christopher Quale wrote:
> Hello all,
>
> Sorry in advance for the long, drawn out message.
> I am setting up a ip-masq box (Mandrake 6.0) with two
> ethernet cards. The one connected to the ADSL modem
> is fine (eth1). However, I can't get eth0 to talk to my
> local network. Call the masquerade box A and the (local)
> client B. I know that the local network for B is OK, as I
> can ping another client box C.
>
> Here is the routing table for A (with eth1 down)
>
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use Iface
> 192.168.1.0 * 255.255.255.0 U 0 0
> 0 eth0
> 127.0.0.0 * 255.0.0.0 U 0 0
> 0
> lo
>
> Here is ifconfig eth0:
>
> eth0 Link encap:Ethernet HWaddr 00:A0:24:1A:D2:1A
> 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:604 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:100
> Interrupt:3 Base address:0x300
It transmits the problem is on the other end, i would set the default
gateway for 192.168.1.0 to 192.168.1.1 it's optional but tobe on the safe
side, but it is a must on the other end.
> Here is the ifcfg-eth0 file:
>
> DEVICE="eth0"
> IPADDR="192.168.1.1"
> NETWORK="192.168.1.0"
> NETMASK="255.255.255.0"
> ONBOOT="yes"
> BOOTPROTO="none"
>
>
> When I ping B from A this is part of the result of tcpdump -i eth0 on B:
>
> 11:33:41.282743 arp who-has B tell A
> 11:33:41.282814 arp reply B is-at 0:60:97:74:bc:14
>
> However, I am getting no response on A.. So it appears to be a routing
> problem, but I cannot for the life of me get eth0 on A to respond. BTW,
> the light on the hub is on for the connection to eth0 on A .
>
> I am at wit's end and would ever so appreciate someone pointing out
> what I am missing. I have successfully set up ip-masq fine before, but am
> stuck on this one. Please let me know if other config info would help.
>
> Many thanks,
> Chris
>
>