Handbook

N8406-023 1Gb Intelligent L3 Switch Application Guide 93
2. Assign an IP interface for each subnet attached to the switch.
Since there are four IP subnets connected to the switch, four IP interfaces are needed
Table 22 Subnet routing example: IP interface assignments
Interface
Devices
IP Interface Address
IF 1
Primary and Secondary Default Routers
205.21.17.3
IF 2
First Floor Client Workstations
100.20.10.1
IF 3
Second Floor Client Workstations
131.15.15.1
IF 4
Common Servers
206.30.15.1
IP interfaces are configured using the following commands at the CLI:
>> # /cfg/l3/if 1 (Select IP interface 1)
>> IP Interface 1# addr 205.21.17.3 (Assign IP address)
>> IP Interface 1# ena (Enable IP interface 1)
>> IP Interface 1# ../if 2 (Select IP interface 2)
>> IP Interface 2# addr 100.20.10.1 (Assign IP address)
>> IP Interface 2# ena (Enable IP interface 2)
>> IP Interface 2# ../if 3 (Select IP interface 3)
>> IP Interface 3# addr 131.15.15.1 (Assign IP address)
>> IP Interface 3# ena (Enable IP interface 3)
>> IP Interface 3# ../if 4 (Select IP interface 4)
>> IP Interface 4# addr 206.30.15.1 (Assign IP address)
>> IP Interface 4# ena (Enable IP interface 5)
3. Set each server and workstation‘s default gateway to the appropriate switch IP interface (the one in the same
subnet as the server or workstation).
4. Configure the default gateways to the routers‘ addresses.
Configuring the default gateways allows the switch to send outbound traffic to the routers:
>> IP Interface 5# ../gw 1 (Select primary default gateway)
>> Default gateway 1# addr 205.21.17.1(Assign IP address)
>> Default gateway 1# ena (Enable primary default gateway)
>> Default gateway 1# ../gw 2 (Select secondary default gateway)
>> Default gateway 2# addr 205.21.17.2 (Assign address)
>> Default gateway 2# ena (Enable secondary default gateway)
5. Enable, apply, and verify the configuration.
>> Default gateway 2# ../fwrd (Select the IP Forwarding Menu)
>> IP Forwarding# on (Turn IP forwarding on)
>> IP Forwarding# apply (Make your changes active)
>> IP Forwarding# /cfg/l3/cur (View current IP settings)
Examine the resulting information. If any settings are incorrect, make the appropriate changes.
6. Save your new configuration changes.
>> IP# save(Save for restore after reboot)