The machine-level HA for the Nameserver of TFS can be done through the virtual IP mechanism. You only need a 'heartbeat' to solve the problem. The following is a simple example of the next step. ** Operating system **: 'centos 6.4 x86_64 '**
Dual-system startup
1,
# Configure the network interface IP address acquisition method, IP address, gateway, netmask, and broadcast.
File:/etc/Network/interfaces
Auto eth0
Iface eth0 Inet static # iface is the interface, static IP configuration,
In Linux, how do I set IP addresses? We can use commands to set the IP address, but the prerequisite for this method is that the user needs the root permission. The nic ip Address Configuration information is stored in
Linux configuration NIC IP address command detailed introduction and some common network configuration commands 2010- A- - 0Comments Collection I want to contribute to the Linux command line under the configuration of the IP address is not as
MTU indicates the maximum transmission unit. MTU values are not necessarily the same for different local networks. for Ethernet, MTU sets the Linux command line to modify the IP address, Gateway, and DNS methods.
Method 1:
Ifconfig eth0 192.168.1.1
In Linux, IP addresses were dynamically assigned by automatic IP addresses. Although the IP addresses obtained each time are the same, I decided to set an ip Address by myself. Enter the command: [root @ localhost ~] # Ifconfig eth0 219.246.177.160
OSI Reference ModelOSI RM: Open Systems Interconnect Reference Model (open Systeminterconnection Reference Model)The OSI Reference model has the following advantages:
Simplifies the related network operation;
Provide
Transfer from http://www.cnblogs.com/lidp/archive/2009/12/02/1697480.htmlImmediate effect:Ifconfig eth0 192.168.1.102 netmask 255.255.255.0Activation takes effect:Vim/etc/sysconfig/network-scripts/ifcfg-eth0Joinipaddr=192.168.1.102netmask=255.255.255
IfconfigRouteIpIP routeOne, ifconfig command (view or configure IP)1. View Network Connections# ifconfig \ Show all active connections, not packet-disabled devicesOr# IFCONFIG-A \ Show all active and inactive connectionsDisplays the connection for
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.