From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Balaji Chandrasekar Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: LAG on primary network Date: Tue, 20 Jan 2004 11:20:51 -0500 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <74315e6f.5355af7.8199800@po-c.temple.edu> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1074615729 8921 80.91.224.253 (20 Jan 2004 16:22:09 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 20 Jan 2004 16:22:09 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Tue Jan 20 17:21:59 2004 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by deer.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 1Aiyda-0005Um-00 for ; Tue, 20 Jan 2004 17:21:58 +0100 Original-Received: (qmail 20427 invoked by uid 5); 20 Jan 2004 16:21:47 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 20412 invoked by uid 49493); 20 Jan 2004 16:21:47 -0000 Original-Received: from balaji@temple.edu by sws1 by uid 49491 with qmail-scanner-1.16 (iscan: v3.1/v5.600-1011/622/49252. clamscan: 20030605. spamassassin: 2.55. Clear:SA:0(-5.4/5.0):. Processed in 0.954857 secs); 20 Jan 2004 16:21:47 -0000 Original-Received: from unknown (HELO emroute3.ornl.gov) (160.91.4.110) by 0 with SMTP; 20 Jan 2004 16:21:46 -0000 Original-Received: from emroute3.ornl.gov (localhost [127.0.0.1]) by emroute3.ornl.gov (PMDF V6.2-X17 #30669) with ESMTP id <0HRS00A33QS7Y9@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 20 Jan 2004 11:21:45 -0500 (EST) Original-Received: from po-smtp1.temple.edu (po-smtp1.temple.edu [155.247.166.195]) by emroute3.ornl.gov (PMDF V6.2-X17 #30669) with ESMTPS id <0HRS00AJ8QRW3N@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 20 Jan 2004 11:21:33 -0500 (EST) Original-Received: from po-c.temple.edu (po-c.temple.edu [155.247.166.213]) by po-smtp1.temple.edu (MOS 3.4.3-CR) with ESMTP id AUM52114; Tue, 20 Jan 2004 11:20:52 -0500 (EST) Original-Received: from 209.219.209.72 by po-c.temple.edu (MOS 3.4.3-CR) with HTTPS/1.1; Tue, 20 Jan 2004 11:20:51 -0500 Original-To: tru64-unix-managers@ornl.gov X-Mailer: Webmail Mirapoint Direct 3.4.3-CR X-Junkmail-Status: score=0/50, host=po-smtp1.temple.edu Xref: main.gmane.org gmane.os.tru64.managers:6251 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:6251 Thanx to = Dan Price Joachim J=E4ckel Ian barker I have attached the two rep= lies, thanx again Ian Barker Wrote =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D I did some testing in this area previously, and it= seems that because lag0 is not automatically created prior to rc.confi= g being parsed, this config fails. The solution was to do the lag cr= eation and ifconfig work in /etc/inet.local instead, so that it is done= after rc.config and just use a non-lag config on ee0 in /etc/rc.config= i.e. bring the network up on just ee0 at boot, then add the = redundant LAG connection shortly afterwards. cat >> /etc/inet.local <= < EOD echo "Starting Ethernet LAG." ifconfig ee0 down speed 200 ifcon= fig ee2 down speed 200 lagconfig -c lag=3Dlag0 lagconfig -c dist=3Drou= ndrobin lagconfig -p ee0 key=3D1 lagconfig -p ee2 key=3D1 ifconfig ee= 0 up ifconfig ee2 up ifconfig lag0 10.0.0.1 netmask 255.255.255.0 EOD= Joachim J=E4ckel Wrote =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D Hi, yes i just configured LAG on a v5.1A system= . I did the following: - normal network configuration for the first = interface ee0 - added the following lines to /etc/inet.local echo "/et= c/inet.local: configuring link aggregation:" ifconfig ee0 down ifconfi= g ee0 delete lagconfig -c lag=3Dlag0 lagconfig -p ee0 key=3D1 lagconf= ig -p ee1 key=3D1 ifconfig lag0 $IFCONFIG_0 up echo "" I think, Net= rain and LAG cannot coexist on the same = interfaces. It is important, that there is a network config for one interface in /etc/rc.config. Before i did this, the default route was lost. So, in /etc/rc.config i find the following lines: ... NETDEV_0=3D= "ee0" export NETDEV_0 IFCONFIG_0=3D"172.16.4.1 netmask 255.255.255.0" export IFCONFIG_0 NUM_NETCONFIG=3D"1" export NUM_NETCONFIG ... Gre= etings from Berlin, Germany -- Joachim Jaeckel ---- Origi= nal message ---- >Date: Tue, 20 Jan 2004 09:30:11 -0500 >From: Balaji = Chandrasekar = >Subject: LAG on primary network = >To: tru64-unix-managers@ornl.gov > >All > >Has anybody tried to con= figure lag(link aggregation) on = their = >primary network. > >We have a v5.1B machine which has 4 NIC ports = >(ee0,ee1,ee2,ee3) and want to use ee0 and ee2 for LAG. > >Does anybod= y know if we could just change the /etc/rc.config = >file like to do for NetRAIN to configure LAG too? > >Balaji./ >Balaj= i Chandrasekar > >http://www.balajichandrasekar.com Balaji Chandrasek= ar http://www.balajichandrasekar.com