Vous êtes sur la page 1sur 13

Internal

ODA041003 Inter-VLAN Routing Configuration


ISSUE 1.1
www.huawei.com

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

This course introduces routing configuration

inter-VLAN

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 1

Upon completion of this course, you will be able to: Know the inter-VLAN configuration

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 2

Set/delete VLAN Route Interface


Usage:

Setting a virtual vlan interface


Command:

[undo] interface vlan-interface vif_id


parameter:

vif_id :

the virtual interface number

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 3

Configure/delete IP address for VLAN Interface


Usage:

Configure/ delete IP address for vlan interface


Commands:

[undo] ip address ip address mask


parameter:

Ip address : the IP address of vlan Mask: the mask of subnet

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 4

The example of inter-VLAN routing

1.1.1.100/24 Default gateway 1.1.1.254 VLAN 100

1.1.1.254/24

2.2.2.254/24

2.2.2.100/24 Default gateway 2.2.2.254 VLAN 200

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 5

Configuration flow
configure VLAN

Create L3 interfaces and configure their IP addresses

configure the default gateways for the hosts

configure the dynamic routing protocols or static routes

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 6

The example of inter-VLAN routing


configure VLAN [Quidway] vlan 100 [Quidway-vlan100] port e0/1 to e0/10 [Quidway] vlan 200 [Quidway-vlan200] port e0/11 to e0/20

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 7

The example of inter-VLAN routing


Create L3 interfaces and configure their IP addresses [Quidway-vlan100] interface vlan 100

[Quidway-vlan-interface100] ip address 1.1.1.254 255.255.255.0


[Quidway-vlan200] interface vlan 200 [Quidway-vlan-interface200] ip address 2.2.2.254 255.255.255.0

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 8

The example of inter-VLAN routing

Configure default gateway for the host, pointing the default gateway to

the interface address of all VLANs at the layer 3 switch


Ping from one host to another host

Configuring routing protocol on layer 3 switch if there are several

switches

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 9

Configure OSPF
LSW 1 VLAN 1 1.1.1.1 LSW 2 VLAN 3 1.1.1.3 VLAN 2 1.1.1.2

Area 1

LSW 3
VLAN 4 1.1.2.3

AS 1

VLAN 5 1.1.2.4 LSW 4 VLAN 6 2.2.2.3 VLAN 7 2.2.2.5 3.3.3.6

AS 2

Area 0

LSW 5

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 10

Summary
inter-vlan routing configuration

HUAWEI TECHNOLOGIES CO., LTD.

All rights reserved

Page 11

Thank You
www.huawei.com

Vous aimerez peut-être aussi