Avaya Media Processing Server 500 Hardware Installation And Maintenance page 104

Table of Contents

Advertisement

Configuration (Part II)
# ifconfig -a
Compare your results with the following sample.
lo0:
flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,
VIRTUAL> mtu 8232
index 1
inet 127.0.0.1 netmask ff000000
bge0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 10.7.0.1 netmask ffff0000 broadcast 10.7.255.255
groupname ipmp_test
ether 0:3:ba:45:7b:39
bge0:1:flags=9040843<UP,BROADCAST,RUNNING,
MULTICAST,DEPRECATED,IPv4,
NOFAILOVER> mtu 1500 index 2
inet 10.7.0.3 netmask ffff0000 broadcast 10.7.255.255
bge1:
flags=69040843<UP,BROADCAST,RUNNING,MULTICAST,
DEPRECATED,IPv4,
NOFAILOVER,STANDBY,INACTIVE> mtu 1500 index 3
inet 10.7.0.2 netmask ffff0000 broadcast 10.7.255.255
groupname ipmp_test
ether 0:3:ba:45:7b:3a
10. Use a text editor to write a script called ipmp.targets and file it in the /etc/init.d directory. Use
the following text as a template.
------------- begin of the script ipmp.targets -----------------
#!/sbin/sh
# /etc/rc2.d/S70ipmp.targets /etc/init.d/ipmp.targets
# Copyright (c) 2005 by Sun Microsystems, Inc.
# All rights reserved.
#
#ident "@(#)ipmp.targets
#
# Edit the following IPMP test TARGETS to suit your needs.
# To install:
# 1) cp ipmp.targets /etc/init.d
# 2) perform edits on the script as required (e.g: add TARGETS)
# 3) chmod 744 /etc/init.d/ipmp.targets
# 4) chown root:sys /etc/init.d/ipmp.targets
# 5) ln /etc/init.d/ipmp.targets /etc/rc2.d/S70ipmp.targets
#
TARGETS="192.168.85.117 192.168.85.127 192.168.85.137"
case "$1" in
'start')
/usr/bin/echo "Adding static routes for use as IPMP targets"
for target in $TARGETS; do
/usr/sbin/route add -host $target $target
done
;;
'stop')
/usr/bin/echo "Removing static routes for use as IPMP targets"
for target in $TARGETS; do
/usr/sbin/route delete -host $target $target
done
;;
esac
---------------- end of the script ipmp.targets --------------------
11. Edit the new script ipmp.targets.
Avaya Media Processing Server 500 Hardware Installation and Maintenance
104
1.0.0
Comments? infodev@avaya.com
October 2014

Advertisement

Table of Contents
loading

Table of Contents