Escolar Documentos
Profissional Documentos
Cultura Documentos
Prepared By:
Nick Sandoval
Field Application Engineer
April 13, 2013
Table of Contents
I. Prerequisites: ....................................................................................... 2
II. Layer 3 Switches............................................................................... 2
A.
B.
C.
I.
Prerequisites:
http://www.moxa.com/support/download.aspx?type=support&id=908
II.
Layer 3 Switches
-2-
A.
InterVLAN Routing
Procedure:
1. Setup VLANs
a. First log in into the Moxa switch using a web browser like Internet Explorer by
typing in the IP address of the switch in
the URL field in the web browser.
Alternatively, the EDS Search utility
can be used. Keep in mind that the computer being used to access the switch
must belong to the same network as the switch in order for both devices to
communicate.
b. When the switchs web interface loads, there is a prompt for the account and
password. By default there is no passwords, so you can simply click in Login
without entering any additional information.
c. Once logged in, there will be configuration options listed on the left side. Select
Virtual VLAN option to expand this field and then click on VLAN settings.
Note that under the port column, the first number indicates the module and the
second number that is after the dash shows the port number for that module. In
this example, ports 1-1, 1-2, and 1-3 (all in module 1) have been configured as
an Access port type, and thus are connected with VLAN unaware devices such
-3-
as most LAPTOPs. Devices that are VLAN unaware do not have the ability to
send tagged frames required for 802.1q based VLANs.
d. As these access ports are configured with PVID 10, any VLAN unaware devices
connected to ports 1-1, 1-2 or 1-3 will belongs to VLAN 10 and communicate to
any devices belonging to the VLAN 10 group without routing.
e. Port 1-4, 1-5, 1-6 have been configured with Access port type with VLAN
20(PVID 20).
f. In the VLAN Table, all settings from the previous slide can be confirmed. This
table shows that the switch has been set up for two VLANs segments, VLAN 10
and VLAN 20.
-4-
-5-
Next hop
The IP address of the next router that must be
traversed in order to get to the end destination
Subnet Mask
The mask that defines the network and host identifiers
given an IP
Metric
A parameter that determines the priority of a route and
used for deciding between multiple entries in routing
-6-
B.
Static Routing
20
on
Layer
switch
is
created.
4.
For switch 2, the Destination
Address
of
192.168.1.0,
netmask 255.255.255.0, next
hop 192.168.2.100 with Metric
2 is configured. Notice that we
configure network or subnet
addresses,
not
node
addresses. This means that
any
node
located
in
192.168.3.X need to send
packets to the node in
192.168.1.X.
The data will be routed to
192.168.2.0 subnet and then
forward to 192.168.2.100
which is an interface of
switch 1.
Then the Layer 3 switch 1
will route the Packets to its
directly connected network
of 192.168.1.0 to the dest.
node.
5. After manually configuring
the static route on switch 1
and switch 2 respectively,
-8-
C.
Dynamic Routing
1. Follow the same steps as static routing except do no add static routes.
a. Setup VLANs
b. Setup IP interface for each VLAN
2. For Switch 1:
-9-
3.
4. Verify the routing table to see if the router is learning routes from connected routers.
- 10 -
III.
- 11 -
4. Change the IP address of your computer so that it is in the same network as the router. For this
demo, change it to 192.1.1.1/24 Do not forget to make to choose the gateway of your PC to the
routers LAN IP which is 192.1.1.2.
5. Thats it, the router automatically traffic from the LAN port to the WAN once you setup the IP
address of the ports. This can be tested by pinging a PC connected on the WAN from the LAN.
- 12 -
B.
C.
If there are several networks, then you need to use routing. You can either use Static or
Dynamic routing to accomplish this.
1. Follow the same steps found in: Routing between two ports to setup the ports. Choose the IP
addresses on the diagram.
2. In the Menu, choose RoutingStatic Route. Enter the desired address to add in the address
table as well as the Next Hop. The Next Hop is the address of the router that is needed to get
there. In this case, to get to the network 192.168.1.0/24, the router on the left needs to go
through the router on the right, therefore the router on the left needs to go to 2.1.1.2, this is the
next hop. The Metric chooses the priority level. The lower the metric, the higher the priority
that route takes. When all the data is entered, click on Add, then click on Activate.
- 13 -
D.
Dynamic Routing
3. That is it, it is this easy. To see all the routes the router learned, check the routing table by
clicking on RoutingRouting Table.
IV.
Team up with the team next to you and setup this setup:
2.1.1.5/30
2.1.1.2/30
2.1.1.1/30
2.1.1.9/30
2.1.1.10/30
2.1.1.6/30
EDR
L3
EDS
L3
1.1.1.1/24
3.1.1.1/24
3.1.1.5/24
1.1.1.5/24
V.
Troubleshooting Tips:
- 15 -