From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,4beaacefcacce3d0 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2001-09-07 12:12:40 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!paloalto-snf1.gtei.net!news.gtei.net!news.compaq.com!news.cpqcorp.net!not-for-mail Message-ID: <3B991C23.EC7A0483@zk3.dec.com> From: Brian Haley X-Mailer: Mozilla 4.78 [en] (X11; U; OSF1 V4.0 alpha) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.unix.tru64 Subject: Re: adding routes on an alphaServer running tru64 with 2 lan cards References: <7103c802.0109061421.690a98e5@posting.google.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Fri, 07 Sep 2001 15:12:35 -0400 NNTP-Posting-Host: 16.140.64.151 X-Complaints-To: abuse@Compaq.com X-Trace: news.cpqcorp.net 999889956 16.140.64.151 (Fri, 07 Sep 2001 12:12:36 PDT) NNTP-Posting-Date: Fri, 07 Sep 2001 12:12:36 PDT Organization: Compaq Computer Corporation Xref: archiver1.google.com comp.unix.tru64:4729 dave goulding wrote: > I am trying to add routes from the Main site MCC to a backup site BCC, > using both Lan A (10.10.220.x) and Lan B (10.10.225.x) to the BCC Lan > 10.35.220.0. > > Lan A has the route to the BCC in the routing table but I cannot add > the route for the B Lan. I have tried using the /etc/routes file with > the same results. > > # route add -net 10.35.220.0 10.10.225.60 -netmask 255.255.255.0 > writing to routing socket: File exists > add net 10.35.220.0: gateway 10.10.225.60: entry exists > > MCC:etc> netstat -nr > > 10.10.220/24 10.10.220.1 U 63 13883186 tu0 > 10.10.225/24 10.10.225.1 U 11 7547296 tu1 > 10.35.220/24 10.10.220.60 UGS 24 2548241 tu0 > 127.0.0.1 127.0.0.1 UH 19 429909 lo0 I'll assume you're running 4.0f from the netstat output. If that's the case then this is covered in the Release Notes, section 4.4.13, although I admit it isn't obvious. Setting routemode to 1 in the kernel will allow you to add multiple routes to the same destination through different gateways (and/or using different interfaces). Once you set routemode, you should try adding the route again, but specify the interface: # route add -net 10.35.220.0 10.10.225.60 -netmask 255.255.255.0 -dev tu1 -Brian ----------------------------------------------- Brian P. Haley Brian.Haley@compaq.com Tru64 UNIX Networking Group Compaq Computer Corporation