*** From dhcp-server -- To unsubscribe, see the end of this message. ***

I am running dhcp server Version 2 beta 1 patchlevel 27 that I downloaded,
built and installed on a PC running Caldera OpenLinux 1.3 with a 2.0.35
Linux kernel. My simple test network comprises the Linux PC, which also
acts as an Internet gateway, and a Windows 95 PC. My /etc/dhcpd.conf file
is:

        default-lease-time 600;
        max-lease-time 7200;
        subnet 192.168.1.0 netmask 255.255.255.0 {
          range 192.168.1.3 192.168.1.99;
          option broadcast-address 192.168.1.255;
        #  option routers prelude.fugue.com;
        }

and I appear to be successful in running /usr/sbin/dhcpd manually:
May 21 18:42:47 wallaby usr/sbin/dhcpd: Listening on
Socket/eth0/192.168.1.0
May 21 18:42:47 wallaby usr/sbin/dhcpd: Sending on  
Socket/eth0/192.168.1.0
May 21 18:43:33 wallaby usr/sbin/dhcpd: DHCPDISCOVER from 00:90:27:50:c8:5f
via eth0
May 21 18:43:34 wallaby usr/sbin/dhcpd: DHCPOFFER on 192.168.1.3 to
00:90:27:50:c8:5f via eth0
May 21 18:43:34 wallaby usr/sbin/dhcpd: DHCPREQUEST for 192.168.1.3 from
00:90:27:50:c8:5f via eth0
May 21 18:43:34 wallaby usr/sbin/dhcpd: DHCPACK on 192.168.1.3 to
00:90:27:50:c8:5f via eth0

I did not have to do 'route add -host 255.255.255.255 dev eth0' mentioned
in the README file, and the problem I am having did not go away even when I
added the host route later.

After I changed the Windows 95 PC to "Obtain an IP address automatically"
in Control Panel | Network, and rebooted, the Windows 95 PC successfully
obtains an IP address. I can communicate between the Windows 95 PC and the
Linux gateway PC, e.g. telnet from Windows PC to Linux PC works, and every
few minutes the Linux PC log file shows what appears to be normal renewal
of the IP address lease:
May 21 18:48:33 wallaby usr/sbin/dhcpd: DHCPREQUEST for 192.168.1.3 from
00:90:27:50:c8:5f via eth0
May 21 18:48:33 wallaby usr/sbin/dhcpd: DHCPACK on 192.168.1.3 to
00:90:27:50:c8:5f via eth0

However, my Windows 95 PC is unable to reach Internet websites through the
Linux gateway PC; it had been able to do that all along. The error message
dialog is:
        Internet Explorer cannot open the Internet site http://www.nytimes.com/.
        A connection with the server could not be established

Changing the Windows PC back to "Specify an IP address" with IP Address
192.168.1.3 and Subnet Mask 255.255.255.0, and re-booting, gets the Windows
PC back to be able to assess Internet websites through the Linux gateway
PC.

The Linux PC is configured for IP forwarding. I also use ipfwadm commands
to filter out netbios datagrams from ports 137-139 (to avoid diald dialing
out spuriously), and for IP masquerading:
        /sbin/ipfwadm -F -p deny
/sbin/ipfwadm -F -a deny -P tcp -S 0.0.0.0/0 137:139
/sbin/ipfwadm -F -a deny -P udp -S 0.0.0.0/0 137:139
        /sbin/ipfwadm -F -a m -S 192.168.1.0/24 -D 0.0.0.0/0
I also do, at bootup in rc.local file,
        echo 7 > /proc/sys/net/ipv4/ip_dynaddr
to have the kernel use the dynamic ip address assigned to pppd after I
connect to my dialup ISP.

I wonder if there is a conflict somewhere. Any help is _gratefully_
appreciated. Thanks.

- - -CL


------------------------------------------------------------------------------
To unsubscribe from this list, please visit http://www.fugue.com/dhcp/lists
If you are without web access, or if you are having trouble with the web page,
please send mail to [EMAIL PROTECTED]   Please try to use the web
page first - it will take a long time for your request to be processed by hand.

Archives for this mailing list are available at 
http://www.webnology.com/list-archives/dhcp/dhcp-server

------------------------------------------------------------------------------

Reply via email to