gated.conf and private network

From: Edward Brash (brash@uregina.ca)
Date: Sat Mar 15 2003 - 13:13:53 EST


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<UP,LOOPBACK,NOARP,MULTICAST,SIMPLEX,NOCHECKSUM>
     inet 127.0.0.1 netmask ff000000 ipmtu 4096

sl0: flags=10<POINTOPOINT>

tu0: flags=c63<UP,BROADCAST,NOTRAILERS,RUNNING,MULTICAST,SIMPLEX>
     inet 142.3.25.89 netmask ffff0000 broadcast 142.3.255.255 ipmtu 1500

tu1: flags=c63<UP,BROADCAST,NOTRAILERS,RUNNING,MULTICAST,SIMPLEX>
     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/


This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:49:11 EDT