Results 1 to 2 of 2
|
Enjoy an ad free experience by logging in. Not a member yet? Register.
|
|
-
06-14-2012 #1
- Join Date
- Jun 2012
- Posts
- 11
Giving fixed IP address to the desired machine using DHCP server
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
-
06-14-2012 #2
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.