Find the answer to your Linux question:
Results 1 to 2 of 2
Hi, I am using redhat 6.0 I want to give fixed IP to the client machine over a network using DHCP server. can anyone help me with the procedure thanks...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2012
    Posts
    11

    Giving fixed IP address to the desired machine using DHCP server


    Hi,

    I am using redhat 6.0

    I want to give fixed IP to the client machine over a network using DHCP server.

    can anyone help me with the procedure


    thanks

  2. #2
    Linux Newbie arespi's Avatar
    Join Date
    May 2011
    Location
    Monterrey , Mexico
    Posts
    149
    Hi , want you want is called a "reservation" and it is something common if you use a Wndows DHCP Server, but can also be done adding the entry in you dhcpd.conf. Lets suppose you want to give a host with the mac address 00:1A:4B:84:1A:61 the ip address 172.16.19.5 and the host name MYPC-ONE, then you add this:



    # routing via firewall
    option routers 172.16.19.5;

    host mypc-one {
    hardware ethernet 00:1A:4B:84:1A:61 ;
    fixed-address mypc-one.domain.com ;
    }

    Good luck.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •