-lease-time 600;Max-lease-time 7200;# Use this to enble/disable dynamic DNS updates globally.#ddns-update-style None;# IF This DHCP server is the official DHCP server for the local# Network, the authoritative directive should be uncommented.#authoritative;# Use this to send DHCP log messages to a different log file (you also# has to hack syslog.conf to complete the redirection).Log-facility Local7;# No Service would be given on this subnet, but declaring it helps the# DHCP Server to understand t
The following values are common in all basic configuration files:* Device=name, where name is the name of the physical device (except for dynamically assigned PPP devices,Its name is "logical name".* Ipaddr=addr, here addr is the IP address.* Netmask=mask, here Mask is the netmask.* Network=addr, here addr is the network address.* Broadcast=addr, here addr is the broadcast address.* Gateway=addr, here addr
, complete monitoring of local state and communication on the monitor side
Mmm_control: A script that provides commands for the Mmm_mond process
Second, the caseLab Environment:Six Centos6, two master MySQL (Master01, Master02), two from MySQL (SLAVE01, SLAVE02), one monitor (Mmm_mond), one read/write scheduler (Amoeba)Deploy primary master (Master01 and MASTER02) replication firstMaster011. Preparatory workvim /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 TYPE=Ethernet
Label:Applies To:Oracle database-enterprise edition-version 11.2.0.3 to 12.1.0.2 [Release 11.2 to 12.1]Information in this document applies to any platform.PURPOSEThe purpose of this note are to illustrate what to change a public hostname, public IP, a Virtual IP Address (VIP), VIP Host Name or other VIP attributes in an Oracle clusterware/grid Infrastructure environment.SCOPEOracle Database 10g and 11g use VIPs (Virtual IP) in clustered environments for clients to connect to the Database. These
There are too many ARP spoofing viruses .. So I wrote this .. Instructions in advance. I also read other people's tutorials. But I modified it myself. This is simple.
Remember to read it. I have limited expression ability. If you cannot understand it, don't blame me...
The gateway is used to replace 192.168.0.1 with your own gateway.
Now run-CMD-route print.========================================================== ==========================================Active Routes:Network Destination
In many cases, VPN is not connected to multiple branch networks as a network device in conventional applications. In most personal applications, some problems may occur. For example, some servers in the original Intranet cannot access the VPN, such as the OA system. Is there a solution? If you have learned about the Internet, you must know that there is a solution. Add a static route.
Next I will explain how to add a static route under Windows and Linux systems.
Set static routes in Windows:
Com
".* Ipaddr = ADDR. Here ADDR is the IP address.* Netmask = mask. Here, the mask is the network mask.* Network = ADDR. Here, ADDR is the network address.* Broadcast = ADDR. Here, ADDR is the broadcast address.* Gateway = ADDR. Here, ADDR is the gateway address.* Onboot = answer. Here, answer takes one of the following values:O yes -- the device will be activated during boot.O no -- this device is not activated during boot.* Userctl = answer. Here, ans
system init for $ hostname"Echo "************************************** ****"
# Goto the init. d directoryCD/etc/init. d
# Mount the default file systemsMount-A # mount the default file systems
# Configure network#/Sbin/ifconfig lo 127.0.0.1 netmask 255.0.0.0 broadcast 127.255.255.255#/Sbin/ifconfig eth0 128.247.75.151 netmask 255.255.254.0 Broadcast128.247.75.255#/Sbin/route add default GW 128.247.74.1 et
Virtual Machine ubuntu14 Configure NFS server host win7 mount local area network host mounting
Host win7 system, the system contains the Virtual Machine ubuntu14, other hosts in the LAN are also win7 system, all need to enable the NFS client program, win7 family Edition does not have this function, the method of enabling is as follows:
Because the static IP address is used for large switches connected to the company's network, we will introduce the Virtual Machine bridging method. The virtual m
Windows Route CommandAdd a permanent gateway:Route add 0.0.0.0 Mask 0.0.0.0 192.168.2.1-pSpecific functionsThis command is used to display and modify entries in the local IP routing table. Use a route without parameters to display help. 2. Explanation of grammarroute [-f] [-p] [command [destination] [mask netmask] [gateway] [metric metric] [if interface]3. Parameter Description- Fclears all routes that are not the primary (the subnet mask is 255.255.2
/86/DD/wKiom1fNdtzCkfIsAAB3Tn-tYm0310.png-wh_500x0-wm_3 -wmp_4-s_1866725461.png "title=" subnet mask. PNG "alt=" Wkiom1fndtzckfisaab3tn-tym0310.png-wh_50 "/>
Classification and management of routing
Routing: cross-network communication;Routing classifications:Host routingNetwork routingDefault routeRouting Management Commands:The route command is a network command that displays and modifies entries in the local IP routing table;View: Route-n650) this.width=650; "Src=" Http://s2.51cto
a day, I guess it may be that wpa_supplicant is playing a strange role. After uninstalling it together with NetworkManager, "madwifi" is displayed as an open network. If you do not want to unload wpa_supplicant and NetworkManager, you can modify the wpa_supplicant configuration file (/etc/wpa_supplicant/wpa_supplicant.conf .. I think these two software are useless to my experimental machine. Just unload it .. Step 2 of www.2cto.com: Configure DHCP. The network segment of my wired network adapte
host and the host.
Host:
# Echo 1>/proc/sys/net/ipv4/ip_forward # enable the forwarding function
# Iptables-t nat-a postrouting-j MASQUERADE # Use iptables to complete NAT
# Chmod 0666/dev/net/tun # Set Access Permissions
# Tunctl-t tap0-u leemars # create a tap device named tap0 and its owner is leemars
# Ifconfig tap0 up # activate tap0
# Ifconfig tap0 10.10.10.1 netmask 255.255.255.0 # specify the IP address and network segment for tap0 as 10.10.1
be unbound by theinterface.
MetricN # specify the number of incoming packets
This parameter sets the interfacemetric.
MtuN This parameter sets the MaximumTransfer Unit (MTU) of an interface.
# Set MTU for network devices
Dstaddraddr
Set the remote IP address for apoint-to-point link (such as PPP). Thiskeyword is now obsolete; use the pointopoint keyword instead.
Netmaskaddr
Set the IP network mask for thisinterface. This value defaults to theusual class A, B or C network mask (as derivedfro
Article title: Ubuntu nic ip settings. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
1. single NIC with single IP address (common)
Vi/etc/network/interface
Auto eth0
Iface eth0 inet static
Address IP
Netmask subnet mask
Gateway
2. Dual IP addresses for a single NIC (in rare cases, most of which are used to differ
Configuring the Network (Ethernet)The first thing to do after installing a system is to configure the network. (The following is a list of Linux private dishes from bird brother----Server Erection chapter fourth, connected to the Internet)
Modified parameters
Configuration files and Important startup scripts
Instructions for observing the results
IP-related parameters
/etc/sysconfig/network-scripts/ifcfg-eth0/etc/init.d/network restart
Ifconfig
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.