Set IP:
Vim/etc/network/interfaces
The following will be included:
Auto Eth0Iface eth0 inet DHCP
Modified to:
Auto Eth0#iface eth0 inet DHCPIface eth0 inet StaticAddress xxx.xxx.xxx.xxxnetmask xxx.xxx.xxx.xxxGateway xxx.xxx.xxx.xxx
Set the xxx.xxx.xxx to the information you want to be personalized, whichauto eth0#开机自动连接网络iface eth0 inet static#
Tags: cannot address restart 4.0 system Names platform network domain name resolutionDirectory
Locate and open the configuration file
Edit the file
Restart Network
Platform: Ubuntu 14.04 x64Locate and open the configuration filesudo vi /etc/network/interfacesEdit the fileAdd the following code to complete the static IP configuration auto ens33 // 默认是dhcp, 将其修改为
Tags: share sysconf network card technology Share div subnet PTS class SysconfigFirst, install the virtual after the menu bar select edit → Virtual network editor, open the Virtual Network Editor dialog box, select Vmnet8 net network connection mode, set the subnet IP, click the NAT Settings page, view the subnet mask and gateway , The subsequent modification of the static
By default, Ubuntu uses DHCP to obtain IP, but it is easier for users to configure the network, but it is not good for multi-user LANs, because DHCP occasionally replaces IP, which means that the user who wants to connect must change the IP configuration.
The method for specifying static
The first thing to do after installing Linux is to set an IP address for Internet access. This article describes how. Set static IP address.(1). Set the command line (this method is only temporary and will not expire after the system is restarted)[1]. set IP address and maskIfconfig Interface Name (such as eth0)
Fedora17 how to use a virtual machine to bridge the Internet to statically configure a fixed IP address 1) # ifconfigp3p1up (note: After my system is installed, the default Nic is p3p1. this command activates this Nic. You can change the name as needed .) 2) # chkconfig -- level2345netw... fedora 17 using virtual machine bridging method for static configuration of fixed
Switch to the root user and enter the/etc/network directory. Backing up interfaces files (it is a good habit to back up files)
Edit the interfaces file and add the following statement:
1 # Assgin static IP by eric on 26-SEP-20122 iface eth0 inet static3 address 192.168.196.135 #change to your static IP4 netmask 255.255.255.0 #change to your netm
"Properties"
4. Double-click Internet Protocol version 4 (TCP/IP)
5, select "Automatically obtain IP address", "Automatically obtain DNS server address", click "OK"-"OK".
1, open the browser
, enter in the browser address bar: 192.168.0.1 Press ENTER to login settings interface.
192.168.0.1 not open? Please click this
1. Set the virtual machine to use bridge mode2. Open the configuration file with Vi/etc/sysconfig/network-scripts/ifcfg-enp0s3 (where Enp0s3 is the name of your Linux network adapter, use IP addr in the shell) command to view its own name and change it to its own, immediately after the number of the argument is, not lo that)Modify the following parametersChange bootproute= "DHCP" to bootproute= "static"Chan
Tags: config ifcfg-eth study modified conf TTY ETH local imagesUsing the VMWARE+CENTOS6 environment, you can log in to the virtual machine using putty ssh, and don't know why you can't connect to it every time.Under study, the IP address of CentOS eth0 in virtual machine is changed automatically once every time (automatically plus 1).Baffled, today suddenly think of possible reasons, look, sure enough: VMware configured DHCP, as follows:。Learning envi
Configure a static IP for CentOS in VMware with access to VMware under Network-windowsFirst make sure that the virtual network card (VMware Network Adapter VMnet8) is turned on, and then enter "Ipconfig/all" on the Windows command line to find the VMware network Adapter VMnet8 's IPv4 address (for example: 192.168.16.1), such as:Then make sure that the network configuration of the virtual machine CentOS is
The NAT static IP address of the centos virtual machine sets the host machine to centos 6.3 64-bit, and the three virtual machines to centos 6.3 64-bit. The Virtual Machine network connection mode is the default NAT mode. By default, virtual machines dynamically obtain IP addresses through DHCP. To build hadoop on three virtual machines, you need to build these t
Ubuntu Configuration Static IPStatic IP configurationUbuntu Network configuration information is placed in the /etc/network/interfaces If the configuration dynamically gets the IP , add the following to the above file:Open the network configuration information file using the following command:sudo gedit/etc/network/interfacesEdit the file (pay attention to prosec
Since Linux knowledge is not very deep, it is only a summary of my own settings.The first step is to set the/etc/network/interfacesAdd static IP SettingsAuto Eth0Iface eth0 inet Static #配置为静态IPAddress 192.168.1.70 #静态IP为192.168.1.70netmask 255.255.255.0 #子网掩码#network 192.168.1.0 #所在网络#broadcast 192.168.1.255 #广播地址Gatew
1, directly modify the system profile Ubuntu network configuration file is:/etc/network/interfaces A, dynamic IP mode auto eth0 iface eth0 inet DHCP with the following command to make network settings effective: SUDO/ETC /init.d/networking restart B, static IP mode auto eth0 iface eth0 inet static address 192.168.1.22
24
Aug
Running Ubuntu in VMware is a waste of resources to enable the graphic interface. 2 GB of content is already half of that of Windows 7. You don't have to do anything else when you start VMware. In addition, the default network mode of VMware is net. The virtual machine obtains an IP address through DHCP, And I am used to using xshell to access the virtual machine through SSH. The dynamic IP
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.