HI ALL, My question regarding DHCP configuration spceially in section of fixed ip to specified mac address, so how many fixed ip and mac address can i specified ? 1,2,3 ..... and the proper syntax.
thanks all,
On Mon, 2007-02-26 at 09:49 +0300, ismail bushra wrote:
My question regarding DHCP configuration spceially in section of fixed ip to specified mac address, so how many fixed ip and mac address can i specified ? 1,2,3 ..... and the proper syntax.
man dhcpd.conf man dhcpd
This is an example taken from parts of my /etc/dhcpd.conf file:
host flakey { hardware ethernet 00:00:21:25:92:fb; fixed-address 192.168.1.180; set ddns-rev-name = "9.1.168.192.in-addr.arpa."; option host-name "deadmeat"; update-static-leases on; }
A client calling itself flakey, that matches the MAC after "hardware ethernet" gets set the fixed IP address, that reverse IP address is set into my dynamic DNS server, the client is told to use the "deadmeat" hostname (instead of flakey), and the dynamic DNS system writes the change into the DNS records, even though this is a static entry.
You don't need all of that, that's just some of the possiblities.
If I want to add more than one hardware ethernet and fixed IP can i ? and how many ?
On 2/26/07, Tim ignored_mailbox@yahoo.com.au wrote:
On Mon, 2007-02-26 at 09:49 +0300, ismail bushra wrote:
My question regarding DHCP configuration spceially in section of fixed ip to specified mac address, so how many fixed ip and mac address can i specified ? 1,2,3 ..... and the proper syntax.
man dhcpd.conf man dhcpd
This is an example taken from parts of my /etc/dhcpd.conf file:
host flakey { hardware ethernet 00:00:21:25:92:fb; fixed-address 192.168.1.180; set ddns-rev-name = "9.1.168.192.in-addr.arpa."; option host-name "deadmeat"; update-static-leases on; }
A client calling itself flakey, that matches the MAC after "hardware ethernet" gets set the fixed IP address, that reverse IP address is set into my dynamic DNS server, the client is told to use the "deadmeat" hostname (instead of flakey), and the dynamic DNS system writes the change into the DNS records, even though this is a static entry.
You don't need all of that, that's just some of the possiblities.
-- (This box runs FC5, my others run FC4 & FC6, in case that's important to the thread.)
Don't send private replies to my address, the mailbox is ignored. I read messages from the public lists.
-- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
On Mon, 2007-02-26 at 15:02 +0300, ismail bushra wrote:
If I want to add more than one hardware ethernet and fixed IP can i ? and how many ?
You'd just repeat the same sorts of things as in that stanza for other PCs. You could configure three different PC, thus:
host flakey { hardware ethernet 00:00:21:25:92:fb; fixed-address 192.168.1.180; }
host webserver { hardware ethernet 00:00:20:15:34:a7; fixed-address 192.168.1.125; }
host gamesbox { hardware ethernet 00:00:37:9e:35:b4; fixed-address 192.168.1.17; }