Experimental analysis of classless and classful of router working mode

Source: Internet
Author: User

Experimental purposes:

The ability to support subnets is called classless, and this pattern can be well coordinated with subnets.

If subnets are not supported, they are called classful.

When a router is working at classful, if a partial subnet in one of the main class networks is known, packets from all other unknown subnets will be discarded, even if there is a default route and will not be forwarded in the default route, and the packets from other main class networks will be forwarded normally.

Experiment topology:

Configuration:

R1:

Interface Loopback10
IP address 10.1.1.1 255.255.255.0
!
Interface fastethernet0/0
IP address 12.1.1.1 255.255.255.0

R2:

Interface fastethernet0/0
IP address 12.1.1.2 255.255.255.0

!
Interface FASTETHERNET0/1
IP address 23.1.1.2 255.255.255.0
!
IP Route 0.0.0.0 0.0.0.0 23.1.1.3
IP Route 10.1.1.0 255.255.255.0 12.1.1.1

R3:

Interface Loopback10
IP address 10.1.2.1 255.255.255.0
!
Interface Loopback20
IP address 20.1.1.1 255.255.255.0
!
Interface FASTETHERNET0/1
IP address 23.1.1.3 255.255.255.0
!
IP Route 0.0.0.0 0.0.0.0 23.1.1.2

Description

R1,R2, R3 all turn on debug IP ICMP and R2 shutdown CEF (no IP CEF)

Analysis:

In classless mode

Back to the column page: http://www.bianceng.cnhttp://www.bianceng.cn/Network/lyjs/

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.