Sponsored Content
Special Forums IP Networking dhcp configuration for MAC address Post 302282143 by ouzist on Friday 30th of January 2009 08:16:03 AM
Old 01-30-2009
I managed to do it finally. Here is the working conf. for such an issue...

Code:
<<dhcpd.conf>>

ddns-update-style none;
ignore client-updates;


subnet 0.0.0.0 netmask 0.0.0.0 {
               


        option mobile-ip-home-agent 10.0.3.254;
                
        option domain-name              "abc.net.tr";
        option domain-name-servers      195.175.39.39;
                
                
class "erkan" {
        match option dhcp-client-identifier;
        lease limit 2;
       }
subclass "aaaa" 1:00:12:cf:89:61:76; 
subclass "aaaa" 1:00:19:cb:73:e0:06;
        
        pool {
    
    option subnet-mask 255.255.255.0;
        option broadcast-address 10.0.1.255;
        option routers 10.0.1.254;

        allow members of "aaaa";
        
    default-lease-time 21600;
        max-lease-time 43200;
                range 10.0.1.10 10.0.1.100;

    
        }

    pool {

        option routers                  10.0.4.254;
    option broadcast-address        10.0.4.255;
        option subnet-mask              255.255.255.0;

    range dynamic-bootp 10.0.4.10 10.0.4.100;

        default-lease-time 21600;
        max-lease-time 43200;


    }

 

9 More Discussions You Might Find Interesting

1. IP Networking

How to Achive IP address through MAC(Ethernet) address

Hi sir, i want to make such programe which takes MAC(Ethernet) address of any host & give me its IP address....... but i'm nt getting that how i can pass the MAC address to Frame........ Please give me an idea for making such program... Thanks & regards Krishna (3 Replies)
Discussion started by: krishnacins
3 Replies

2. Red Hat

DHCP configuration

Hi, I'm just wanna configure dhcp server using redhat enterprise 4.0 as. can anyone help me on this, on setting using two NICs. Thankx. (1 Reply)
Discussion started by: johan_sysv
1 Replies

3. UNIX for Dummies Questions & Answers

Solaris Machine IP Configuration via DHCP

I have a new solaris machine and I am trying to bring the same on network. The IP assignemnt is via DHCP. I want to know as which files need to be modified to include DHCP server IP in order that the machine gets its IP via DHCP server. Thanks in Advance. :) (1 Reply)
Discussion started by: Ashvin Gaur
1 Replies

4. Debian

Question on the dhcp-server configuration for a fixed IP address.

Hi , when i configure my server with a fixed ip address in dhcpd.conf as below subnet 172.21.151.0 netmask 255.255.255.0 { range 172.21.151.66 172.21.151.66; } host switch { hardware ethernet 00:05:30:02:DB:31; fixed-address 172.21.151.66; } when i start dhcpd server , it... (2 Replies)
Discussion started by: Gopi Krishna P
2 Replies

5. UNIX for Dummies Questions & Answers

DNS & DHCP configuration

Hi to all. Sorry for my bad english. For pure self-educational, not professional, purposes, I am studying how to configure a server with several services operating on it. For my experiment I'm using VirtualBox 3.1.4 on a WinXP host with 3 FreeBSD guests; one acts as a DHCP + DNS server; the... (0 Replies)
Discussion started by: marboxer
0 Replies

6. IP Networking

Tracing a MAC address to IP address: Solaris

Hi there I lost connectivity to one of our remote systems and when I checked the messages log I found the following: Aug 10 23:42:34 host xntpd: time reset (step) 1.681729 s Aug 16 13:20:51 host ip: WARNING: node "mac address" is using our IP address x.x.x.x on aggr1 Aug 16 13:20:51 host... (9 Replies)
Discussion started by: notreallyhere
9 Replies

7. IP Networking

Get DHCP relay interfaces IP address using DHCP

Hi All , please view the set up below: ------------------------------------------------------------------- | DHCP Server |-----------| ROUTER & |-----------| Clients | | 192.168.99.1 | - -<eth1>| DHCP-RELAY|<eth2>-- | 192.168.88.X | ... (2 Replies)
Discussion started by: gdangoor
2 Replies

8. IP Networking

DHCP option 90 Configuration on Linux

Hello Friends, I am looking for the configuration steps to enable option 90 on Linux DHCP server.Also i need to add secret id to be configured for option 90. can someone help me in providing the steps with parameter values . Thanks in advance, Veera (0 Replies)
Discussion started by: veera_s99
0 Replies

9. IP Networking

MAC Address - Four Interfaces with the same MAC Address

four interfaces with ifconfig all interfaces have the same mac. If is not set for unique. but it still works. what difference does it make to have all macs the same or different? (4 Replies)
Discussion started by: rrodgers
4 Replies
All times are GMT -4. The time now is 03:14 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy