IP Router Configuration
Configuring
ip-interface
profiles for Ethernet ports
Stinger®
IP2000 Configuration Guide
4-7
Configuring a local IP interface
The following command lists the
ip-interface
profiles created by the system for a
Stinger unit with redundant IP2000 controllers:
admin> dir ip-interface
21 07/24/2003 13:55:31 { { any-shelf any-slot 0 } 0 }
31 07/24/2003 22:46:34 { { shelf-1 first-control-module 1 } 0 }
21 07/24/2003 13:57:01 { { shelf-1 first-control-module 2 } 0 }
21 07/24/2003 13:55:31 { { shelf-1 second-control-module 1 } 0 }
21 07/24/2003 13:57:01 { { shelf-1 second-control-module 2 } 0 }
The next command assigns an IP address to the Gigabit Ethernet port of the first
controller (installed in slot 8):
admin> read ip-interface { { 1 8 2 } 0 }
admin> set ip-address = 1.1.1.2/29
admin> write -f
In this example configuration, the Gigabit Ethernet interface is connected to the 1.1.1
subnet. RIP is off by default, so to enable the interface to communicate with routers
on other local subnets, either the system must have a static route configuration to
another router in its own subnet, or the interface must enable RIP. For an example of
configuring a static route, see “Configuring ip-route profiles” on page 4-28.
The following commands configure the interface to receive RIP-2 updates on the
multicast address (the multicast address is the default):
admin> read ip-interface { { 1 8 2 } 0 }
admin> set rip-mode = routing-recv-v2
admin> write -f
You can verify that the system can transfer IP packets across the interface by pinging
another host on the same network segment, as shown in the following example:
admin> ping 1.1.1.19
PING 1.1.1.19: 56 Data bytes
64 bytes from 1.1.1.19: icmp_seq=0 ttl=255 time=0 ms
64 bytes from 1.1.1.19: icmp_seq=3 ttl=255 time=0 ms
^C
rip-mode
Enable/disable RIP updates on the interface. You can
enable RIP to receive routing table updates, send them,
or both. Running RIP-2 and RIP-v1 on the same
network in such a way that the routers receive each
other’s advertisements is not recommended.
rip2-use-multicast
Enable/disable use of the multicast address (224.0.0.9)
rather than the broadcast address for RIP updates.
directed-broadcast-
allowed
Enable/disable forwarding of directed broadcast traffic
onto the interface and its network.
vlan-enabled
Enable VLAN to isolate management traffic to the unit.
See Chapter 3, “VLAN Configuration.”
vlan-id
See Chapter 3, “VLAN Configuration.”
Parameter
Setting