Static Route Configuration Examples - Planet XGS3-42000R User Manual

4-slot layer 3 ipv6/ ipv4 routing chassis switch
Table of Contents

Advertisement

34.4 Static Route Configuration Examples

The figure shown below is a simple network consisting of three layer3 switches, the network mask for all
switches and PC is 255.255.255.0. PC-A and PC-C are connected via the static route set in SwtichA and
SwitchC; PC3 and PC-B are connected via the static route set in SwtichC to SwitchB; PC-B and PC-C is
connected via the default route set in SwitchB.
PC-C:10.1.5.2
PC-A:10.1.1.2
PC-B:10.1.4.2
SwitchC
vlan3 :10.1.5.1
vlan2 :10.1.2.2
vlan1 :10.1.3.2
vlan1 :10.1.1.1
vlan2 :10.1.4.1
SwitchA
vlan1 :10.1.3.1
vlan2 :10.1..2.1
SwitchB
Figure 34-4-1 Static Rout e Configurations
Configuration steps:
Configuration of layer3 SwitchA
XGS 3-42000R#config
XGS 3-42000R(config) #ip route 10. 1.5.0 255.255.255.0 10.1. 2.2
Configuration of layer3 SwitchC
XGS 3-42000R#config
Next hop use the partner IP address
XGS 3-42000R(config)#ip route 10.1.1.0 255.255.255.0 10.1.2.1
Next hop use the partner IP address
XGS 3-42000R(config)#ip route 10.1.4.0 255.255.255.0 10.1.3.1
Configuration of layer3 SwitchB
XGS 3-42000R#config
XGS 3-42000R(config)#ip route 0.0. 0.0 0.0.0.0 10.1.3.2
In this way, ping connectivity can be established bet ween PC-A and PC-C, and PC-B and P C-C.
34-2

Advertisement

Table of Contents

Troubleshooting

loading

Table of Contents