Você está na página 1de 20

Training objectives

HUAWEI

Understand the creation background of inter-VLAN routing Understand the inter-VLAN routing solutions Understand layer 3 switch schema and networking advantages Grasp configuration of inter-VLAN routing

datacomm.huawei.com

HUAWEI

Layer 2 switching network-broadcast network


Layer2 s w itching broadcast d o m a in

In traditional layer 2 switching networks, the whole network is a broadcast domain, so when the network increases in scale, network broadcasting severely increases, causing a drop in efficiency, which is disadvantageous for management

datacomm.huawei.com

HUAWEI

Insulating layer 2 broadcast domain

VLAN 100

VLAN 200

VLAN 300

VLAN has insulated the layer 2 broadcast domain, thus strictly insulating any flow betweenanytwoVLANs

datacomm.huawei.com

Inter-VLAN communication
HUAWEI

VLAN 100

VLAN 200

VLAN 300

Flow between different VLANs cannot directly cross VLAN boundaries, we should use routers so that messages can be transferred from one VLAN to another VLAN

datacomm.huawei.com

HUAWEI

Route selection in inter-VLAN communication


VLAN 100 VLAN 200

ping 2.2.2.20 Non-local communication uses the default gateway

1.1.1.10/24

2.2.2.20/24

Network 1.1.1.0/24 in interface1 Network 2.2.2.0/24 in interface2

A default gateway is configured at the host; for non-local communication, the host w ill automatically search for the default gateway, and send the messages to the default gateway for transfer instead of directly sending to the destination host

datacomm.huawei.com

HUAWEI

One physical connection for every VLAN

VLAN 100

VLAN 200

VLAN 300

VLAN is configured at layer 2 switches, and every VLAN uses a unique physical connection to one interface of the router.

datacomm.huawei.com

Use VLAN Trunking


HUAWEI

VLAN 100

VLAN 200

VLAN 300

Layer 2 switches and routers are configured with ports for their interconnection that use VLAN Trunking, so that multiple VLANs can share the same physical connection to the router.

datacomm.huawei.com

Use VLAN Trunking


HUAWEI

VLAN 100

VLAN 200

VLAN 300

Layer 2 switches and routers are configured with ports for their interconnection that use VLAN Trunking, so that multiple VLANs can share the same physical connection to the router.

datacomm.huawei.com

HUAWEI

Integration of switching and routing


VLAN 100 VLAN 200

VLAN 300

VLAN 100

VLAN 200

VLAN 300

Functional integration of layer 2 switches and routers forms the layer 3 switch; the layer 3 switch functionally realizes VLAN classification, VLAN internal layer 2 switching and inter-VLAN route functions

datacomm.huawei.com

HUAWEI

Function model of layer 3 switch


ETH0:10.110.0.254/24 ETH2:10.110.2.254/24 ETH1:10.110.1.254/24

VLAN Switch

10.110.0.113/24 G: 10.110.0.254

10.110.1.69/24 10.110.1.88/24 G:10.110.1.254G:10.110.1.254

10.110.2.200/24 G:10.110.2.254

datacomm.huawei.com

HUAWEI

Routes of layer 3 switches and layer 2 switching

datacomm.huawei.com

HUAWEI

Message to message Layer 3 switching technology

3 2 1

3 2 1

3 2 1

3 2 1

Traditional layer 3 technology processes each message, and transfers messages based on the third layer addresses. This method is called from message to message(PXP).

datacomm.huawei.com

HUAWEI

Layer 3 switching technology based on flow switching

3 2 1

3 2 1

3 2 1

3 2 1

The method not processing all messages at layer 3 is called flowswitching FS .


The first message Subsequent messages

datacomm.huawei.com

HUAWEI

Forwarding process of layer 3 switch


Package forwarding Stream processing module Layer 3 route module Route table Multi- layer stream classfication Stream classfication rule table

Ethernet package

Layer 2 switching module

Ethernet package

MAC table VLAN table

Multi-layer (access bandwidth restriction/priority level) processing property table Processing property table

Switchin networ Package forwarding

broadcast packages and packages unable to route

Strategy/management server

datacomm.huawei.com

Configure VLAN
HUAWEI

VLAN 100

VLAN 200

Quidway(config)#vlan 100 Quidway(config-vlan100)#port e0/1 to e0/10 Quidway(config-vlan100)#vlan 200 Quidway(config-vlan200)#port e0/11 to e0/20 Quidway(config-vlan200)#exit Quidway(config)#

datacomm.huawei.com

HUAWEI

Configure routing interfaces for VLANs


1.1.1.254/24 2.2.2.254/24

VLAN 100

VLAN 200

Quidway(config)#vlan 100 Quidway(config-vlan100)#interface vlan 100 Quidway(config-if-vlan100)#ip address 1.1.1.254 255.255.255.0 Quidway(config-vlan100)#vlan 200 Quidway(config-vlan200)#interface vlan 200 Quidway(config-if-vlan200)#ip address 2.2.2.254 255.255.255.0 Quidway(config-vlan200)#exit Quidway(config)#

datacomm.huawei.com

HUAWEI

Configure default gateways for the hosts


1.1.1.100/24 Default Gateway 1.1.1.254 2.2.2.100/24 Default Gateway 2.2.2.254

1.1.1.254/24

2.2.2.254/24

VLAN 100

VLAN 200

Configure default gateways for the host, pointing the default gateway to the interface address of all VLANs at the layer 3 switch

datacomm.huawei.com

HUAWEI

Configure RIP routing protocol


S3526 A


S3526 B

S3526 C

datacomm.huawei.com

HUAWEI

Configure OSPF routing protocol



Area1

AS1
Area0

AS2

datacomm.huawei.com

Summary
HUAWEI

To divide the networkintodifferent VLANsisnotthepurposeofnetworking


Inter-VLAN communication is possible only through routing solutions To interconnect different VLANs, layer 3 switch is superior to router

S3526canrealizem u ltiplerouting solutions

datacomm.huawei.com

Você também pode gostar