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

SAT06 Vlan Routing

Embed Size (px)

Citation preview

Page 1: SAT06 Vlan Routing

7/27/2019 SAT06 Vlan Routing

http://slidepdf.com/reader/full/sat06-vlan-routing 1/20

HUAWEI

Training objectives

Understand the inter-VLAN routing solutions

Understand the creation background of inter-VLANrouting

Understand layer 3 switch schema and networkingadvantages

Grasp configuration of inter-VLAN routing

Page 2: SAT06 Vlan Routing

7/27/2019 SAT06 Vlan Routing

http://slidepdf.com/reader/full/sat06-vlan-routing 2/20

HUAWEI

ayer sw c ngnetwork-broadcast network

Layer 2switchingbroadcast

domain

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

Page 3: SAT06 Vlan Routing

7/27/2019 SAT06 Vlan Routing

http://slidepdf.com/reader/full/sat06-vlan-routing 3/20

HUAWEI

nsu a ng ayer roa casdomain

VLAN 100 VLAN 200

VLAN 300

VLAN has insulated the layer 2 broadcast domain, thus strictly insulating any flowbetween any two VLANs

Page 4: SAT06 Vlan Routing

7/27/2019 SAT06 Vlan Routing

http://slidepdf.com/reader/full/sat06-vlan-routing 4/20

HUAWEI

Inter-VLAN communication

VLAN 100 VLAN 200

VLAN 300

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

Page 5: SAT06 Vlan Routing

7/27/2019 SAT06 Vlan Routing

http://slidepdf.com/reader/full/sat06-vlan-routing 5/20

HUAWEI

ou e se ec on ninter-VLAN communication

VLAN 100 VLAN 200

1.1.1.10/24 2.2.2.20/24

ping 2.2.2.20

Non-localcommunicationuses the default

gateway

Network1.1.1.0/24 ininterface1

Network2.2.2.0/24 in

interface2

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

Page 6: SAT06 Vlan Routing

7/27/2019 SAT06 Vlan Routing

http://slidepdf.com/reader/full/sat06-vlan-routing 6/20

HUAWEI

ne p ys ca connec on or  every VLAN

VLAN 100 VLAN 200

VLAN 300

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

Page 7: SAT06 Vlan Routing

7/27/2019 SAT06 Vlan Routing

http://slidepdf.com/reader/full/sat06-vlan-routing 7/20

HUAWEI

Use VLAN Trunking

VLAN 100 VLAN 200

VLAN 300

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

Page 8: SAT06 Vlan Routing

7/27/2019 SAT06 Vlan Routing

http://slidepdf.com/reader/full/sat06-vlan-routing 8/20

HUAWEI

Use VLAN Trunking

VLAN 100 VLAN 200

VLAN 300

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

Page 9: SAT06 Vlan Routing

7/27/2019 SAT06 Vlan Routing

http://slidepdf.com/reader/full/sat06-vlan-routing 9/20

HUAWEI

 routing

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

V L A N1 00

V L A N200

V L A N300

VLAN100

VLAN200

VLAN300

Page 10: SAT06 Vlan Routing

7/27/2019 SAT06 Vlan Routing

http://slidepdf.com/reader/full/sat06-vlan-routing 10/20

HUAWEI

unc on mo e o ayer  switch

ETH0:10.110.0.254/24

ETH1:10.110.1.254/24

ETH2:10.110.2.254/24

10.110.0.113/24G: 10.110.0.254

10.110.1.69/24

G:10.110.1.254

10.110.1.88/24

G:10.110.1.25410.110.2.200/24

G:10.110.2.254

VLAN Switch

Page 11: SAT06 Vlan Routing

7/27/2019 SAT06 Vlan Routing

http://slidepdf.com/reader/full/sat06-vlan-routing 11/20

HUAWEI

ou es o ayer sw c esand layer 2 switching

 

Page 12: SAT06 Vlan Routing

7/27/2019 SAT06 Vlan Routing

http://slidepdf.com/reader/full/sat06-vlan-routing 12/20

HUAWEI

essage o message ayer switching technology

3

2

1

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).

Page 13: SAT06 Vlan Routing

7/27/2019 SAT06 Vlan Routing

http://slidepdf.com/reader/full/sat06-vlan-routing 13/20

