TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [TCLUG:2655] Routing question...




On 08-Dec-98 Chad C. Walstrom wrote:
> I'm having a little trouble with IP masquerading still, and I was
> wondering if it had to do with the routing.
> 
> Kernel
>   * Linux 2.0.36
>   * Compiled with options outlined in IP-Masquerade.txt mini
>       HOWTO.
> 
> Connectivity
>   * PPP connection to ISP - PAP authentication
>     - defaultroute
>     - noproxyarp
> 
> LAN
>   * 192.168.1.1
>     - Linux 2.0.36
>     - Wookimus.icewall.org
>     - BIND 8 running successfully
>         Forward-only to ISP DNS servers
>     - DHCP running successfully
>         Addresses 192.168.1.32 - 64
>   * Windows 98 Client
>     - Mynoc.icewall.org
>     - Successfully addresses NIC
>     - Does not list "Default gateway" in network card config
>     - Gateways set to 192.168.1.1 in TCP/IP config for network card
> 
> Routes
>   * Nets
>     - route add -net 255.255.255.255 netmask 255.255.255.255 eth0
>         (Needed for Windows client)
>     - route add -net 192.168.1.0 netmask 255.255.255.0 eth0
>         (icewall.org)
>   * Hosts
>     - route add -host 127.0.0.1 netmask 255.255.255.0 lo
>   * pppd Adds...
>     - route to internet access host
>     - default gateway to internet access host
> 
> It seems like everything should be in order, but for some reason, I
> still can't access the internet through my Win98 machine.

I see that the netmasks on your server and your Win98 box differ... try setting 
them both to 255.255.255.0.  That how mine are set up and my masquerading works
just fine.  

Gabe

> 
> In addition, could someone tell me why you are supposed to route to
> the local loopback device as a host rather than a net?  In what case
> would you need to do the following:
>     - route add -net 127.0.0.0 netmask 255.255.255.0
> 
> Thanks,
> Chewie
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tclug-list-unsubscribe@listserv.real-time.com
> For additional commands, e-mail: tclug-list-help@listserv.real-time.com
> Try our website: http://tclug.real-time.com

----------------------------------
E-Mail: Gabe Turner <dopp@acm.cs.umn.edu>
Date: 08-Dec-98
Time: 12:18:32

"Blood is life and it shall be all ours!" -Dimmu Borgir "The Night Masquerade"
----------------------------------