How Do I Setup A Layer 3 Network With Static Routes On My Dgs-3324Sr/ Dgs-3324Sri/Dxs-3350Sr/Dxs-3326Gsr?
How Do I Setup A Layer 3 Network With Static Routes On My Dgs-3324Sr/ Dgs-3324Sri/Dxs-3350Sr/Dxs-3326Gsr?
Page 1
DGS-3324SR_1
DGS-3324SR_2
Scenario:
This configuration example shows a Layer 3 configuration on two DGS-3324SR switches. It can also apply to the DGS-3324SRi,
DXS-3350SR, and DXS-3326GSR switches as well. Each switch has different subnets. Now, in order to allow the subnets on the
switches to communicate with each other, Static Routes need to be configured in both devices so that:
1) Networks at DGS-3324SR_1 (ie, Net2, Net3) can ping Networks at DGS-3324SR_2 (Net4, Net5)
2) Networks at DGS-3324SR_2 (ie, Net4, Net5) can ping Networks at DGS-3324SR_1 (Net2, Net3)
The principle is that the packets with the destination to the “remote network” will be based on the static route entries in the switch
to route the packet to the “remote Switch”, and then to the “remote network.” This configuration example is based on firmware
version 4.10b15.
Step 1 Connect to the DGS-3324SR_1 switch using the console connection with your preferred Terminal emulation software.
Step 2 Once connected to the CLI, login at the username and password prompt (The default is username is <blank> and password
is <blank>).
reset system
Enter ‘y’ when prompted to confirm the factory reset. The switch will now reboot with the factory default settings.
Step 5 In the DGS-3324SR_1 switch CLI, enter the following commands to create the switch VLANs and related IP interfaces for
Net1, Net2 and Net3 on the DGS-3324SR_1 switch.
Step 6 Enter the following commands on the DGS-3324SR_1 switch to add the Static Route entries for the 192.168.4.0/24 and
192.168.5.0/24 subnets.
Step 8 Once logged into the DGS-3324SR_2 switch CLI, enter the following commands to create the switch VLANs and related IP
interfaces for Net1, Net4 and Net5 on the DGS-3324SR_2 switch.
Step 9 Enter the following commands on the DGS-3324SR_2 switch to add the Static Route entries for the 192.168.2.0/24 and
192.168.3.0/24 subnets.
show iproute
save
Verify Configuration:
Below is a list of commands that can be used to verify the configuration and are useful for diagnostics:
show iproute
Below are the screen outputs for the above commands in this example. For more related CLI commands please refer to the CLI
reference manual for your switch model.
DGS-3324SR:4#show iproute
Command: show iproute
Routing Table
Total Entries : 4