In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >
Share
Shulou(Shulou.com)06/01 Report--
Dynamic acquisition of host address and other information through DHCP
First, the purpose of the experiment: to understand DHCP and make the terminal host obtain IP address, DNS server address, domain name and so on through DHCP.
2. Experimental topology:
Third, specific steps:
1. Configure the PC1 to obtain the IP address by DHCP.
Authentication: show ip interface brief
IP-Address is unassigned at this time
2. Configure the PC2 to obtain the IP address by DHCP.
Authentication: show ip interface brief
IP-Address is unassigned at this time
3. Divide vlan10 and vlan 20 on SW1 first.
Divide e0prime 1 into vlan 10, and divide e0max 2 into vlan 20.
Authentication: show vlan brief
4. 802.1q is encapsulated at the SW1 port and set to trunk port, and only vlan 10 and vlan 20 are allowed to pass.
Authentication: show interfaces trunk
Note: I don't understand here. You can check out my other blog post.
Http://myitpp.blog.51cto.com/12252179/1892316
5. Open the port e0Comp0 of R1.
Enter the subinterface e0apace 0.10 of e0apace 0, open the port, encapsulate 802.1q (remember), and set IP:192.168.10.254 / 24, which IP is the gateway of vlan 10.
Enter the subinterface e0apace 0.20 of e0apace 0, open the port, encapsulate 802.1q (remember), and set IP:192.168.20.254 / 24, which IP is the gateway of vlan 20
6. Configure the address pool of vlan 10 on R1
7. Configure the address pool of vlan 20 on R1
8. Check the PC1 address acquisition. The IP-Addresss is 192.168.10.1.
9. Check the PC2 address acquisition, and the IP-Addresss is 192.168.20.1.
10. Check the DHCP Server address allocation and the next address
11. Some addresses do not need to be assigned dynamically, such as some servers, network printers, etc., which can only be configured statically and can only be excluded on DHCP Server.
12. Verification command: show dhcp server can view DNS and domain name assignment.
13. On the dhcp server; show ip dhcp conflict can view address conflicts and use clear ip dhcp conflict * / an IP to identify address conflicts
14. Show ip dhcp binding, check the binding of IP and mac addresses
Spring onion seed
2017-01-23
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.