Configuring Win95 via DHCP from AIX

Configuring Win95 via DHCP from AIX

Post by Dwight Tov » Sat, 15 Feb 1997 04:00:00



I am attempting to set up a DHCP server on my AIX 4.2 box to let our Win95
users get configured automatically.  I know next to nothing about DHCP, but
I have been attempting to dig through the InfoExplorer pages about it.

I have a basically simple network: an ethernet using the unassigned network
address 192.168.1.0 and an MVS CLAW using 192.168.2.0 with the RS6000 acting
as the gateway.  Neither network is connected to the Internet, so there
isn't any routing to worry about other than the two static routes.  All of
the Windows users are connected to the ethernet.

My dhcpsd config file (included below) doesn't use any {} subordinate
statements because I want all of the Windows users to have the same
configuration as far as gateways and DNS servers is concerned.  We will
have a few machines running servers, so they will probably need special
handling, but first I want to get the basic configuration running.

The problem I am having is that after the Win95 system comes up with DHCP
enabled, it has an IP address from the appropriate range, but it doesn't
have the DNS servers or the gateway set.  The worst part is that the route
table doesn't have an entry for the 192.168.1.0 network, so nothing can
get out.

Am I missing something basic in the configuration here or am I expecting
too much of Windows 95?
Here is the dhcpsd.conf file:
===================================8<---------------------------------
numLogFiles     4
logFileSize     100
logFileName     /var/adm/log/dhcpsd.log
logItem         SYSERR
logItem         OBJERR
logItem         PROTERR
logItem         WARNING
logItem         EVENT
logItem         ACTION
logItem         INFO
logItem         ACNTING
logItem         TRACE

network                 192.168.1.0 192.168.1.50-192.168.1.100
subnet                  255.255.255.0
supportBOOTP            no
client 0                hwcs.com any
leaseTimeDefault        30 minutes
leaseExpireInterval     3 minutes
supportunlistedClients  yes
option 1                255.255.255.0           # Subnet Mask
option 4                [192.168.1.2 192.168.1.1]  # Time Server
option 6                [192.168.1.2 192.168.1.1]  # DNS Server
option 7                192.168.1.1             # Log Server
option 9                192.168.1.5             # PCL Printer
option 9                192.168.1.10            # Postscript Printer
option 15               hwcs.com                # Domain Name
option 19               0                       # IP Forwarding false
option 28               192.168.1.0             # Broadcast Address
option 33               192.168.2.0:192.168.1.2 # Route to MainFrame
===================================8<---------------------------------
Thanks for any help
        /dwight
--
Dwight N. Tovey              H&W Computer Systems, Inc.
Software Specialist III      12438 W. Bridger St.  Suite 100


I didn't claw my way to the top of the food chain to eat vegetables!!

 
 
 

Configuring Win95 via DHCP from AIX

Post by Dwight Tov » Tue, 18 Feb 1997 04:00:00




Quote:> I am attempting to set up a DHCP server on my AIX 4.2 box to let our Win95
> users get configured automatically.  I know next to nothing about DHCP, but
> I have been attempting to dig through the InfoExplorer pages about it.

[ network topology deleted ]

Quote:> The problem I am having is that after the Win95 system comes up with DHCP
> enabled, it has an IP address from the appropriate range, but it doesn't
> have the DNS servers or the gateway set.  The worst part is that the route
> table doesn't have an entry for the 192.168.1.0 network, so nothing can
> get out.

> Am I missing something basic in the configuration here or am I expecting
> too much of Windows 95?

[ dhcpsd.conf deleted]

Well, I have figured out part of the problem.  If I remove my setting
of option 19 (setting IP Forwarding to false), then the Win95 users come
up with a route to the 192.168.1.0 network and the DNS seems to work.
I wouldn't have expected that from changing IP Forwarding.  I thought that
IP Forwarding had to do with passing packets between two networks, something
I don't want the Win95 machines to do if they connect to the Internet
through a dial-up connection.  Any comments there?

Now I just have to figure out how to set the route to the MainFrame for the
Windows users.  Back to the InfoExplorer pages.
        /dwight
--
Dwight N. Tovey              H&W Computer Systems, Inc.
Software Specialist III      12438 W. Bridger St.  Suite 100


I didn't claw my way to the top of the food chain to eat vegetables!!

 
 
 

