Ubuntu 12.04 set static IP 1. Configuring a static IP address$sudo vi/etc/network/interfacesThe original content only has the following two lines:Auto LoIface Lo inet LoopbackAppend the following to the end:Auto Eth0Iface eth0 inet StaticAddress 192.168.0.88Gateway 192.168.0.1Netmask 255.255.255.0Network 192.168.0.0Bro
Installing centos6.5 under VMware accesses the extranet via bridging, so you need to configure the IP.I. IP configuration1.1. Configure Dynamic IPVi/etc/sysconfig/network-scripts/ifcfg-eth0Device=eth0hwaddr=00:0c:29:e1:e4:8eType=ethernetuuid=f271bf73-7d8f-448f-8e8b-71c39eb13509Onboot=yes (important is enabled)Nm_controlled=yesBOOTPROTO=DHCP (Important configuration)2.2. Configure Dynamic IPDevice=eth0Hwaddr=00:0c:29:b1:f1:24Type=ethernetuuid=8887bd2f-
Ubuntu's network parameters are saved in the file/etc/network/interfaces,The default setting uses DHCP, which is obtained by dynamic IP. Here's how to set up a static IP: 1) Edit/etc/network/interfaces1.1) Add DHCP line shield # The primary network Interfaceauto eth0#iface eth0 inet DHCP 1.2) Add and static
PS: I haven't used Ubuntu for a long time, just installed an Ubuntu Server 12.04 test. Ubuntu Network settings are not the same as the Redhat system, the configuration of IP when found with the previous Ubuntu desktop version is also different, recorded as follows:1. Configure static IP address:# vim/etc/network/interfacesThe original content has the following 4
the database server requires a static IP address. The steps for modifying the configuration file are as follows:
First open terminal
Edit Nic configuration fileVI/etc/sysconfig/network-script/ifcfg-eth0Enter edit modePress I to editModifyDevice = eth0 # physical device nameIpaddr = 192.168.1.100 # IP AddressNetmask = 255.255.255.0 # mask ValueNetwork =
CentOS manually configure static IP address 1, vi/etc/sysconfig/network-scripts/ifcfg-eth0ifcfg-eth0 corresponding to the NIC, if there are multiple NICs under the network-scripts directory there will be ifcfg-eth1, ifcfg-eth2 and so on. Modify the ifcfg-eth0 file to add a configuration... centOS manually configure static IP
In the world of Linux, this is done by setting a fixed IP to the host (using the root user):1. View the network interface to be provisionedUse Ifconfig to view the NIC interface in use, generally with the first such as: ETH0,EN1,EM1, etc. 2. Disable Network Autoconfiguration (if any) Systemctl Stop Networkmanager.service3. Disable Network Autoconfiguration (if any) Systemctl Disable Networkmanager.service4. Write the configuration file Vi/etc/sysconfi
Fedora 17 Using Virtual Machine bridging method for static configuration of fixed IP address 1) # ifconfig p3p1 up (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 -- level 2345 network on (Note: Step 2: Set the startup when the NIC enters the system. If you want to automatically obtain the
In a virtual machine, the openSUSE system uses static IP configuration records to connect to the host through NAT.
View VM ip status
View the current ip address range and gateway information.
In this way, you can obtain the gateway information and the ip address
Computer User1. First, go to the "control panel" rarr; "view network status and tasks" rarr; "Change adapter settings" on Windows, as shown in the following figure.2. Click "local connection"-"details" in the network connection panel to view your IP address information.3. Remember the information, close the details dialog box, and right-click "local connection"> "attribute.4. In the po
In Linux (Debian), set static IP addresses of Intranet and Internet NICs. Modify vim/etc/network/interfaces for a single Nic as follows: [plain] # This file describes the network interfaces available on your system # and how to activate them. for more information, see interfaces (5 ). authorization # The loopback network interface auto lo iface lo inet loopback # The primary network interface allow-hotplug
Title: How to set a static IP address for a Linux system
Centos OS 6.5Vi/etc/sysconfig/network-scripts/ifcfg-Default modification:/etc/sysconfig/network-scripts/ifcfg-eth0File:/etc/sysconfig/network-scripts/ifcfg-eth0 for eth0device=Eth0bootproto= none# This line ensures that the interface would be isbrought up during boot. Onboot= for most outbound connections.# the address, netmask, and gateway is all
Other information is generally used masquerade NAT Internet, for the Enterprise static IP, or specify the address NAT effect better point1. Increase in Ip/firewall/nat650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/6F/1A/wKiom1WR_B3z3bZtAAEjPrkmhD8615.jpg "style=" float: none; "title=" 1-1.png "alt=" Wkiom1wr_b3z3bztaaejprkmhd8615.jpg "/>Click action t
Configure static IP method sharing:Enter the following command from the serial command line:1. Add a wireless network access point (AP) and its password:# wpa_cli-p/data/misc/wpa_supplicantWPA_CLI v0.5.11Copyright (c) 2004-2008, Jouni Malinen and contributorsThis program is a free software. You can distribute it and/or modify itUnder the terms of the GNU general public License version 2.Alternatively, this
Recently learning Hadoop, using virtual machines to do the distributed, because Hadoop to configure the host name of the slave node, you need to modify the Hosts file's IP address and host name Mapping relationship.However, each time the virtual machine restarts, the IP address will change, so that each time you have to change the hosts file. So decided to static
Ah, recently lazy, for a long time did not write a blog.
General machine startup will automatically get the dynamic IP address from the DHCP server, this is a very convenient thing, you can not manually set the network-related silkworm parameters, but sometimes need to machine fixed IP address.The first step, edit the/etc/network/interfaces, add the following contentStatic192.168. 1.113 192.168. 1.1
This article is mainly about setting up a static IP address method in a Linux system.Tools/Materials
redhat6.4 x64
Method/Step
Input in Terminal: Vi/etc/sysconfig/network-scripts/ifcfg-eth0
Start editing, fill in the IP address, subnet mask, gateway, DNS, and so on. Where "the information inside the red box" is necessary.
When you are finish
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.