In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly explains "the setting method of bridge and nat under fedora". The content of the explanation is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn "the setting method of bridge and nat under fedora".
We can use bridge and nat under fedora to realize the function of virtual machine as network file system and virtual machine surfing the Internet at the same time.
Nat: share the ip with the CVM, as follows:
1. Select nat in the Ethernet option
two。 Open the terminal, enter the command hostname, get your host name, record it, and use this later.
3. Enter the system-"manage -" network, double-click eth, select in general, automatically obtain the ip address, and the hostname in the dhcp,dhcp setting fill in the hostname you just got, and press OK. Click deactivate, and then activate.
4. Open your fedora browser, can you surf the Internet? ok!
Bridge settings:
1. In the VMnet0 of Edit- > Virtual Networking Setting- > Host Virtual Networking Mapping, select your second network card (that is, the one directly connected to your board), click apply, and confirm.
two。 Select bridge in Ethernet
3. Enter the system-"manage -" manage, double-click eth, select in General, statically configure the ip address, and press OK. Click deactivate, and then activate.
4. Modify some of the configuration of your nfs file, which can be found in my previous article, "Building a linux Development Environment for perfect," which is briefly shown here:
● Click system-> Administration-> Network, double-click your network configuration, select static setting ip address, and enter your ip. (for example, mine is 192.168.0.3)
● configure the virtual machine's network card edit- > virtual network setting- > host virtual network mapping under the virtual machine to add a real network card and confirm it by application.
● edit file / etc/exports add nfs directory support: / nfs 192.168.0.2 (rw,sync,no_root_squash) where 192.168.0.2 is the ip,linux ip of the development board with 192.168.0.3
● enters setup under the terminal to select the netconsole,netplugd,nfs service in the system service.
Thank you for your reading, the above is the content of "setting method of bridge and nat under fedora". After the study of this article, I believe you have a deeper understanding of the setting method of bridge and nat under fedora, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
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.