Installation guide

A Sample VLAN Topology
A Sample VLAN Topology
Chapter 7
84
Step 3. Enter the following command to verify that the iptables driver loaded properly:
lsmod
Module Size Used by
iptable_nat 15968 0 (unused)
bridge 37040 0 (unused)
if_zxe 5586552 5
zfm_c 271160 0
Step 4. To set up the iptable rules and ensure that they are reestablished when you reboot the Ethernet
Switch Blade, you must add an rc script. Add the following S25iptables rc script to the
/etc/rcZ.d directory:
#!/bin/sh
#
# /etc/rcZ.d/S25iptables
#
# rc script to build iptables that hide the ShMMs from direct
# access by blades or outside devices, but allows rmcp traffic in
# and snmp-trap traffic out.
#
set -u
case "$1" in
start)
#
# Load iptables driver into kernel memory
#
insmod /lib/modules/2.4.2/kernel/net/ipv4/netfilter/iptable_nat.o
#
# Set the IP addresses of the management LAN (vlan2), the
# ISL LAN (vlan4), and the SHMM (also on vlan4).
#
MGMT_IP=10.35.50.41
ISL_IP=192.168.0.43