9.2
Single-Hop Inter-VLAN-Routing
Introduction
A physical network is divided into broadcast domains and subnets by VLANs.
Devices (hosts) within a VLAN can communicate with each other directly via layer 2. The
frames are forwarded to the relevant device based on the MAC address.
Devices from different VLANs cannot communicate with each other directly via layer 2. The
data traffic must be routed based on the IP address.
With the Single-Hop Inter-VLAN-Routing function it is possible that devices from different
VLANs communicate with each other without a router being necessary.
Requirements
● The IE switch can manage several IP interfaces.
● The switch is a member in the VLANs to be routed.
● With the hosts, the IP address of the VLAN is entered as default gateway.
Single-Hop Inter-VLAN-Routing
The IE switch receives a frame and recognizes that it is addressed to a device in another
VLAN. It forwards the frame to the corresponding port in the VLAN.
The IE switch only knows VLANs with which it is directly connected (Connected). With Single-
Hop Inter-VLAN-Routing it is therefore only possible to route between two local IP interfaces.
9.2.1
Commands in the global configuration mode
This section describes commands that you can call up in the Global configuration mode.
In Privileged EXEC mode, enter the
configure terminal
command to change to this mode.
Commands relating to other topics that can be called in the Global configuration mode can be
found in the relevant sections.
You exit the Global configuration mode with the
end
or
exit
command and are then in the
Privileged EXEC mode again.
9.2.1.1
ip single-hop inter-vlan-routing
Description
With this command, you enable the Single-Hop Inter-VLAN-Routing function.
Requirement
You are in the Global Configuration mode.
The command prompt is as follows:
Layer 3 functions
9.2 Single-Hop Inter-VLAN-Routing
SCALANCE XB-200/XC-200/XF-200BA/XP-200/XR-300WG Command Line Interface
450
Configuration Manual, 07/2017, C79000-G8976-C361-06