Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống
1
/ 33 trang
THÔNG TIN TÀI LIỆU
Thông tin cơ bản
Định dạng
Số trang
33
Dung lượng
2,91 MB
Nội dung
CCNA3-1
Chapter 6
Chapter 6
Chapter 6
Inter-VLAN Routing
Inter-VLAN Routing
CCNA3-2
Chapter 6
Inter-VLAN Routing
Inter-VLAN Routing
Introducing Inter-VLAN Routing
Introducing Inter-VLAN Routing
CCNA3-3
Chapter 6
•
What is Inter-VLAN Routing?
What is Inter-VLAN Routing?
•
Each VLAN is a
Each VLAN is a
unique broadcast domain
unique broadcast domain
.
.
•
Computers on separate VLANs are,
Computers on separate VLANs are,
by default
by default
, not
, not
able to communicate.
able to communicate.
•
Each VLAN is a
Each VLAN is a
unique IP subnetwork
unique IP subnetwork
.
.
•
To allow VLANs to communicate, we need a router to
To allow VLANs to communicate, we need a router to
communicate among separate broadcast domains and
communicate among separate broadcast domains and
unique IP subnetworks.
unique IP subnetworks.
•
Inter-VLAN routing
Inter-VLAN routing
, then,
, then,
is a process of forwarding traffic
is a process of forwarding traffic
from one VLAN to another VLAN using a router
from one VLAN to another VLAN using a router
.
.
Introducing Inter-VLAN Routing
Introducing Inter-VLAN Routing
CCNA3-4
Chapter 6
•
Methods:
Methods:
•
Traditional
Traditional
Inter-VLAN Routing.
Inter-VLAN Routing.
•
Router-on-a-stick
Router-on-a-stick
Inter-VLAN Routing.
Inter-VLAN Routing.
•
Switch Based
Switch Based
Inter-VLAN Routing.
Inter-VLAN Routing.
Introducing Inter-VLAN Routing
Introducing Inter-VLAN Routing
CCNA3-5
Chapter 6
•
Traditional Inter-VLAN Routing:
Traditional Inter-VLAN Routing:
•
One router interface per VLAN.
One router interface per VLAN.
Introducing Inter-VLAN Routing
Introducing Inter-VLAN Routing
VLAN
VLAN
Tagged
Tagged
VLAN
VLAN
Tagged
Tagged
Internally Routed to
Internally Routed to
the proper subnet.
the proper subnet.
Internally Routed to
Internally Routed to
the proper subnet.
the proper subnet.
Tag
Tag
removed
removed
Tag
Tag
removed
removed
CCNA3-6
Chapter 6
•
Router-on-a-stick Inter-VLAN Routing:
Router-on-a-stick Inter-VLAN Routing:
•
One router interface for
One router interface for
all VLANs
all VLANs
.
.
Introducing Inter-VLAN Routing
Introducing Inter-VLAN Routing
VLAN
VLAN
Tagged
Tagged
VLAN
VLAN
Tagged
Tagged
Internally Routed to
Internally Routed to
the proper subnet.
the proper subnet.
Internally Routed to
Internally Routed to
the proper subnet.
the proper subnet.
Tag
Tag
removed
removed
Tag
Tag
removed
removed
CCNA3-7
Chapter 6
•
Layer 3 Switch Inter-VLAN Routing:
Layer 3 Switch Inter-VLAN Routing:
•
Uses
Uses
Switch Virtual Interfaces (SVI)
Switch Virtual Interfaces (SVI)
to retag
to retag
the frame.
the frame.
Introducing Inter-VLAN Routing
Introducing Inter-VLAN Routing
VLAN
VLAN
Tagged
Tagged
(10)
(10)
VLAN
VLAN
Tagged
Tagged
(10)
(10)
Tag
Tag
removed
removed
Tag
Tag
removed
removed
CCNA3-8
Chapter 6
•
Traditional Inter-VLAN Routing:
Traditional Inter-VLAN Routing:
•
Traditional routing requires routers to have
Traditional routing requires routers to have
multiple
multiple
physical interfaces
physical interfaces
to facilitate inter-VLAN routing.
to facilitate inter-VLAN routing.
•
Each interface is also configured with an
Each interface is also configured with an
IP address for
IP address for
the subnet associated with the particular VLAN
the subnet associated with the particular VLAN
that it is
that it is
connected to.
connected to.
•
In this configuration, network devices can use the
In this configuration, network devices can use the
router
router
as a gateway
as a gateway
to access the devices connected to the
to access the devices connected to the
other VLANs.
other VLANs.
Interfaces and Subinterfaces
Interfaces and Subinterfaces
CCNA3-9
Chapter 6
Traditional Inter-VLAN Routing
Traditional Inter-VLAN Routing
Traditional Inter-VLAN Routing
Traditional Inter-VLAN Routing
Interfaces and Subinterfaces
Interfaces and Subinterfaces
Tagged
Tagged
VLAN 10
VLAN 10
Tagged
Tagged
VLAN 10
VLAN 10
Tag
Tag
Removed
Removed
Tag
Tag
Removed
Removed
Router
Router
Responds
Responds
Router
Router
Responds
Responds
Routing table:
Routing table:
172.17.10.0 – F0/0
172.17.10.0 – F0/0
172.17.30.0 – F0/1
172.17.30.0 – F0/1
Routing table:
Routing table:
172.17.10.0 – F0/0
172.17.10.0 – F0/0
172.17.30.0 – F0/1
172.17.30.0 – F0/1
Router tags
Router tags
the frame
the frame
for VLAN 30
for VLAN 30
And switches it
And switches it
to Port F0/1.
to Port F0/1.
Router tags
Router tags
the frame
the frame
for VLAN 30
for VLAN 30
And switches it
And switches it
to Port F0/1.
to Port F0/1.
CCNA3-10
Chapter 6
Interfaces and Subinterfaces
Interfaces and Subinterfaces
Traditional Inter-VLAN Routing
Traditional Inter-VLAN Routing
Traditional Inter-VLAN Routing
Traditional Inter-VLAN Routing
[...]... communicate PC1 cannot communicate PC1 Incorrect IP address for Incorrect IP address for subnet 172. 16. 10.0/24 subnet 172. 16. 10.0/24 Incorrect IP address forfor Incorrect subnet mask for IP address for subnet mask subnet 172. 16. 10.0/24 subnet 172. 16. 10.0/24 subnet 172. 16. 10.0/24 subnet 172. 16. 10.0/24 CCNA3-33 Chapter 6 ... Routing: CCNA3-23 Chapter 6 Configuring Inter-VLAN Routing • Traditional Inter-VLAN Routing: CCNA3-24 Chapter 6 Configuring Inter-VLAN Routing • Traditional Inter-VLAN Routing: CCNA3-25 Chapter 6 Configuring Inter-VLAN Routing • Router-on-a-stick Inter-VLAN Routing: VLANs VLANs Trunk in Trunk in Trunk Trunk Native VLAN Native VLAN Interfaces Interfaces VLANs VLANs CCNA3- 26 Chapter 6 Configuring Inter-VLAN... Interfaces Enable Interfaces CCNA3-19 Chapter 6 Interfaces and Subinterfaces • Router-on-a-stick Inter-VLAN Routing: • Configuring Subinterfaces: Planning! Planning! CCNA3-20 Chapter 6 Interfaces and Subinterfaces • Router Interface and Subinterface Comparison: CCNA3-21 Chapter 6 Inter-VLAN Routing Configuring Inter-VLAN Routing (Putting It All Together) CCNA3-22 Chapter 6 Configuring Inter-VLAN Routing • Traditional... are not directly connected by trunk links CCNA3-15 Chapter 6 Interfaces and Subinterfaces • Router-on-a-stick Inter-VLAN Routing: • Assign it to a VLAN: • Before assigning an IP Address, the interface must to be configured to operate on a specific VLAN using the proper encapsulation R1(config-subif)#encapsulation dot1q vlan-id CCNA3- 16 Chapter 6 Interfaces and Subinterfaces • Router-on-a-stick Inter-VLAN... VLAN R1(config-subif)#ip address [address] [mask] CCNA3-17 Chapter 6 Interfaces and Subinterfaces • Router-on-a-stick Inter-VLAN Routing: • Enable the interface: • Subinterfaces are not enabled individually • When the physical interface is enabled, all associated subinterfaces are enabled R1(config-if)#no shutdown CCNA3-18 Chapter 6 Interfaces and Subinterfaces • Router-on-a-stick Inter-VLAN Routing:... Configuring Inter-VLAN Routing • Router-on-a-stick Inter-VLAN Routing: VLAN 10 VLAN 10 VLAN 30 VLAN 30 Enable All Enable All Subinterfaces Subinterfaces CCNA3-27 Chapter 6 Inter-VLAN Routing Troubleshooting Inter-VLAN Routing CCNA3-28 Chapter 6 Configuring Inter-VLAN Routing VLAN 30 is working but VLAN 10 VLAN 30 is working but VLAN 10 • Switch Configuration Issues: cannot communicate with the cannot communicate... CCNA3-29 Chapter 6 Configuring Inter-VLAN Routing Each of the configured Each of the configured • Switch Configuration Issues: subinterfaces is unable to subinterfaces is unable to send or receive VLAN traffic send or receive VLAN traffic Interface F0/5 is still in Interface F0/5 is still in the default VLAN the default VLAN switchport mode trunk switchport mode trunk CCNA3-30 Chapter 6 Configuring Inter-VLAN... mistakes in Inter-VLAN routing mistakes in Inter-VLAN routing CCNA3-31 Chapter 6 Configuring Inter-VLAN Routing PC1 cannot communicate with the PC1 cannot communicate with the router interface and the router router interface • Router Configuration Issues: and the router cannot route to VLAN 30 cannot route to VLAN 30 CCNA3-32 Chapter 6 Configuring Inter-VLAN Routing • IP Addressing Issues: cannot communicate... model CCNA3-12 Chapter 6 Interfaces and Subinterfaces Router-on-a-stick Inter-VLAN Routing Router-on-a-stick Inter-VLAN Routing Routing table: Routing table: 172.17.10.0 – F0/0.10 172.17.10.0 – F0/0.10 172.17.30.0 – F0/0.30 172.17.30.0 – F0/0.30 Tagged Tagged VLAN 30 VLAN 30 Tagged Tag Tag Tagged Tag Tag Removed Removed VLAN 10 Removed Removed VLAN 30 10 30 CCNA3-13 Chapter 6 Interfaces and Subinterfaces... hardware limitations of a router • Routers have a limited number of physical interfaces that they can use to connect to different VLANs • It is very expensive to add an Ethernet Interface CCNA3-11 Chapter 6 Interfaces and Subinterfaces • Router-on-a-stick Inter-VLAN Routing: • Subinterfaces: • Overcomes the hardware limitation of a router • Subinterfaces are software-based virtual interfaces that are assigned . CCNA3-1
Chapter 6
Chapter 6
Chapter 6
Inter-VLAN Routing
Inter-VLAN Routing
CCNA3-2
Chapter 6
Inter-VLAN Routing
Inter-VLAN Routing
Introducing. subnet.
the proper subnet.
Tag
Tag
removed
removed
Tag
Tag
removed
removed
CCNA3 -6
Chapter 6
•
Router-on-a-stick Inter-VLAN Routing:
Router-on-a-stick Inter-VLAN