/Etc/sysconfig/network-scripts/ifcfg-eth0
The configuration file of the wireless network card cannot be found in this directory. This is strange.
# RealTek semiconduco., Ltd. RTL-8139/8139c/8139c +Device = eth0 Interface NameBootproto = none static
In Linux, obtain the IP address of the specified network and the interface of netmask:
Int get_ip (char * ipaddr, char * netmask, const char * ethname){Int ret =-1;If (ipaddr & netmask & ethname){Int FD, intrface;Struct ifreq Buf [16];Struct ifconf
Subnet Mask:What is a subnet mask subnet mask cannot exist alone,It must be used in conjunction with an IP address. The subnet mask has only one effect,is to divide an IP address into two parts: network address and host address.The subnet mask
[Root @ localhost ~] # Ifconfig eth0: 1 192.168.10.63 netmask 255.255.255.0 up (add IP on this Nic)
Ah, only one sentence
[Root @ localhost ~] # Ifconfig-
Delete[Root @ localhost ~] # Ip addr del 192.168.10.63 dev eth0: 1
Warning: Executing
Natmask is the subnet mask, and the IP with the operation, to get a domain.IP consists of 4 segments, example 172.25.45.10 each segment consists of a 8-bit binaryThat is, 11111111.11111111.11111111.11111111, this represents 255.255.255.255.The same
Common IP nat command syntax: ip nat {inside | outside} no ip nat {inside | outside} this command is used to set the Intranet and Internet interfaces of NAT. Use the no option to stop the interface from applying NAT. Parameter: inside: indicates
I. Introduction of IPMPIP network multipath (IP networks multipathing, IPMP) provides physical interface fault detection and transparent network access failover capabilities for systems with multiple interfaces on the same IP link. IPMP also
Cisco router ip nat command ip natip nat inside destination ip nat inside source list ip nat inside source static ip nat outside source list ip nat outside source static ip nat pool ip nat translation ip nat Syntax: ip nat {inside | outside} no ip
Linux traditional network configuration command and ip advanced routing command-Linux Enterprise Application-Linux server application information, the following is a detailed description. Knowing how to configure network commands is a must-have
Knowing how to configure network commands is a must-have technique for general technicians. After some time of research and study, I have summarized some common commands and examples for future reference.
The traditional IP advanced routing commands
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.