Freebsd ---- Dhcpserver -- Linux Enterprise Application-Linux server application information. The following is a detailed description. Dhcp server
1 cd/usr/ports/net/isc-dhcp3-server
Make install clean
2. Create dhcpd. conf in the/usr/local/etc/dhcpd. conf. sample file.
Ee/usr/local/etc/dhcpd. conf
3
Default-lease-time 600;
Default Client address lifetime/second
Max-lease-time 7200;
Maximum Lifetime/second
Option domain-name "warder_cn ";
Domain Name Server
Option domain-name-servers
addresses without virtual dialing. Web Interface Management: The current home routers are all web interface management, which is very convenient to use, just like accessing the Internet at ordinary times. These two functions are the most essential of a home Broadband Router, as long as it is a home Broadband Router, it is certainly supported.
Summary
Finally, let's talk about some interesting things: in fact, the vro also has CPU and memory, which is equivalent to a small computing, and also ha
-Link's home Wireless Broadband Router products are favored by many users because they have simple installation and configuration, and strong control capabilities, in particular, DI-624 + A this home Wireless Broadband Router has been the market selling products, design more to cater to the aesthetic concept of young people, the D-Link logo is prominently embedded in the middle of its black top, stable and generous. D-Link DI-624 + A wireless router supports 802.11g standard, external removable
speed of 533 MHz and complies with IEEE 802.3, IEEE 802.3u, and IEEE 802.3x standards; supports TCP/IP, PPPoE, DHCP, ICMP, NAT, SNTP, DNS, TFTP, ARP, and other protocols; supports binding IP addresses to MAC to prevent unauthorized computer access to the network; supports network management functions such as IP Client filtering, domain name filtering, and MAC address filtering; supports Auto MDI/MDIX; supports port bandwidth control, port VLAN division, and Port Mirroring; supports
unattended installation, you only need one portal, but you need to specify the path of the kickstart configuration file.
[Root @ localhost/] # vim/var/lib/tftpboot/pxelinux. cfg/default
Default auto
Prompt 0
Label auto
Kernel vmlinuz
Append ks = ftp: // 192.168.1.1/rhel6/ks. cfg initrd = initrd. img devfs = nomount ramdisk_size = 8192
5. Install and enable the DHCP service
The PXE client is usually a bare metal that has not yet installed the system, so in order to get in touch with the server
original RHEL6 file is as follows:It may seem messy at first)# Dhcpd. conf## Sample configuration file for ISC dhcpd## Option definitions common to all supported networks...Option domain-name "example.org ";Option domain-name-servers ns1.example.org, ns2.example.org;Default-lease-time 600;Max-lease-time 7200;# Use this to enble/disable dynamic dns updates globally.# Ddns-update-style none;# If this DHCP server is the official DHCP server for the loca
RedHat6.0Enterprise edition configure the DHCPD service first hanging on the cd image: mount/dev/cdrom/mnt/then install dhcp: cd/mnt/Packagesrpm-ivhdhcp-4.1.1-19.P1.el6.x86_64.rpm after the installation will generate a document to introduce dhcpd. conf configuration method, which can be copied to/etc/dhcpd /.
Configure the DHCPD service for RedHat 6.0 Enterprise Edition
First, mount/dev/cdrom/mnt/
Then install dhcp: cd/mnt/Packages
Rpm-ivh dhcp-4.1.1-19.P1.el6.x86_64.rpm
After the installation i
"{
Match if substring (option vendor-class-identifier, 0, 9) = "PXEClient ";
Option vendor-class-identifier "PXEClient ";
Vendor-option-space PXE;
# At least one of the vendor-specific PXE options must be set in
# Order for the client boot ROMs to realize that we are a PXE-compliant
# Server. We set the mcast ip address to 0.0.0.0 to tell the boot ROM
# That we can't provide multicast TFTP (address 0.0.0.0 means no
# Address ).
Option PXE. mtftp-ip 0.0.0.0;
# This is the name of the file the
computer connected to a Linux server, and its Nic MAC address is the specified address. The command format is "wakelan MAC address ".
The Installation Method of wakelan is as follows:
# Tar wakelan-1.1.tar.gz
# Cd wakelan-1.1
#./Configure
# Make
# Make install
2. Add a broadcast route
In this actual working environment, machines in the LAN are connected to the eth1 Nic of the Linux server through a switch. To broadcast the entire LAN on a Linux server, add the following route:
# Route add-
configured as DHCP relay proxies. Let's take an experiment and look at the setting method.
Experimental Platform: two servers with Linux system installed, one is the DHCP server Server1, the other is the dhcprelay relay Proxy Server Server2, and the other is the PC1 and PC2 used for testing.
Lab environment: allocate three network segments:
192.168.10.0/24
192.168.20.0/24
Two NICs must be installed on the server used as the DHCP relay Proxy: eth0 and eth1.
IP Address Allocation is as follows:
E
-lease-time 21600; # default lease timeMax-lease-time 43200; # maximum lease timeHardware ethernet 00: 0C: 29: E2: 82: 5C; # retain the MAC address of the hostFixed-address 192.168.21.201; # reserve the IP address of the host, that is, bind the IP address to the hostVi/etc/sysconfig/dhcpd # specify the network interface of the DHCP service# Command line options hereDHCPDARGS = eth0
3. StartService dhcpd start # start The dhcp serviceService dhcpd restart # restart dhcp serviceChkconfig dhcpd on
Localboot 1
Label memtest86
Kernel memtest
Append-
########## Default file default parameters ##################
5) install the Dhcp service and modify the configuration:
Yum install-y dhcp
Copy it to the directory specified by the configuration template and rename it:
Cp/usr/share/doc/dhcp-x.0.1/dhcpd. conf. sample/etc/dhcpd. conf
Modify the configuration file and add a line: filename "/pxelinux.0"
[Root @ localhost isolinux] # vim/etc/dhcpd. conf
Ddns
default gw 192.168.0.2 p128p1 # ifconfig ath0 192.168.3.1 netmask 255.255.255.0 # ifconfig p128p1 on # ifconfig ath0 on 2. download and install the dhcp package # yum install dhcp 3. modify the dhcp configuration file/etc/dhcp/dhcpd. conf, and there is a dhcpd in/usr/share/doc/dhcp-4.1.1. conf. sample, which can be copied and directly changed. (Different versions may vary depending on the path .) # Cp/usr/share/doc/dhcp-4.1.1/dhcpd. conf. sample/etc/dhcp/dhcpd. conf # vi/etc/dhcp/dhcpd. conf: M
Cisco WAG120N is a wireless router.The DDNS settings page in the WEB management interface of Cisco WAG120N has multiple Command Injection Vulnerabilities. By inserting shell commands in submitted parameters (such as Hostname, remote attackers can execute arbitrary commands and obtain root access permissions.
To exploit these vulnerabilities, attackers must first pass WEB identity authentication.
Test method:1. Access http://www.2cto.com/setup. cgi?
Test preparation: One Installation server (CentOS5.5 under the vm) will use the following kits on the Installation server: dhcp, tftp, httpd first: is set on the Installation server [root @ localhost ~] # Yum-yinstalltftp-serverdhcphttpd check installation kits [root @ localhost ~] # Vie
Lab preparation: One Installation server (CentOS5.5 under the vm)
The kit used on the Installation server is dh.Cp, TFtp,Httpd
First, it is the settings on the Installation server.
[Root @ localhost ~] # Yum-y
Article Title: Install the DHCP service and configuration at rpm in Linux. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Configuration of DHCP server in Linux
[Root @ loaclhost/] mount/dev/hdc // mount the disc to/dev/
[Root @ loaclhost/] cd hdc/Server // enter the Server Directory of the Disk
[Root @ loaclhost Server] rpm? Ivh dhcp-3.0.5-7.el5.i386.rpm //
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.