Single-arm routing and L2 EC

Source: Internet
Author: User

Tutorial topology:
 
 
 
 
Basic Configuration:
Route
Interface FastEthernet0/0
No ip address
Duplex auto
Speed auto
!
Interface FastEthernet0/0.1
Encapsulation dot1Q 2
Ip address 192.168.2.1 255.255.255.0
!
Interface FastEthernet0/0.2
Encapsulation dot1Q 3
Ip address 192.168.3.1 255.255.255.0
 
 
 
Switch1
Interface FastEthernet0/1
Channel-group 1 mode on
Switchport mode trunk
Duplex full
Speed100
!
Interface FastEthernet0/2
Switchport mode trunk
!
Interface FastEthernet0/3
Channel-group 1 mode on
Switchport mode trunk
Duplex full
Speed100
!
Interface FastEthernet0/4
Switchport access vlan 2
Switchport mode access
!
Interface FastEthernet0/5
Switchport access vlan 3
Switchport mode access
Interface Port-channel 1
Switchport mode trunk
 
 
Switch2
Interface FastEthernet0/1
Channel-group 1 mode on
Switchport mode trunk
Duplex full
Speed100
!
Interface FastEthernet0/3
Channel-group 1 mode on
Switchport mode trunk
Duplex full
Speed100
 
Interface FastEthernet0/6
Switchport access vlan 2
Switchport mode access
!
Interface FastEthernet0/7
Switchport access vlan 3
Switchport mode access
 
!
Interface Port-channel 1
Switchport mode trunk
!
Lab Verification:
Router # sh ip route
Gateway of last resort is not set
 
C 192.168.2.0/24 is directly connected, FastEthernet0/0.1
C 192.168.3.0/24 is directly connected, FastEthernet0/0.2
 
PC> ping 192.168.3.3
 
Pinging 192.168.3.3 with 32 bytes of data:
 
Reply from 192.168.3.3: bytes = 32 time = 156 ms TTL = 127
Reply from 192.168.3.3: bytes = 32 time = 156 ms TTL = 127
Reply from 192.168.3.3: bytes = 32 time = 157 ms TTL = 127
Reply from 192.168.3.3: bytes = 32 time = 110 ms TTL = 127
 
Ping statistics for 192.168.3.3:
Packets: Sent = 4, stored ED = 4, Lost = 0 (0% loss ),
Approximate round trip times in milli-seconds:
Minimum = 110 ms, Maximum = 157 ms, Average = 144 ms
 
PC> ping 192.168.2.3
 
Pinging 192.168.2.3 with 32 bytes of data:
 
Reply from 192.168.2.3: bytes = 32 time = 188 ms TTL = 128
Reply from 192.168.2.3: bytes = 32 time = 94 ms TTL = 128
Reply from 192.168.2.3: bytes = 32 time = 93 ms TTL = 128
Reply from 192.168.2.3: bytes = 32 time = 94 ms TTL = 128
 
Ping statistics for 192.168.2.3:
Packets: Sent = 4, stored ED = 4, Lost = 0 (0% loss ),
Approximate round trip times in milli-seconds:
Minimum = 93 ms, Maximum = 188 ms, Average = 117 ms
This article is from Shinano blog

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.