DOC PREVIEW
SMC CS 78 - Services: DHCP - dynamic host configuration protocol

This preview shows page 1-2 out of 6 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 6 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 6 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 6 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

1© David Morgan 2003,2004Services:DHCP - dynamic host configuration protocolDavid Morgan© David Morgan 2003,2004What does “dynamic host configuration” mean? dynamic: automatic host: a network-attached computer configuration: the non-physical (software) settings required for network participation, mainly an address2© David Morgan 2003,2004DHCP is client-server client - requests an address and network info, via broadcast server - dispenses addresses in response from a pool, reclaims and recycles them after an expiry period© David Morgan 2003,2004DHCP client software dhcpcd, or pump (installed with RedHat 6.x), or dhclient, or3© David Morgan 2003,2004Client: address acquisition on interface eth0 manual– pump -i eth0 (or dhclient, or other client…) automatic - /etc/sysconfig/network-scripts/ifcfg-eth0– ONBOOT=yes– BOOTPROTO=dhcp confirmation– ifconfig eth0© David Morgan 2003,2004DHCP server software dhcpd /etc/dhcpd.conf - configuration file to turn it on:– /etc/rc.d/init.d/dhcpd start, or equivalently– service dhcpd startto turn it off:– /etc/rc.d/init.d/dhcpd stop, or equivalently– service dhcpd start4© David Morgan 2003,2004dhcpd.conf - set address poolSubnet 192.168.3.0 netmask 255.255.255.0 {range 192.168.3.10 192.168.3.100;range 192.168.3.110 192.168.3.200;}© David Morgan 2003,2004dhcpd.conf - fixed addresshost micron {hardware ethernet 08:00:2b:4c:59:23;fixed-address 192.168.3.101}5© David Morgan 2003,2004dhcpd.conf - other hostsoption routers 192.168.3.254;option domain-name-servers 192.168.3.1 192.168.3.2;option netbios-name-servers 192.168.3.3;© David Morgan 2003,2004dhcpd.conf - other infooption domain-name “mydomain.org”;default-lease-time 600;max-lease-time 7200;6© David Morgan 2003,2004Rental agreement -/var/lib/dhcp/dhcpd.leaseslease 207.168.7.50 {starts 5 2000/08/18 04:49:52;ends 5 2000/08/18 16:49:52;hardware ethernet 00:80:c8:e2:af:61;uid 01:00:80:c8:e2:af:61;client-hostname


View Full Document

SMC CS 78 - Services: DHCP - dynamic host configuration protocol

Download Services: DHCP - dynamic host configuration protocol
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Services: DHCP - dynamic host configuration protocol and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Services: DHCP - dynamic host configuration protocol 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?