In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-15 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
Gateway
Router: two hosts on different network segments, nat (net adress transfer) source address translation, disguised as an address that can be recognized by the destination address
The ip on the router is the gateway on the same network segment as the customer host.
Modify the network card setting gateway
Experiment
Experiment
Add a network card to rhel7 to make rhel7 act as a router, add a network card: place the cursor over rhel7 in the window bar, right-click, set, network adapter, add network adapter, select bridging mode, after setting up, there will be two network cards
Rhel7 can communicate with two hosts with different network segments at the same time, so use it as a router to communicate between two hosts with different network segments.
So that these two network cards can be routed using the kernel, so turn on the kernel routing parameters
Turn on address camouflage function
Add a gateway (the gateway of the customer host, which has the same router address as the host network segment). After success, it can communicate with the hosts of different network segments. 172.25.254.10 this host first sends its own information to 172.15.254.100, through the routing function of the kernel, pass the data (address camouflage function, disguised as 192.168.1.7) to an address that can communicate with 192.168.1.8
Dns
Address resolution: convert (the ip corresponding to the corresponding address in the file) address to ip
Host for address resolution: dns server
Communication method: ip form
Set up the gateway, which cannot communicate through the domain name, but can be communicated through ip
Edit the local resolution file. The domain name corresponds to ip, which is too cumbersome to communicate through the domain name in the file.
Edit the dns to point to the file so that you can communicate through the domain name without having to write it artificially
Bridge Settin
Function of network bridging: the kernel of the virtual machine needs to be sent to the network card with the help of the real kernel. The virtual machine network and the real network are disconnected and can be shared through the real kernel. Open an interface (bridging interface) so that the virtual machine and the physical machine network card are in the same parallel network environment, that is, the real host can directly control the physical network card through the control bridge interface and make the data go out directly.
How do I open the bridging interface?
Note: some of the notes come from Mr. Li of the Western Open Source, and the experimental pictures are owned by me.
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.