SUMMARY: Virtual IP and IP grouping

From: boenning (boenning@capcom.de)
Date: Tue Oct 13 1998 - 12:13:43 CDT


Hello,

thanx for your response. The only every time working solution is using the
newest release of the patch 105786. This is actual realease 5.
With the patch 105786-03 it doesn't work.

CU, Dirk.

------------- Begin Forwarded Message -------------

Date: Mon, 12 Oct 1998 11:13:15 +0200 (MET DST)
From: "Dirk Boenning (CAPCom GmbH)" <boenning@capcom.de>
Subject: Virtual IP and IP grouping
To: sun-managers@sunmanagers.ececs.uc.edu
Mime-Version: 1.0
Content-MD5: ob5IgUXev1BP4OyAoBnbCg==

Hello,

I know that this was discussed some weeks ago, but I still have a problem.
I've an E4500 Server with Solaris 2.6 all newest patches installed and
the network interface is an PCI FDDI board.
The installed applications need some virtual IP's. The new round robin
ip grouping feature (or bug;-) isn't nice to backup systems, firewalls
etc. So I want to fix all outgoing packets to one IP all the time.
I want to fix it to the base IP of the interface, i.e. the pf0 device.
I added the appended script to /etc/rc3.d and from now on the IP is fixed,
but not to pf0. All packets are sended now by pf0:6.
Have I missed something, am I wrong or any clue ?

TIA, Dirk.

#!/sbin/sh

case "$1" in

'start')
/usr/sbin/ndd -set /dev/ip ip_enable_group_ifs 0
/usr/sbin/ifconfig pf0 down
/usr/sbin/ifconfig pf0:1 10.20.2.21 netmask 255.255.0.0 broadcast
10.20.255.255
/usr/sbin/ifconfig pf0:2 10.20.2.22 netmask 255.255.0.0 broadcast
10.20.255.255
/usr/sbin/ifconfig pf0:3 10.20.2.23 netmask 255.255.0.0 broadcast
10.20.255.255
/usr/sbin/ifconfig pf0:4 10.20.2.24 netmask 255.255.0.0 broadcast
10.20.255.255
/usr/sbin/ifconfig pf0:5 10.20.2.25 netmask 255.255.0.0 broadcast
10.20.255.255
/usr/sbin/ifconfig pf0:6 10.20.2.26 netmask 255.255.0.0 broadcast
10.20.255.255
/usr/sbin/ifconfig pf0 10.20.2.20 netmask 255.255.0.0 broadcast
10.20.255.255
/usr/sbin/ifconfig pf0 up
/usr/sbin/ifconfig pf0:1 up
/usr/sbin/ifconfig pf0:2 up
/usr/sbin/ifconfig pf0:3 up
/usr/sbin/ifconfig pf0:4 up
/usr/sbin/ifconfig pf0:5 up
/usr/sbin/ifconfig pf0:6 up

        ;;
'stop')
/usr/sbin/ifconfig pf0:1 down
/usr/sbin/ifconfig pf0:2 down
/usr/sbin/ifconfig pf0:3 down
/usr/sbin/ifconfig pf0:4 down
/usr/sbin/ifconfig pf0:5 down
/usr/sbin/ifconfig pf0:6 down
        ;;
esac
exit 0

 ______________________________________________________________
| _|_|_| _|_| _|_|_| _|_|_| _|_|_| _| _| |
| _| _| _| _| _| _| _| _| _|_| _|_| |
| _| _|_|_|_| _|_|_| _| _| _| _| _| _| |
| _| _| _| _| _| _| _| _| _| |
| _|_|_| _| _| _| _|_|_| _|_|_| _| _| |
|______________________________________________________________|
| CAPCom Technologie Beratung | Dirk Boenning |
| Entwicklung und Vertrieb GmbH | Tel.: +49 (0)6151/155-900 |
| Rundeturmstrasse 6 | Fax.: +49 (0)6151/155-909 |
| 64283 Darmstadt / Germany | EMail: boenning@capcom.de |
|______________________________________________________________|

------------- End Forwarded Message -------------

 ______________________________________________________________
| _|_|_| _|_| _|_|_| _|_|_| _|_|_| _| _| |
| _| _| _| _| _| _| _| _| _|_| _|_| |
| _| _|_|_|_| _|_|_| _| _| _| _| _| _| |
| _| _| _| _| _| _| _| _| _| |
| _|_|_| _| _| _| _|_|_| _|_|_| _| _| |
|______________________________________________________________|
| CAPCom Technologie Beratung | Dirk Boenning |
| Entwicklung und Vertrieb GmbH | Tel.: +49 (0)6151/155-900 |
| Rundeturmstrasse 6 | Fax.: +49 (0)6151/155-909 |
| 64283 Darmstadt / Germany | EMail: boenning@capcom.de |
|______________________________________________________________|



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:12:50 CDT