*BSD News Article 65592


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.ecn.uoknor.edu!news.ysu.edu!odin.oar.net!malgudi.oar.net!wariat.org!news.nask.org.pl!news.cto.us.edu.pl!gate.math2.us.edu.pl!swierzy
From: swierzy@gate.math2.us.edu.pl (Witek Swierzy)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: routing problem ...
Date: 10 Apr 1996 14:47:55 GMT
Organization: Silesian University, Katowice, Poland
Lines: 101
Distribution: world
Message-ID: <4kghmr$1e@helios.cto.us.edu.pl>
References: <4j98t3$3hb@helios.cto.us.edu.pl> <4k1goi$krb@uriah.heep.sax.de>
NNTP-Posting-Host: gate.math2.us.edu.pl
X-Newsreader: TIN [version 1.2 PL2]

J Wunsch (j@uriah.heep.sax.de) wrote:
: swierzy@gate.math2.us.edu.pl (Witek Swierzy) writes:

: > I have two network cards (ed0 ep0), kernel compiled with GATEWAY option,

: GATEWAY is deprecated.  Use the gateway setup in /etc/sysconfig
: instead.  (Actually, option GATEWAY already disappeared from the
: current development sources.)

: > i run routed -g when i start machine and ... it doesn't route :-(

: routed doesn't route, despite of its name.  It does only collect/
: send routing information, and update the kernel routing tables.

: > Did anybody have problem like it ? Please, help me...

: You should really describe your system in more detail, e.g. show us
: the interesting parts of the routing tables.

: -- 
: cheers, J"org

: joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
: Never trust an operating system you don't have sources for. ;-)
Hi !
Here are details :

here's topology of institute's network.All netmask are set to ff.ff.ff.c0.

                                               ----------\     /-----------
                                          155.158.12.1 ->|    |<- 155.158.12.65
                -----       -----                       --------
               |DOS  |     |DOS  |                     | ka9q   |155.158.3.5
                -----       -----                       --------
155.158.21.11 ->  |  . . . .  |<-155.158.21.2               |
--------------------------------------\  /------------------|
                                      |  |                  |
                       155.158.21.1 ->|  | <-  155.158.3.13 |
                                 --------------             |
       gate.math2.us.edu.pl ->  |    FBSD      |            |<- net 155.158.3.0
                                |   2.1.0-R    |            |
                                 --------------             |
                                       /\                   |-----
                -----       -----      ||                   |  .
               |DOS  |     |DOS  |   they sees themselves   |  .  other subnets
                -----       -----      ||                   |  .
155.158.20.11 ->  |  . . . .  |<-155.158.20.2               |-----
--------------------------------------\\//------------------|
                                      |  |                  |
                       155.158.20.1 ->|  | <-  155.158.3.12 |
                                 --------------             |
                                |    FBSD      |            |<- net 155.158.3.0
        gate.math1.us.edu.pl -> |   2.0.5      |            |
                                 --------------             |
                                                            |
                                                            |<-155.158.3.1
                                                       -------------
                                                      | CISCO ROUTER|
                                                       -------------
                                                            | <-connecting to the world

I wrote 'they sees themselves'. It means that there is
routing beetwen 155.158.21.1 and 155.158.20.1. 
There is routing beetwen 155.158.3.13 and rest of network,
and beetwen 155.158.3.12 and rest of network, but
nothing from network 155.158.3 sees 'inner' interfaces of FBSD ...

Here's most importand (in my opinion ) piece of routing table from 155.158.3.13.

Routing tables                                              
Internet:                                                   
Destination      Gateway            Flags     Refs     Use     Netif Expire
default          155.158.3.1        UGSc       10        3       ed0
127.0.0.1        127.0.0.1          UH          1     7278       lo0
155.158.2        155.158.3.1        UGc         0        0       ed0
155.158.3        link#1             UC          1        0 
155.158.3.1      0:0:c:15:57:93     UHLW       46        0       ed0   1038
155.158.3.3      0:0:c0:c6:6a:65    UHLW        1        0       ed0   1159
155.158.3.5      0:0:c0:8b:64:62    UHLW        1        0       ed0    739
155.158.3.11     link#1             UHLW        3        0 
155.158.3.12     link#1             UHLW        1       81 
155.158.3.13     127.0.0.1          UGHS        0      774       lo0
155.158.4        155.158.3.1        UGc         0        0       ed0
155.158.5        155.158.3.1        UGc         0        0       ed0
155.158.6        155.158.3.1        UGc         0        0       ed0
155.158.19       155.158.3.11       UGc         0        0       ed0
155.158.19.64    155.158.3.11       UGc         0        0       ed0
155.158.19.128   155.158.3.11       UGc         0        0       ed0
155.158.20       155.158.3.12       UGc         0       94       ed0
155.158.21       link#3             UC          1        0 
155.158.21.1     0:60:8c:b3:bb:b2   UHLW        0        1       lo0
155.158.21.10    link#3             UHLW        1       98 
.
.
.
224              link#1             UCS         0        0 

And it doesn't route .... :-(
					thanks in advance
					Witek Swierzy
					swierzy@gate.math2.us.edu.pl