RackSwitch G8000 Application Guide
5.Assign a VLAN to each IP interface.
Now that the ports are separated into VLANs, the VLANs are assigned to the appropriate IP interface for each subnet. From Table
RS G8000 (config)# interface ip 1 | (Select IP interface 1) |
RS G8000 |
|
RS G8000 | (Add VLAN 1) |
RS G8000 |
|
RS G8000 |
|
RS G8000 (config)# interface ip 2 | (Select IP interface 2) |
RS G8000 |
|
RS G8000 | (Add VLAN 2) |
RS G8000 |
|
RS G8000 |
|
RS G8000 (config)# interface ip 3 | (Select IP interface 3) |
RS G8000 |
|
RS G8000 | (Add VLAN 3) |
RS G8000 |
|
RS G8000 |
|
RS G8000 (config)# interface ip 4 | (Select IP interface 4) |
RS G8000 |
|
RS G8000 | (Add VLAN 4) |
RS G8000 |
|
RS G8000 |
|
6.Configure the default gateway to the routers’ addresses.
The default gateway allows the switch to send outbound traffic to the router:
RS G8000 (config)# ip gateway address 205.21.17.1
RS G8000 (config)# ip gateway enable
7.Enable IP routing.
RS G8000 (config)# ip routing
8.Verify the configuration.
RS G8000 | (config)# show vlan | |||
RS | G8000 | (config)# | show | interface information |
RS | G8000 | (config)# | show | interface ip |
Examine the resulting information. If any settings are incorrect, make the appropriate changes.
126 Chapter 8: Basic IP Routing | BMD00041, November 2008 |