Configuring Win95 via DHCP from AIX

Post by Greg Althau » Tue, 18 Feb 1997 04:00:00


You should be able to add option 33 for a static route.

option 33 1.1.1.1:1.1.1.2 # or whatever

Greg Althaus
AIX TCPIP Development




> > I am attempting to set up a DHCP server on my AIX 4.2 box to let our Win95
> > users get configured automatically.  I know next to nothing about DHCP, but
> > I have been attempting to dig through the InfoExplorer pages about it.

> [ network topology deleted ]

> > The problem I am having is that after the Win95 system comes up with DHCP
> > enabled, it has an IP address from the appropriate range, but it doesn't
> > have the DNS servers or the gateway set.  The worst part is that the route
> > table doesn't have an entry for the 192.168.1.0 network, so nothing can
> > get out.

> > Am I missing something basic in the configuration here or am I expecting
> > too much of Windows 95?

> [ dhcpsd.conf deleted]

> Well, I have figured out part of the problem.  If I remove my setting
> of option 19 (setting IP Forwarding to false), then the Win95 users come
> up with a route to the 192.168.1.0 network and the DNS seems to work.
> I wouldn't have expected that from changing IP Forwarding.  I thought that
> IP Forwarding had to do with passing packets between two networks, something
> I don't want the Win95 machines to do if they connect to the Internet
> through a dial-up connection.  Any comments there?

> Now I just have to figure out how to set the route to the MainFrame for the
> Windows users.  Back to the InfoExplorer pages.
>         /dwight
> --
> Dwight N. Tovey              H&W Computer Systems, Inc.
> Software Specialist III      12438 W. Bridger St.  Suite 100


> I didn't claw my way to the top of the food chain to eat vegetables!!

 
 
 

Configuring Win95 via DHCP from AIX

Post by Dwight Tov » Wed, 19 Feb 1997 04:00:00




Quote:> You should be able to add option 33 for a static route.

> option 33 1.1.1.1:1.1.1.2 # or whatever

> Greg Althaus
> AIX TCPIP Development

That's what I had originally, but it didn't work.  Apparantly Win95
doesn't like static routes.  Instead, it only wants a list of routers
that it can use.  I added the line:
option 3        192.168.1.2
and the Win95 folk can now get to the Mainframe network.

Next problem: assigning specific addresses to some machines.  We have
Win95 machines that are running server processes and they need to
have the same address every time.  From what I understand of DHCP I
should be able to do it with a phrase similar to:
client 6 0020afd333d2 192.168.1.14
{
        option 1 255.255.255.0
        option 12 "demo"

Quote:}

However, this doesn't seem to work.  This machine had previously been
assigned an address from the pool (192.168.1.52) and it keeps going
back to that address no matter what I do.  I even tried changing the
range of the pool to exclude that address, and in the DHCP log I saw
where the DHCP server sent it a new address, but the Win95 machine
still went to the old address.  Any thoughts here?  I probably need to
get some PTF's for DHCP.

Thanks for any help
        /dwight
--
Dwight N. Tovey              H&W Computer Systems, Inc.
Software Specialist III      12438 W. Bridger St.  Suite 100


I didn't claw my way to the top of the food chain to eat vegetables!!

 
 
 

Configuring Win95 via DHCP from AIX

Post by Dwight Tov » Thu, 20 Feb 1997 04:00:00




Quote:> Next problem: assigning specific addresses to some machines.  We have
> Win95 machines that are running server processes and they need to
> have the same address every time.  From what I understand of DHCP I
> should be able to do it with a phrase similar to:
> client 6 0020afd333d2 192.168.1.14
> {
>    option 1 255.255.255.0
>    option 12 "demo"
> }

> However, this doesn't seem to work.  This machine had previously been
> assigned an address from the pool (192.168.1.52) and it keeps going
> back to that address no matter what I do.  I even tried changing the
> range of the pool to exclude that address, and in the DHCP log I saw
> where the DHCP server sent it a new address, but the Win95 machine
> still went to the old address.  Any thoughts here?  I probably need to
> get some PTF's for DHCP.

> Thanks for any help
>    /dwight

It would help if I read all of the docs first.  Part of my problem here
was that I was using an id_type of '6' (IEEE 802) instead of '1' (ethernet).
I now have it working somewhat with the above section changed to:

