Rod,
have you set up the routing tables, to me it sounds like a routing problem.
Mine for example are:
# Attach The EtherNet Devices
/sbin/ifconfig eth0 aaa.bbb.ccc.ddd broadcast aaa.bbb.ccc.ddd.fff
/sbin/ifconfig eth1 192.168.0.1 broadcast 192.168.0.255
# Uncomment these to set up your IP routing table.
/sbin/route add -net aaa.bbb.ccc netmask 255.255.255.0 eth0
/sbin/route add -net 192.168.0.0 netmask 255.255.255.0 eth1
/sbin/route add default gw aaa.bbb.ccc.eee eth0
Where:
aaa.bbb.ccc.ddd is My IP Address
aaa.bbb.ccc.eee is The Gateway Address Provided to me By My ISP
aaa.bbb.ccc.fff is The Broadcast Address, I Really had no idea what this
was when i first saw it, i just sortta made it up. Well Educated Guess. I
saw all the other Broadcast Addrs ended with 255 so i just put 255 into the
last space of my ip.
My situation is slightly diffrent from your's in that I have a Ethernet
Connection to the Internet but in theory the set up is much the same.
At 03:58 PM 3/25/1998 GMT, you wrote:
>Hi:
>
>I'm trying without success to get IP masquerading to work. It seems
>that pings are going from one box on the LAN to the IP Masq Gateway
>but not out the IP Masq Gateway through the PPP connection to the
>Internet.
>
>Here's my setup:
>
> Computer #1: (Acts as the IP Masq Gateway)
> Running Linux 2.0.33 (RedHat-5.0) compiled with:
> CONFIG_EXPERIMENTAL=y
> CONFIG_MODULES=y
> CONFIG_NET=y
> CONFIG_FIREWALL=y
> CONFIG_INET=y
> CONFIG_IP_FORWARD=y
> CONFIG_IP_FIREWALL=y
> CONFIG_IP_MASQUERADE=y
> CONFIG_IP_MASQUERADE_ICMP=y
> CONFIG_IP_MASQUERADE_IPAUTOFW=y
> CONFIG_IP_ALWAYS_DEFRAG=y
> CONFIG_DUMMY=m
> One ethernet interface:
> IP Address = 192.168.1.1
> Network Mask = 255.255.255.0
> One dialup PPP connection with ISP
> The following modules are loaded:
> ip_masq_irc
> ip_masq_raudio
> ip_masq_ftp
>
> Computer #2: (Acts as a regular host on the LAN)
> Running Windows NT 4.0 Server
> One ethernet interface:
> IP Address: 192.168.1.2
> Network Mask: 255.255.255.0
> Default Gateway: 192.168.1.1
>
>Here is what I *can* do:
>
> Both the Linux and NT machines can ping each other, transfer files,
> etc. on the LAN without any problem.
>
> The Linux machine can ping other machines out over the Internet via
> the PPP connection without any problem.
>
>Here is what I can *not* do:
>
> The NT machine can't ping anything over the Internet. I even try
> pinging the IP address of the other end of the PPP link (the one at
> the ISP) and it doesn't work. I'm not using domain names but rather
> using IP addresses directly and it still doesn't work.
>
> On the Linux machine, I've setup two additional console windows, one
> running 'tcpdump -i eth0 -n' and the other running 'tcpdump -i ppp0
> -n'. When I ping an IP address over the Internet from the Linux
> machine, I see traffic going out the ppp0 interface, via tcpdump and
> the pings work. When I ping an IP address over the Internet from
> the NT machine, I see the ICPM echo request on the eth0 interface of
> the Linux machine but I do not see any traffic over the ppp0
> interface of the Linux machine. The NT machine reports "Request
> timed out".
>
> It appears to me that the Linux machine is not forwarding the
> packets from the NT machine out the ppp0 interface. I read in one
> of the IP Masq Web pages that I need to do 'echo "1" >
> /proc/sys/net/ipv4/ip_forward' and I indeed did that and then
> confirmed it by cat'ing ip_forward which had just the digit '1'.
>
>How can I monitor when and whether an IP packet is being forwarded?
>
>How can I tell whether IP forwarding is enabled? Do I inspect
>/proc/sys/net/ipv4/ip_forward to see if it contains the digit '1'?
>
>Why isn't my IP Masquerading working?
>
>Any help would be appreciated in solving this.
>
>Thanks
>-Rod
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>For daily digest info, email [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For daily digest info, email [EMAIL PROTECTED]