1. bootm
Bootm [ADDR [arg...]
-Boot application image stored in memory
Passing arguments 'arg... '; when booting a Linux kernel,
'Arg 'can be the address of an initrd Image
The bootm command can boot the program image stored in memory. These memories include Ram and Flash files that can be stored permanently.
The 1st parameter ADDR is the address of the program image. The program image must be converted to the U-boot format.
The 2nd parameters are useful for Linux kernel boot. They are generally
I. Introduction to DHCP protocol
DHCP, full name: Dynamic Host Configuration Protocol, Chinese name: Dynamic Host Configuration Protocol, its predecessor is BOOTP, it works at the OSI application layer, it is a proprietary protocol that helps computers obtain their configuration information from a specified DHCP server.
DHCP uses the Client/Server mode. The computer requesting configuration information is called the DHCP client, and the server providi
interfaces listening on the BOOTP (DHCP) UDP port.
[root@bigboy-f ~]# netstat -au | grep bootpudp 0 0 192.168.1.100:bootps *:*[root@bigboy-f ~]#
Secondly, your/var/log/messages file will also reveal the defined interfaces used when the DHCPD Daemon was restarted.
Jan 8 17:22:44 bigboy dhcpd: Listening on LPF/eth0/00:e0:18:5c:d8:41/192.168.1.0/24Jan 8 17:22:44 bigboy dhcpd: Sending on LPF/eth0/00:e0:18:5c:d8:41/192.168.1.0/24
Succes
DHCP protocol Introduction
DHCP, full name: Dynamic Host Configuration Protocol, Chinese name: Dynamic Host Configuration Protocol, its predecessor is BOOTP, it works at the OSI application layer, it is a proprietary protocol that helps computers obtain their configuration information from a specified DHCP server.DHCP uses the Client/Server mode. The computer requesting configuration information is called the DHCP client, and the server providing inf
address of the network host, it will send the relevant address configuration and other information to the network host for dynamic configuration of the network host address information.
DHCP has the following functions:1. ensure that any IP Address can only be used by one DHCP client at the same time.2. DHCP should be able to assign users a permanent fixed IP address.3. DHCP should be able to coexist with hosts that obtain IP addresses in other ways (for example, hosts with IP addresses manuall
Chapter 4 DHCP service and Chapter 4 dhcp Service
The predecessor of DHCP is BOOTP. In the NIC configuration of Linux, BOOTP is displayed. DHCP introduces a concept not available in bootp: lease. The IP address allocated by bootp is permanent, and the IP address allocated by dhcp is valid for a certain period of time.
. Start the compressed Linux kernel created by uboot tools, bootm 3200000
2. BOOTP
BOOTP [loadaddress] [bootfilename]
In a bootp request, The BOOTP Command requires the DHCP server to allocate an IP address and then download the specified file to the memory through the TFTP protocol.
The 1st parameters are the memory a
. Server PXE startup service settingsThe Dhcp Service of Windows 2000 Server supports DHCP and BOOTP. We can set the following three options: DHCP only, BOOTP only, and both. If Dynamic IP Address allocation is provided by other DHCP servers in our LAN, select "BOOTP only" here. If Dynamic IP Address Allocation is required for this server, select "both ". 2.
Next
/ifcfg-eth0 and you can seeDevice=eth0 #物理设备名Onboot=yes # [Yes|no] (whether the device is activated at boot time)Bootproto=static #[none|static|bootp|dhcp](no protocol at boot | static Assignment | BOOTP protocol | DHCP protocol)See the fields marked Red No, as long as we choose DHCP then we can dynamically obtain IP. Other options can be set as above.Save the modified file to exit, with the command service
IP address, DNS, gateway settings
[A]dns setting
Modify File vi/etc/resolv.confModify ContentNameServer 114.114.114.114NameServer 8.8.8.8
[Two]IP settings
Modify File: Vi/etc/sysconfig/network-scripts/ifcfg-eth0Modify ContentDevice=eth0 #描述网卡对应的设备别名, for example, Ifcfg-eth0 in a file that is eth0Bootproto=static #设置网卡获得ip地址的方式, possible options for STATIC,DHCP or BOOTP, respectively corresponding to statically specified IP address, IP address obta
server power is indeed very powerful, but it is not omnipotent. The DHCP server also has a number of drawbacks. When designing a DHCP server environment, our network administrators need to understand these flaws and avoid them as much as possible during the design process.
The following author on their own understanding of the operation of the DHCP server defects, to talk about their own views. You are welcome to compensate and discuss this issue.
Defect One: The DHCP server cannot communicat
address of the DHCP service, and bootfilename uses the command returned by the DHCP server.
Therefore, this is a bug. Refer to the following patch to solve this problem.
Http://article.gmane.org/gmane.comp.boot-loaders.u-boot/130743
------------------------------------------------------------------------------
When using DHCP command with parameters as usage message,If DHCP server response contains bootfilename, it will overwriteThe DHCP command parameters. So the DHCP Command ParametersCan not
I. Remote Start Principle
Before the client is started, there is neither an operating system nor a boot floppy disk or hard disk. It only has the basic components of the computer, such as CPU, memory, and motherboard. But the most important thing is to have the nic and bootrom started. The client can only obtain the operating system through the network. The diskless remote start technology in Linux is different from that in Novell and WinNT. Instead of using RPL (Remote initial program loade
pktdrv, which are generally available on the drive disk with a card, so any card can be used. However, this is only limited to network boot, but is not supported after the Linux kernel is started. Therefore, the requirement for NICS is that they can be identified by Linux.
The following applies to etherboot;
Expand etherboot, enter the src-32, and edit Config. There are many options for you to do multiple startup, display information, ask for a password and so on, but the only thing you n
).
Log-facility Local7;
# No Service is given on this subnet, but declaring it helps the
# DHCP Server to understand the network topology.
# This is a very basic subnet declaration.
Subnet 21.9.22.0 netmask 255.255.255.224 {
Range 21.9.22.2 21.9.22.6;
Option routers 21.9.22.1;
}
# This declaration allows BOOTP clients to get dynamic addresses,
# which we don ' t really recommend.
#subnet 10.254.239.32 netmask 255.255.255.224 {
# range DYNAMIC-
process, use cobbler Check to see all the issues resolved(3) Restart the cobbler and apply all settings#service cobblerd Restart#cobbler Sync5. Modify the DHCP template, make sure that the DHCP assigned address and cobbler in the same network segment, remember to modify/etc/cobbler/settings parameters Manage_dhcp set to 1, in order to manage DHCPVim/etc/cobbler/dhcp.template# ******************************************************************# Cobbler Managed dhcpd.conf file## generated from Cob
BOOTP protocol(Bootstrap Protocol) is a TCP/IP-based Protocol that allows diskless sites to obtain IP addresses from a central server, assign a dynamic IP address to the diskless workstation in the LAN. You do not need to set a static IP address for each user. When using the BOOTP Protocol, it generally includes Bootstrap Protocol Server and Bootstrap Protocol Client.Application: this protocol is mainly use
.
The following applies to etherboot;
Expand etherboot, enter the src-32, and edit Config. There are many options for you to do multiple startup, display information, ask for a password and so on, but the only thing you need is to replace dhcp with bootp, that is, define-DNO_DHCP_SUPPORT in Config. Because bootp is intended to be used on the server side, this is required. Otherwise, the dhcp server cannot b
/mnt-o loop # I am mounting the image file, you can mount the optical drive
Echo "/tftpboot * (ro, sync)">/etc/exports
Echo "/mnt * (ro, sync)">/etc/exports # Set the shared directory in this step.
Exportfs-a # Make the configuration take effect
/Etc/init. d/portmap start /etc/init. d/nfs start # restart the service
Showmount-e localhost # view shared directories
Export list for localhost:
/Mnt *
/Tftpboot *
3. Configure dhcp
Copy my configurations directly
# More/etc/dhcp
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.