In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
one。 Let's first find out how many types of ip addresses there are and which addresses can only be used in the area network.
Avatar 126 / 8 192.168.100.100
Bazaar 128 December 191 / 16
Cpurs 192 February 223 / 24
DRV 224 broadcast 239 Multicast Communication
The Scientific Research of ERU 240,254
Just look at the first address that knows what kind of address it is.
Private address
ARV 10.0.0.0mm 10.255.255.255
BRV 172.16.0.0mm 172.31.255.255
192.168.0.05192.168.255.255
127.0.0.05127.255.255.255
Test the effective address and loopback address of tcp/ip protocol
169.254.0.05169.254.255.255 (dhcp has no assigned address)
The network card automatically obtains the IP address format, but it is not available in the local area network.
Dhcp server address, at which time you will get a 169.254.0.0" 169.254.255.255
Paragraph address
two。 Linux is used as dhcp server, and layer 3 switch in GNS3 is used as trunk gateway. First install the dhcp service in our centos7
two。 Configure layer 2 switch, layer 3 switch, dhcp server, VLAN and virtual network segment in gns3.
3. In order to succeed in the experiment, we set two clients and one DHCP server to host-only mode in the same area network. 3.1 first set the dhcp server, our Centos7 binding VMNET1, to host-only mode.
3.2 set the first win10 client binding vmnet2 to host-only mode
Set the second win10 client binding vmnet8 to host-only mode
4. Enter our layer 2 switch SW2 to configure VLAN and interface
5. Check to see if it is ready.
6. Configure the f1ap0 interface as a trunk link
7. Enter our layer 3 switching SW3 to configure vlan
8. Check to see if VLAN is ready.
9. Configure the network end for Sanji VLAN
10. Check whether the network segment has been configured successfully.
11. Configure f1Accord 0 as trunk
twelve。 Check if the type is a trunk link
13. Enter Centos7 and start configuring the network card.
14. Restart the network service to view IP
15. Copy the template for the dhcpd configuration
16. Configure network segment, subnet mask, address pool, default gateway
17. Start the service to view the DHCP service status
18. Back to the layer 3 switch to power on the trunk link
19. Let's go back to the client and see if we can get the address given by DHCP automatically.
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.