From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Edward Brash Newsgroups: gmane.os.tru64.managers Subject: gated.conf and private network Date: Sat, 15 Mar 2003 12:13:53 -0600 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <3E736D61.6080401@uregina.ca> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1047752075 6030 80.91.224.249 (15 Mar 2003 18:14:35 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 15 Mar 2003 18:14:35 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Sat Mar 15 19:14:34 2003 Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.22.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 18uGB0-0001Yx-00 for ; Sat, 15 Mar 2003 19:14:34 +0100 Original-Received: (qmail 31899 invoked by uid 5); 15 Mar 2003 18:15:05 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 31876 invoked by uid 49493); 15 Mar 2003 18:15:05 -0000 Original-Received: from brash@uregina.ca by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.54. spamassassin: 2.50-cvs. Clear:SA:0(-2.4/5.0):. Processed in 0.782643 secs); 15 Mar 2003 18:15:05 -0000 Original-Received: from unknown (HELO emroute2.cind.ornl.gov) (160.91.86.17) by 0 with SMTP; 15 Mar 2003 18:15:03 -0000 Original-Received: from emroute2.cind.ornl.gov (LOCALHOST [127.0.0.1]) by emroute2.cind.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HBS00DT2YP2B0@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Sat, 15 Mar 2003 13:15:03 -0500 (EST) Original-Received: from lafite.phys.uregina.ca (LAFITE.PHYS.UREGINA.CA [142.3.25.61]) by emroute2.cind.ornl.gov (PMDF V6.2 #30669) with SMTP id <0HBS00604YO7XN@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Sat, 15 Mar 2003 13:14:32 -0500 (EST) Original-Received: (qmail 25075 invoked from network); Sat, 15 Mar 2003 18:14:20 +0000 Original-Received: from static24-72-17-80.reverse.accesscomm.ca (HELO uregina.ca) (24.72.17.80) by lafite.phys.uregina.ca with SMTP; Sat, 15 Mar 2003 18:14:20 +0000 Original-To: tru64-unix-managers@ornl.gov X-Accept-Language: en-us, en User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3b) Gecko/20030211 Xref: main.gmane.org gmane.os.tru64.managers:3653 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:3653 Hi all, We have a private network of machines sitting behind a tru64 v5.1 server. The private network is connected to the server through a single NIC (tu1), and the server sees the outside world through another NIC (tu0). I am trying to use gated in order to let the private network machines see the outside world. Here is my gated.conf: # Mark interface passive; meaning do not time-out interfaces { interface all passive ; } ; # Enable RIP and send RIP updates only if >1 interface is configured # emulating /usr/sbin/routed rip yes { broadcast; interface tu0 ripin ripout; interface tu1 ripin ripout; interface all ripin ripout; }; 192.168.1.1 mask 255.255.255.0 gateway 142.3.1.1 retain ; With this setup, and gated running, the machines on the private network can see other machines at our institution (i.e. with IP addresses 142.3.X.Y, but then cannot see anything outside of the institution. I am only running gated right now, not routed. I thought that I could do what I wanted using gated. Any ideas as to what I am doing wrong here? Most of the above structure was suggested from other postings on this list, by the way. Incidentally, here is the result of ifconfig -a, if that helps. lo0: flags=100c89 inet 127.0.0.1 netmask ff000000 ipmtu 4096 sl0: flags=10 tu0: flags=c63 inet 142.3.25.89 netmask ffff0000 broadcast 142.3.255.255 ipmtu 1500 tu1: flags=c63 inet 192.168.1.1 netmask ffffff00 broadcast 192.168.1.255 ipmtu 1500 And, if that weren't enough, here is the result of netstat -r Routing tables Destination Gateway Flags Refs Use Interface Route Tree for Protocol Family 2: default NET-ED-UOFRGATE.CC.UREGINA.CA UG 0 304 tu0 loop localhost UR 0 0 lo0 localhost localhost UHL 39 650874 lo0 142.3 vivace U 44 22475206 tu0 vivace vivace UHL 7 2036706 tu0 192.168.1 gateway U 5 77098771 tu1 gateway gateway UHL 0 0 tu1 192.219.241 NET-ED-UOFRGATE.CC.UREGINA.CA UG 0 0 tu0 and so on.... Cheers, Ed. -- Dr. Edward J. Brash Department of Physics, University of Regina Regina, SK, Canada. S4S 0A2 Telephone: (306) 585-4201 (office) (306) 535-8557 (cellular) Fax: (306) 585-5659 Email: brash@uregina.ca Web: http://www.phys.uregina.ca/sparro/brash/