shared networks for known and unknown clients?

New Message Reply Date view Thread view Subject view Author view Attachment view

From: Jason Poley (jpoley@ucsbhrs.housing.ucsb.edu)
Date: Fri Aug 25 2000 - 16:16:08 CDT


Okay, I understand the examples in the man pages for multiple ranges of the
same network, one for registered (and routed) and one for unregistered (and
unrouted) host addresses.

example:

subnet 10.0.0.0 netmask 255.255.255.0 {
        option routers 10.0.0.254;

        # Unknown clients get this pool.
      pool {
           option domain-name-servers bogus.example.com;
           max-lease-time 300;
           range 10.0.0.200 10.0.0.253;
           allow unknown clients;
      }

      # Known clients get this pool.
      pool {
           option domain-name-servers ns1.example.com, ns2.example.com;
           max-lease-time 28800;
           range 10.0.0.5 10.0.0.199;
           deny unknown clients;
      }
}

Now, what I need to do it have these two pools be in two different networks
sharing the same wire, since I do not use NAT for hosts, but I do not have
enough real IP addresses to waste some on non-routable.

Can I do this?

shared-network Anacapa {
        #unknown clients get this network
        subnet 10.20.0.0 netmask 255.255.255.0 {
                range 10.20.0.1 10.20.0.254;
                option routers 10.0.0.254;
                allow unknown clients;
        }

        #known clients get this network
        subnet 128.111.30.0 netmask 255.255.255.0 [
                range 128.111.30.2 128.111.30.254;
                option routers 128.111.30.1;
                deny unknown clients;
        }
}

JDP

-----------------------------------------
Jason Poley
Residential Network Coordinator
University of California at Santa Barbara
(805) 893-4016
jpoley@housing.ucsb.edu
**********************************************************************
To unsubscribe from this list, send an e-mail message to
majordomo@southwestern.edu containing a single line with the words:
unsubscribe netreg
Send requests for assistance to: owner-netreg@southwestern.edu
**********************************************************************


New Message Reply Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.4 : Thu Aug 12 2004 - 12:01:34 CDT