How does Squid control 12 LAN segments at the same time? One 172 ip address and one 192 ip address?
Source: Internet
Author: User
How does Squid control 12 LAN segments at the same time? ip Address: 172-192-Linux general technology-Linux technology and application information. The following is a detailed description. Two CIDR blocks in the company
One is 172 of the entire region, such as Guangdong, Hubei, and other intranets.
One is automatically divided by 192 vrouters.
The redhat system automatically obtains the ip address (segment 172) from the eth1 ip address segment configured with eth0 as 192 in the network)
Why does squid control 172 of Internet access permissions and 192 of Internet access permissions?
Currently, the company prohibits the use of Segment 1 Internet access, that is, users cannot access the Internet using the automatically obtained ip address.
The network architecture is Internet-route-switch-(Customer A + Customer B + squid server)
The acl list is acl badip src 192.168.4.0/192.168.4.180.
Http_access deny all
If you change the CIDR block to 172, it will be effective.
In fact, http_access is disabled by default.
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service