Cisco Project 1 Combat (VLAN, static, single arm, floating routing, Vrrp/standby, NAT, port mapping, remote, etc.)

Source: Internet
Author: User

PC with Address:


C1 192.168.10.10 192.168.10.1
C2 192.168.20.10 192.168.20.1
C3 192.168.10.20 192.168.10.1
C4 192.168.20.20 192.168.20.1

Requirement 1:

SW1 (config) #no IP routing SW2 (config) #no IP routing
SW1 (config) #vlan 10,20 SW2 (config) #vlan 10,20
SW1 (Config-vlan) #int F1/1 SW2 (Config-vlan) #int F1/1
SW1 (config-if) #sw m A SW2 (config-if) #sw m A
SW1 (config-if) #sw a V 10 SW2 (config-if) #sw a VLAN 10
SW1 (config-if) #int F1/2 SW2 (config-if) #int F1/2
SW1 (config-if) #sw m A SW2 (config-if) #sw m A
SW1 (config-if) #sw a v 20 SW2 (config-if) #sw a v 20
SW1 (config-if) #int R f1/14-15 SW2 (config-if) #int R f1/14-15
SW1 (Config-if-range) #sw m t SW2 (Config-if-range) #sw m t

Requirement 2:

R1 (config) #int F0/1 R4 (config) #vlan 10 R2 (config) #int f0/0
R1 (config-if) #no sh R4 (Config-vlan) #int VLAN 10 R2 (config-if) #ip add 192.168.12.1 255.255.255.0
R1 (config) #int f0/1.1 R4 (config-if) #ip add 192.168.10.200 255.255.255.0 R2 (config-if) #no sh
R1 (config-subif) #encapsulation dot1q 10 R4 (config-if) #no sh R2 (config-if) #int F0/1
R1 (config-subif) #ip add 192.168.10.100 255.255.255.0 R4 (config-if) #st 1 IP 192.168.10.1 R2 (config-if) #ip add 192.168.13.1 255.255.255.0
R1 (config-subif) #no sh R4 (config-if) #st 1 pri 95 R2 (config-if) #no sh
R1 (config-subif) #st 1 IP 192.168.10.1 R4 (config-if) #st 1 pre R2 (config) #int f1/0
R1 (config-subif) #st 1 pri 100 R4 (config-if) #ex R2 (config-if) #no Switchport
R1 (config-subif) #st 1 pre R4 (config) #vlan 20 R2 (config-if) #ip add 12.0.0.1 255.255.255.0
R1 (config-subif) #st 1 TR f0/0 10 R4 (Config-vlan) #int VLAN 20 R2 (config-if) #no sh
R1 (config-subif) #int f0/1.2 R4 (config-if) #ip add 192.168.20.200 255.255.255.0 R2 (config) #ip Route 192.168.10.0 255.255.255.0 192.168.12.2
R1 (config-subif) #en D 20 R4 (config-if) #no sh R2 (config) #ip Route 192.168.10.0 255.255.255.0 192.168.13.3 10
R1 (config-subif) #ip add 192.168.20.100 255.255.255.0 R4 (config-if) #st 2 IP 192.168.20.1 R2 (config) #ip Route 192.168.20.0 255.255.255.0 192.168.13.3
R1 (config-subif) #no sh R4 (config-if) #st 2 pri 100 R2 (config) #ip Route 192.168.20.0 255.255.255.0 192.168.12.2 10
R1 (config-subif) #st 2 IP 192.168.20.1 R4 (config-if) #st 2 Pre R2 (config) #ip Route 0.0.0.0 0.0.0.0 12.0.0.2
R1 (config-subif) #st 2 pri 95 R4 (config-if) #st 2 TR f0/0 10
R1 (CONFIG-SUBIF) #st 2 Pre R4 (config-if) #int f0/0
R1 (config-subif) #int f0/0 R4 (config-if) #ip add 192.168.13.3 255.255.255.0
R1 (config-if) #ip add 192.168.12.2 255.255.255.0 R4 (config-if) #no sh
R1 (config-if) #no sh R4 (config-if) #int F1/15
R1 (config) #ip Route 0.0.0.0 0.0.0.0 192.168.12.1 R4 (config-if) #sw m t

R4 (config) #ip Route 0.0.0.0 0.0.0.0 192.168.13.1

Requirement 3:



R2 (config) #int f0/0
R2 (config-if) #ip nat I
R2 (config) #int F0/1
R2 (config-if) #ip nat I
R2 (config) #int f1/0
R2 (config-if) # IP Nat o
R2 (config) #ac permit 192.168.10.0 0.0.0.255
R2 (config) #ac permit 192.168.20.0 0.0.0.255
R2 (config) #ip nat inside source L int f1/0 o

Requirement 4:

R1 (config) #line vty 0 4
R1 (config-line) #password 123456
R1 (Config-line) #login
R1 (Config-line) #ex
R1 (config) #enable secret 456123

R2 (config) #ip nat i s t 192.168.12.2 23 int f1/0

R3 (config) #int f0/0
R3 (config-if) #ip add 12.0.0.2 255.255.255.0
R3 (config-if) #no sh
R3#telnet 12.0.0.1 test can log in R1


Cisco Project 1 Combat (VLAN, static, single arm, floating routing, Vrrp/standby, NAT, port mapping, remote, etc.)

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.