Discover subnet mask for single ip, include the articles, news, trends, analysis and practical advice about subnet mask for single ip on alibabacloud.com
One, the IP division of the standard classificationThis division of IP in the form of IP in accordance with the network number + host number, each type of IP network number in the first few different, the rest of you except special IP (for example, all 0 and all 1, loopback
0Eth0169.254.0.0 0.0.0.0 255.255.0.0 u 0 0 0Eth00.0.0.0 172.16.1.1 0.0.0.0 ug 0 0 0Eth0
Create a file named ifcfg-eth0: 0 in the/etc/sysconfig/network-scripts directory with the same content as the original ifcfg-eth0, but be sure to modify it for your own purposes, the following is the configuration information of the original NIC: We can also simply copy the original ifcfg-eth0 and rename the ifcfg-eth0: 1[Root @ test network-Scripts] # cp ifcfg-eth0 ifcfg-eth0: 1And modify the content as fol
Tip: http://www.pcworld.com.cn/how_to_use/1/2006/0707/6804.shtml
Introduction: in Linux, you sometimes need to bind multiple IP addresses to a network card. This article describes the RedHat series (RedHat, Fedora Core, centos) and a method that is widely used in other Linux systems such as Gentoo.
In Linux, you sometimes need to bind multiple IP addresses to a network card. This article describes the RedHa
In Linux, you sometimes need to bind multiple IP addresses to a network card. This article describes the RedHat series (RedHat, Fedora Core, centos) and a method that is widely used in other Linux systems such as Gentoo.
1. How to bind multiple IP addresses to a single Nic In the RedHat Series
Suppose the NIC that needs to bind multiple
If we want to quickly get an IP address segment has how many IP, quickly get IP address segment subnet mask, or quickly get a binary IP address, then you can learn.This article uses a Python I
Q: Our school machine room began to build a campus network, the router is selected CISCO 2514, In the settings, the problem is that on CISCO 2514 if there is no "IP SUBNET-ZERO ", if the ethernet interface mask is used, it cannot be set up. IP address and subnet
The example of this article describes the approach of PHP for IP address mask operation. Share to everyone for your reference, specific as follows:
IP Resolution:
function Ip_parse ($ip _str) {
$mark _len =;
if (Strpos ($ip _str, "/") > 0) {
list ($
I. Set IP addresses, masks, gateways, and DNS using commands
1. Set the IP address and subnet mask of the network adapter eth0: sudo ifconfig eth0 192.168.0.50 netmask 255.255.255.02. Set the gateway sudo route add default GW 192.168.0.13. Set DNS modification/etc/resolv. conf and addNameserver 8.8.8.8Nameserver DNS
1. add a single IP address 1, enter/etc/sysconfig/network-scripts/to create a file ifcfg-eth0: *, * is the number, multiple IP addresses increase in turn to 0 as an example, create file ifcfg-eth0: 0 # cd/etc/sysconfig/network-scripts/# viifcfg-eth0: 0 nb
1. add a single IP
How to add a single IP address and multiple IP addresses in CentOS
1. Add a single IP Address1. Enter/etc/sysconfig/network-scripts/to create a file ifcfg-eth0: *, * is the number, multiple IP increases in turnTake 0 as an example
Article title: binding multiple IP addresses to an NIC in Linux to share a single IP address with multiple NICs. Linux is a technology channel of the IT lab in China. Some basic categories, such as desktop applications, Linux system management, kernel research, embedded systems, and open-source systems, sometimes need to bind multiple
Bind multiple IP addresses to a single Nic In CentOS and share one IP address with multiple NICs
In centos, you sometimes need to bind multiple IP addresses to one network card. This article describes the Redhat series (redhat, Fedora Core, Centos) and a method that is widely used in other Linux systems such as Gentoo.
address,
NETMASK is the subnet mask,
ONBOOT indicates automatic startup when the system starts.
If you need to bind another IP address,
You only need to add the file name and the eth0: x in the DEVICE in the file.
LINUX supports up to 255 IP aliases
2. it is widely used to bind multiple
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.