Same dhcp server offers two gateways?

Same dhcp server offers two gateways?

Post by Raqueeb Hass » Thu, 11 Jul 2002 11:59:29



Hello Everyone!

Good morning! My network has got two Internet gateways. It's a huge
network, but the bandwidth is little less. so I had to offer two
gateways ..... now, in this case, dhcpd has to offer one gateway to
half of the network users and another to rest of the users. do I have
to make groups? .... can I assign different gateways to the the HOST
specific parameters? My global parameter has a common gateway and
certain hosts has a different gateway .... is that possible? Please
provide me a sample dhcpd.conf file which has different gateways to
users or in host specific parameters, would you, please?

my current dhcpd.conf looks like this .....

 subnet 192.168.0.0 netmask 255.255.255.0 {
              range 192.168.0.20 192.168.0.199;
              default-lease-time 2592000; max-lease-time 3592000;
              option subnet-mask 255.255.255.0;
              option broadcast-address 192.168.0.255;
              option routers 192.168.0.1;
              option domain-name-servers 192.168.0.1;
              option domain-name "test.org";
            }

host bosspc {
   hardware ethernet 11:0.............;
   fixed-address 192.168.0.11;

Quote:}

host secpc {
   hardware ethernet 33:02:...........;
   fixed-address 192.168.0.10;

Quote:}

host testbed {
   hardware ethernet 00:88:...........;
   fixed-address 192.168.0.12;

.................... and so on ....

thanks in advance!

raqueeb hassan
bangladesh

"with great power comes great responsibility" ...... spiderman

 
 
 

Same dhcp server offers two gateways?

Post by Raqueeb Hass » Fri, 12 Jul 2002 12:00:38


oh yes .... that is possible .... and i found it :-) so for sharing
with you guys ....

server-identifier www.rim.edu.bt;
default-lease-time 43200;
max-lease-time 86400;

subnet 192.168.1.0 netmask 255.255.255.0 {
        range 192.168.1.100 192.168.1.200;
        option broadcast-address 192.168.1.255;
        option routers 192.168.1.1;
        option domain-name-servers 202.144.157.209, 202.144.157.210 ;
        option time-offset 39600;
        option ip-forwarding on;
        option netbios-name-servers 192.168.1.2, 192.168.1.4;
        option netbios-dd-server 192.168.1.2, 192.168.1.4;
        option netbios-node-type 8;

        host printserver1 {
                hardware ethernet 00:80:c8:bd:ab:99;
                fixed-address 192.168.1.5;
        }
        host takeshi {
                hardware ethernet 00:90:cc:10:70:c1;
                fixed-address 192.168.1.10;
        }

Quote:}

subnet 202.144.157.208 netmask 255.255.255.240 {
        range 202.144.157.215 202.144.157.221;
        option broadcast-address 202.144.157.223;
        option routers 202.144.157.222;
        option domain-name-servers 202.144.157.210, 202.144.157.209;
        option domain-name "rim.edu.bt";
        option time-offset 39600;
        option ip-forwarding on;

Quote:}

hope this help :-)

raqueeb hassan
bangladesh

 
 
 

1. One DHCP server - two interfaces - two subnets

Hi
        I run a DHCP server which supports wired internet in the internal LAN range
192.168.0.1/24. Now I wish to add a wireless internet LAN in the internal
LAN range 10.0.0.1/24. How do I accomplish this ?

/etc/dhcpd.conf :

option www-server       207.75.181.2,141.213.6.5,141.213.6.1;
ddns-update-style ad-hoc;

subnet 192.168.0.0 netmask 255.255.255.0
{
        range 192.168.0.3       192.168.0.10;

subnet 10.0.0.0 netmask 255.255.255.0
{
        range 10.0.0.3  10.0.0.10;

host clientwired
{
        hardware ethernet       wr:wr:wr:wr:wr:wr;
        fixed-address           192.168.0.2;

host clientwireless
{
        hardware ethernet       wl:wl:wl:wl:wl:wl;
        fixed-address           10.0.0.2;

where wr:wr:wr:wr:wr:wr and wl:wl:wl:wl:wl:wl are the obfuscated hardware
addresses for two clients - one wired and one wireless. How do I make sure
that the server listens on eth0 for the wired connections (192.168.0.1/24 -
as it already does) and wlan0 for wireless connections (10.0.0.1/24) ?

Thanks,

MS

2. ATI Xpert@Play 98

3. server DHCPD ISC Linux and broadcast DHCP OFFER and ACK

4. Compile (linking) troubles...

5. dhcp client not receiving offer from server

6. Recursive mutex locking in single-threaded process?

7. Router with DHCP server that offers static (permanent) leases

8. MFM, SCSI & Linux.

9. How Can I Reject Offers from Unwanted DHCP Servers?

10. DHCP server offering an IP addresses of a wrong subnetwork

11. does anyone know how to assign a Default gateway using Solaris 2.6 DHCP server ?

12. DHCP server as gateway ?

13. Gateway/DHCP linux server setup