HUAWEI

ayer sw c ng ec no ogybased on flow switching

The method not processing all messages at layer 3 is called

flow switching(FS) .

3

2

1

3

2

1

3

2

1

3

2

1

3

2

1

3

2

1

3

2

1

3

2

1

3

2

1

3

2

1

The first message

Subsequent messages

Page 14: SAT06 Vlan Routing

7/27/2019 SAT06 Vlan Routing

http://slidepdf.com/reader/full/sat06-vlan-routing 14/20

HUAWEI

orwar ng process o ayer switch

thernetackage Layer 2

switchingmodule

MAC

tableVLANtable

Layer 3route

moduleRoutetable

hernet

ckage

Multi- layer stream

classfication

Streamclassfication

rule table

Multi-layer (accessbandwidth

restriction/prioritylevel) processing

property table

Processing propertytable

Package

forwarding

  U    n    k    n    o    w    n       

  s    t    r    e    a    m    s  

Streamprocessingmodule

Package forwarding

Switnet

  B    r    o    a    d    c    a    s    t       

  p    a    c    k    a    g    e  

Strategy/management server 

broadcastpackages

andpackagesunable to

route

Page 15: SAT06 Vlan Routing

7/27/2019 SAT06 Vlan Routing

http://slidepdf.com/reader/full/sat06-vlan-routing 15/20

HUAWEI

Configure VLAN

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/20Quidway(config-vlan200)#exit

Quidway(config)#

on gure rou ng n er aces

Page 16: SAT06 Vlan Routing

7/27/2019 SAT06 Vlan Routing

http://slidepdf.com/reader/full/sat06-vlan-routing 16/20

HUAWEI

on gure rou ng n er acesfor VLANs

VLAN 100 VLAN 200

1.1.1.254/24 2.2.2.254/24

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 200Quidway(config-if-vlan200)#ip address2.2.2.254 255.255.255.0

Quidway(config-vlan200)#exit

Quidway(config)#

on gure e au ga eways

Page 17: SAT06 Vlan Routing

7/27/2019 SAT06 Vlan Routing

http://slidepdf.com/reader/full/sat06-vlan-routing 17/20

HUAWEI

on gure e au ga ewaysfor the hosts

VLAN 100 VLAN 200

1.1.1.254/24 2.2.2.254/24

1.1.1.100/24

Default Gateway

1.1.1.254

2.2.2.100/24

Default Gateway

2.2.2.254

Configure default gateways for the host, pointing the

default gateway to the interface address of all VLANs atthe layer 3 switch

on gure rou ng

Page 18: SAT06 Vlan Routing

7/27/2019 SAT06 Vlan Routing

http://slidepdf.com/reader/full/sat06-vlan-routing 18/20

HUAWEI

on gure rou ngprotocol

Ethernet

Router B

 Network 

address:10.24.40.0/24

 Network 

address:

129.102.0.0/16

 Network 

address:

202.38.165.0/24

 Interface address:

10.24.40.1/24

 Interface 

address:

129.102.0.1/16

Interface address:

131.109.1.1/24

Network address:

131.109.1.0/24

 Interface address:

202.38.165.1/24

S3526 C

S3526 B

S3526 A

on gure rou ng

Page 19: SAT06 Vlan Routing

7/27/2019 SAT06 Vlan Routing

http://slidepdf.com/reader/full/sat06-vlan-routing 19/20

HUAWEI

on gure rou ngprotocol

LSW1 LSW2

LSW3

LSW4

LSW5

VLAN1 VLAN2

VLAN3

VLAN4

VLAN5

VLAN6

VLAN7

 AS1

1.1.1.1 1.1.1.2

1.1.1.3

1.1.2.3

1.1.2.4

2.2.2.3

2.2.2.5

3.3.3.6

 AS2

Area1

Area0

Page 20: SAT06 Vlan Routing

7/27/2019 SAT06 Vlan Routing

http://slidepdf.com/reader/full/sat06-vlan-routing 20/20

HUAWEI

Summary

Inter-VLAN communication is possible

only through routing solutions

To divide the network into differentVLANs is not the purpose of networking

To interconnect different VLANs, layer 3switch is superior to router 

S3526 can realize multiple routingsolutions