зеркало из
				https://github.com/iharh/notes.git
				synced 2025-10-30 21:26:09 +02:00 
			
		
		
		
	
		
			
				
	
	
		
			24 строки
		
	
	
		
			430 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			24 строки
		
	
	
		
			430 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| 70|LXF201 - DHCP
 | |
| 
 | |
| DHCP:
 | |
| 
 | |
| ifconfig eth0 0.0.0.0
 | |
|     remove the IP address
 | |
| ifconfig eth0:0
 | |
|     ???
 | |
| 
 | |
| service isc-dhcp-server start
 | |
|   start a DHCP server (dhcpd)
 | |
|   (/etc/init.d/...)
 | |
| 
 | |
| dhclient -v eth0
 | |
|   send DHCPDISCOVER req
 | |
|   get  DHCPOFFER from all the DHCP servers
 | |
|   then - DHCPREQUEST
 | |
|   and    DHCPACK
 | |
| 
 | |
| ip addres send for some period of time (but remembers at the cache)
 | |
| 
 | |
| 2023
 | |
| https://habr.com/ru/companies/yandex/articles/774462/
 | 
