Web OS 10.0 Application Guide
IP interfaces are configured using the following commands at the CLI:
>> # /cfg/ip/if 1
>> IP Interface 1# addr 205.21.17.3
>> IP Interface 1# ena
>> IP Interface 1# ../if 2
>> IP Interface 2# addr 100.20.10.16
>> IP Interface 2# ena
>> IP Interface 2# ../if 3
>> IP Interface 3# addr 131.15.15.1
>> IP Interface 3# ena
>> IP Interface 3# ../if 4
>> IP Interface 4# addr 208.31.177.2
>> IP Interface 4# ena
>> IP Interface 4# ../if 5
>> IP Interface 5# addr 206.30.15.200
>> IP Interface 5# ena
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
>> Default gateway 1# addr 205.21.17.1
>> Default gateway 1# ena
>> Default gateway 1# ../gw 2
>> Default gateway 2# addr 205.21.17.2
>> Default gateway 2# ena
5.
Enable, apply, and verify the configuration.
>> Default gateway 2# ../fwrd
>> IP Forwarding# on
>> IP Forwarding# apply
>> IP Forwarding# /cfg/ip/cur
Examine the resulting information. If any settings are incorrect, make the appropriate changes.
6.
Save your new configuration changes.
>> IP# save
n
32
Chapter 1: Basic IP Routing
(Select IP interface 1)
(Assign IP address for the interface)
(Enable IP interface 1)
(Select IP interface 2)
(Assign IP address for the interface)
(Enable IP interface 2)
(Select IP interface 3)
(Assign IP address for the interface)
(Enable IP interface 3)
(Select IP interface 4)
(Assign IP address for the interface)
(Enable IP interface 4)
(Select IP interface 5)
(Assign IP address for the interface)
(Enable IP interface 5)
(Select primary default gateway)
(Assign IP address for primary router)
(Enable primary default gateway)
(Select secondary default gateway)
(Assign address for secondary router)
(Enable secondary default gateway)
(Select the IP Forwarding Menu)
(Turn IP forwarding on)
(Make your changes active)
(View current IP settings)
(Save for restore after reboot)
212777-A, February 2002