client 1 0x0020afd333d2 192.168.1.14 { option 12 "demo" }

This is inside of a network section with the subnet option 1 specified for
the entire section.  Now whenever a system comes up that I have specified
the address for, and it hasn't previously been given an address from the
pool, it gets the assigned address.

I still have the problem with Windows machines insisting on re-using
a previously assigned address even though I send it a new one, but I can
accept that by modifying the config file to assign them that address for
future connects.

Thanks again to those who sent suggestions via email.
        /dwight
--
Dwight N. Tovey              H&W Computer Systems, Inc.
Software Specialist III      12438 W. Bridger St.  Suite 100


I didn't claw my way to the top of the food chain to eat vegetables!!

 
 
 

Configuring Win95 via DHCP from AIX

Post by Greg Althau » Tue, 25 Feb 1997 04:00:00





> > Next problem: assigning specific addresses to some machines.  We have
> > Win95 machines that are running server processes and they need to
> > have the same address every time.  From what I understand of DHCP I
> > should be able to do it with a phrase similar to:
> > client 6 0020afd333d2 192.168.1.14
> > {
> >       option 1 255.255.255.0
> >       option 12 "demo"
> > }

> > However, this doesn't seem to work.  This machine had previously been
> > assigned an address from the pool (192.168.1.52) and it keeps going
> > back to that address no matter what I do.  I even tried changing the
> > range of the pool to exclude that address, and in the DHCP log I saw
> > where the DHCP server sent it a new address, but the Win95 machine
> > still went to the old address.  Any thoughts here?  I probably need to
> > get some PTF's for DHCP.

> > Thanks for any help
> >       /dwight

> It would help if I read all of the docs first.  Part of my problem here
> was that I was using an id_type of '6' (IEEE 802) instead of '1' (ethernet).
> I now have it working somewhat with the above section changed to:

> client 1 0x0020afd333d2 192.168.1.14 { option 12 "demo" }

> This is inside of a network section with the subnet option 1 specified for
> the entire section.  Now whenever a system comes up that I have specified
> the address for, and it hasn't previously been given an address from the
> pool, it gets the assigned address.

> I still have the problem with Windows machines insisting on re-using
> a previously assigned address even though I send it a new one, but I can
> accept that by modifying the config file to assign them that address for
> future connects.

> Thanks again to those who sent suggestions via email.
>         /dwight
> --
> Dwight N. Tovey              H&W Computer Systems, Inc.
> Software Specialist III      12438 W. Bridger St.  Suite 100


> I didn't claw my way to the top of the food chain to eat vegetables!!

I think this is a windows 95 problem.  I think they have fixed, but
some of the release of windows 95 had a tendency to believe in the
once you buy a prize its yours to keep theory.

I think the DHCP server also had a server, but it sounds like you
have fix for it.  The DHCP server was not handling modifications in
the configuration file for already configured clients.  This is
fixed in an available PTF.

Greg Althaus
AIX TCPIP Development - All opinions are mine.

 
 
 

1. DHCP-SERVER under LINUX for remote configuring WIN95

Hello,

I am connecting our school LAN to the Internet via a LINUX Communication
Server. Novell-Netware is acting as a file- and printserver, the
workstations are remote booting from the novell-server and also get
their applications from the novell-server.

For configuring the TCP/IP Numbers, I use bootpd on the LINUX-box and
Trumpet WinSock on the win31 workstations.

But now someone decided, that we must use win95. As far as I know win95
can't handle the bootp-protocol but needs DHCP instead.

Now my QUESTION: Is there any DHCP-SERVER for LINUX available?

Thank you in advance.

Feel free contacting me about any questions concerning LINUX as
a communication server.

Yours Ari Biel

2. Apache (httpd) Segmentation fault

3. Configuring another interface via DHCP

4. can IP masquerading do this ?

5. Configuring Multiple Gateways via DHCP

6. Matrox Mill. + Redhat 4.0

7. Howto configure AIX DHCP Client ?

8. DHCP/DNS/Behind FW => slow internet

9. Help configuring DHCP Server on AIX 4.3 [Long]

10. Configure DHCP and DDNS (Bind8) on AIX 4.3.3

11. How should I configure DHCP client if I work under AIX 3.2 for N40?

12. Configure AIX - ftp commandline access internet via proxy

13. DHCP: How do I configure DHCP server dynamically?????