TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Routing question...
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.
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