Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Apr 1997 14:43:12 -0500 (COT)
From:      Yonny Cardenas <yonny@apolo.biblos.unal.edu.co>
To:        hackers@freebsd.org
Subject:   Configuration for gated
Message-ID:  <Pine.BSF.3.95q.970430144108.17836A-100000@apolo.biblos.unal.edu.co>

next in thread | raw e-mail | index | archive | help

Hi,

I'm configured gated whith two computer. Now I'm configured rip:

	router A				router B
	----------				----------
	|	 |				|	 |
	|	 |				|	 |
ip.94	-*------*- ip.17 	          ip.30	-*------*- ip.110
	 |	|			         |  	|
	 |	----------------------------------	|
	 |						|
	 |						|
  ----------------				------------------
 where : 
	---------is a segment ethernet 
	*   	 is a network interface    
	ip. 	 is equal to 130.156.15   ( for example ). 

I'm using netmask 255.255.255.240 in all. 

The gated.conf for router A is :

	rip yes {
		interface all version 2;
	};
	import proto rip interface 130.156.15.110
	{
         	130.156.0.0 mask 255.255.255.240;
	};
	export proto rip interface 168.176.15.30
	{
		proto rip  {
			130.156.0.0 mask 255.255.255.240;
	 	};
	};

And gated.conf for router B is :
	rip yes {
		interface all version 2;
	};
	import proto rip interface 130.156.15.94
	{
         	130.156.0.0 mask 255.255.255.240;
	};
	export proto rip interface 130.156.15.17
	{
		proto rip  {
			130.156.0.0 mask 255.255.255.240;
		};
	};

Whith I started gated in both. It's the routing tables for router B : 

Internet:
Destination        Gateway            Flags     Refs     Use     Netif Expire
127                127.0.0.1          URc         0        0       lo0
127.0.0.1          127.0.0.1          UH          0        0       lo0
130.156.15.16/28   link#2             UC          0        0 
130.156.15.96/28   link#1             UC          0        0 
130.156.15.110     0:0:c0:a3:7b:9e    UHLW        1       52       lo0
224.0.0.9          127.0.0.1          UH          2        7       lo0

And after the following messages :

Apr 30 06:33:33 labred gated[341]: if_rtdown: DOWN route for interface 
   ed0 130.156.15.110/255.255.255.240
Apr 30 06:33:33 labred gated[341]: if_rtdown: DOWN route for interface
   ed1 130.156.15.30/255.255.255.240


But never routing .

Whith "routed -s"  the routing is good.

Thanks for your help.

----------------------------------------------------------------------

YONNY CARDENAS B.
yonny@ingenieria.ingsala.unal.edu.co
 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95q.970430144108.17836A-100000>