Re: Problem with dhcpd/ip_masq
On Mon, 20 Oct 1997, Michael Legart wrote:
> Hmmm... now i'm a little confused. Nils Renebarth just told me that I have
> to be running a dns server...! My isp have 2 of them...
You must. But a caching only one is sufficient.
> Oct 20 21:25:46 badpixel dhcpd: Copyright 1995, 1996 The Internet Software
> Consortium.
> Oct 20 21:25:46 badpixel dhcpd: All rights reserved.
> Oct 20 21:25:46 badpixel dhcpd: Listening on Socket/eth0/192.168.0.0
> Oct 20 21:25:46 badpixel dhcpd: Sending on Socket/eth0/192.168.0.0
This is ok
> Oct 20 21:34:17 badpixel pppd[220]: local IP address 194.239.144.47
> Oct 20 21:34:17 badpixel pppd[220]: remote IP address 194.182.253.26
This means you get a single IP address only. The only way to make the
Windows 95 boxes access the internet is through proxys or by using
ip-masquerading. I'd suggest proxying first, when it works try the
masquerading stuff
> Oct 20 21:34:17 badpixel pppd[220]: Cannot determine ethernet address for
> proxy ARP
Remove the proxyarp option from your ppp options.
> And this is my routeing table:
>
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use
> Iface
> 255.255.255.255 * 255.255.255.255 UH 0 0 0 eth0
> asc1.gby.tele.d * 255.255.255.255 UH 0 0 0 ppp0
> localnet * 255.255.255.0 U 0 0 0 eth0
> loopback * 255.0.0.0 U 0 0 5 lo
> default * 0.0.0.0 U 0 0 1 ppp0
As I said, this is ok, but your Windows 95 boxes won't see the internet.
All internet services need to be proxied by the Linux box, DNS beeing one
of these.
Install bind with
dpkg -i /path/to/bind/bind_4.9.6-1.deb
and answer all questions with RETURN, except
Forwarder Hosts
where you put in the IP's of your ISP's nameserver. Bingo, nameserver set
up. This is really simple. Now put 192.168.0.250 as the IP of your DNS
server in the DHCP configuration.
Now install squid and let the Windows 95 clients use 192.168.0.250 port
3128 use as proxy for http, secure http, ftp and gopher. Now they can surf
the Internet.
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org .
Trouble? e-mail to templin@bucknell.edu .
Reply to: