Switch vlan-mapping configuration example

2020-03-22 21:21:44 Published
  • 0 Followed
  • 0Collected ,2351Browsed

Network Topology


Configuring vlan-mapping to achieve normal mutual access between PCs

Problem Description

PC1 is divided into vlan10 by S5560, and is mapped to vlan1000 by vlan mapping on port 1/0/15 passing S5130.

 

PC1: 192.168.200.1/24;

 

PC2: 192.168.200.2/24;

 

S5130's SVI1000 address is 192.168.200.3/24

Process Analysis

ICMP packets are sent to cpu before vlan-mapping action

Solution

S5130 configuration:

#

interface GigabitEthernet1/0/15

port link-type trunk

port trunk permit vlan 10 1000

vlan mapping 10 translated-vlan 1000

#

interface GigabitEthernet1/0/16

port access vlan 1000

poe enable

#

S5500 configuration

#

interface GigabitEthernet1/0/5

port link-mode bridge

port access vlan 10

#

interface GigabitEthernet1/0/6

port link-mode bridge

port link-type trunk

port trunk permit vlan 10

#

 

Experimental results:

 

1. PC1 can learn the arp of PC2 and SVI1000; can access PC2 normally

 

<S5130> dis arp

 

192.168.200.2 5cdd-70c1-ef51-GE2 / 6/1 20 D

 

192.168.200.3 741f-4a84-aae2-GE2 / 6/1 5 D

 

 

2. PC2 cannot access SVI1000 of S5130: ICMP packets are sent to cpu before vlan-mapping action

Please rate this case:   
0 Comments

No Comments

Add Comments: