local NIC corresponding to the "Idx" value, which will be used next.PS: "netsh i i show in" for "netsh interface ipv4 show interfaces" abbreviation.
Step 2: Bind Ip/macDos interface, enter the command "netsh-c" I i "add ne 192.168.1.200 00-aa-00-62-c6-09", bind IP with Mac, the default is permanent, even if rebooting the system.PS:A. "Netsh-c" I i "add ne" is an abbreviation for "netsh-c" interface IPv4
, the desktop version of the configuration:Some of the above students in the set up, not yet the Internet, if used when the desktop version of Ubuntu, we can set up a bit:First step: If you see click the up and DOWN arrow-"Edit connetctions, will pop up figure 2Figure 1Second step: After the popup we select the network card-"EditFigure 2The third step: We select IPv Settings, method in the choice of manual, ( when you choose to encounter problems when you see here , remember to drag the mouse do
For the first NIC:
(1) configure the nic ip address, modify the content of the/etc/sysconfig/network-scripts/ifcfg-eth0 file:
Device = eth0 # Physical device name
Bootproto = static # Static allocation
Broadcast = 255.255.255.255 # Broadcast address (optional)
Ipaddr = 192.168.1.103 # This is the static
I. Introduction
In Linux, you sometimes need to configure the network to a specified IP address. I have encountered this problem several times, and I cannot think of any details each time. I would like to write it down here. Next time I forget to go through it, I don't need to keep Baidu.
Ii. Problems
Set the network IP address to 172.25.10.24, static
Note: All red font labels are Linux operation commands! 1. Log in to the system using the root account 2, you can first use ifconfig : Check the network card information eth0 as the default first network card, if there is a second will be displayed as eth1.You can then see that the eth0 and Lo network cards lo are loopback address IP is 127.0.0.1 (this is also available on Windows). There will be an IP add
Because before the MongoDB shards are not used replica set, the recent network pressure is large, so prepare to study, so in their own computer virtual machine to build the environment, but found that before VMware set up DHCP, so every time after the resume of the virtual machine IP is changed, The previously built MONGODB environment is always a problem and re-construction is very troublesome, so set a static
Centos7 in order to facilitate the establishment of a full-distributed Hadoop, the original dynamic acquisition of IP must be changed to static IP, and to ensure that the Internet is normal.The configuration here is based on the VMware NAT link and is not applicable with other scenarios that have not been attempted.First step: Configure VMware Network settingsFir
Set static IP addresses in Ubuntu (virtualbox)
1. Set the network connection mode on Sun virtualbox.
Find the Ubuntu you want to set on Sun virtualbox, click Settings-> network-> Local Connection 1-> select bridged adapter as the connection method (NAT by default, this is the key to preventing mutual access ). then select your corresponding Nic under advanced, which will be automatically selected here.
2.
Today came back to open the virtual machine, the results with Xshell connection is not, the feeling should be my local IP has changed, my virtual machine is located in a computer connection is another B computer sent wifi,a computer This IP is automatically obtained, originally a computer IP for 173.23.x.x, In order to set a good memory
Configure static IP address in CentOS6.7
To configure static IP addresses in CentOS, follow these steps:Servers generally have their own static IP addresses so that they can be connected to the LAN.1. Edit the NIC file and modify
Ubuntu static and dynamic IP Address Settings preface today, we suddenly notified you of the migration of the data center. I need to reset the IP address. Here, we will first record it and set the target system ubuntu10.04server. Modify static IP address Settings of www.2cto
1. Virtual Machine Network Mode select NAT mode to ensure the local Host network connection is OK2. View the local virtual machine segment: VMware Click Edit--Virtual network edit->DHCP settings to see their starting IP address as 192.168.252.1283. Configure /etc/sysconfig/network-scripts/ifcfg-eno16777736VI /etc/sysconfig/network-scripts/ifcfg-eno16777736 Type=ethernet bootproto=static #dhcp为动态获取
Tags: mask rest soft Connect ETC system Art conf DNSubuntu16.04 set the static IP method:$ sudo vim/etc/network/interfacesAuto ENP7S0 # uses the network interface, before querying the interface is for hereIface enp7s0 inet Static # Enp7s0 This interface, using the quiescent IP settingsAddress 10.0.208.222 # set
Configure the static IP address in ubuntu. The path of the static IP address is Java code/etc/network/interfaces: www.2cto.com Java code auto eth0 // use the first network adapter iface eth0 inet static // static allocation
After the Linux system (SUSE11) is installed, if you need to access the Internet or remotely connect to the pc, you must ensure that the pc network is normal.
The following uses static IP configuration as an example:
1. Global settings are as follows:
2. Go to the editing page.
3. Edit the IP address and subnet mask.
4. Edit DNS
5. Edit the Default
Ubuntu sets the static IP method as follows:$ sudo vi/etc/network/interfaces---at the end of the addAuto Eth0Iface eth0 inet StaticAddress 192.168.116.149Netmask 255.255.255.0Gateway 192.168.116.2: Wq (Save and exit)Descriptionaddress is the static IP you want to use, determined in the following way (virtual machine ca
Use dynamic IP assignment in LAN, machine dynamic acquisitionIP address. But I'm always disconnected when I use SSH to log in.Later found that the original machine is always at two IP address 192.168.2.203and 192.168.2.228 switch between, with SSH login teacher disconnected, reallyIt was unbearable, so decided to configure the static IP.Configuring a
Hadoop cluster, you need to fixed the cluster of computers between the communication between the IP address, but each network connection, the IP address is transformed, we want to set up a static IP for intra-cluster communication, even if the restart of the computer will not change, but also want to have normal access
If the error "no Ca (customer address) is allocated for the virtual network adapter 9i [Mac: 001dd8b71c17] From the vmsubnet-related IP address pool" is reported when the IP address of the static IP address pool is assigned to the VM )", you can use grant-scipaddress to assign a st
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.