Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 May 95 09:44:00 PDT
From:      Plyaskin Sergey <splyaski@cmp.com>
To:        Bill Fenner <fenner@parc.xerox.com>
Cc:        "' freebsd-questions@freebsd.org'" <freebsd-questions@FreeBSD.org>
Subject:   Re: gated / routed
Message-ID:  <2FBCCB3C@mailgate.cmp.com>

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


>>I set routedflags to NO and gated to YES and
>>added the line
>>rip yes ;
>>to my /etc/gated.conf file. I only have one NIC and do not use PPP or SLIP 

>>so perhaps I do not need packet forwarding.
>
>With only one interface, and with only "rip yes" in your gated.conf >file,
>running gated is exactly like running routed, so I'm still not sure >why 
you
>need to be running gated.
>

Well, I does not really see the difference. And I have identical results so 
far. It's just our sysadmin guys who insist on gated. If I'll be able to 
make it talk to the Internet, I'll swtch back to routed.

>
>>However, I'm still unable to ping any outer hosts.
>
>What does your routing table look like?
>

My routing table is below. Note that I do not use any static routing like 
'route add default ...' Everything built automatically. I do not understand 
why the MAC addresses being used for the machines connected directly. Is 
thid normal?
Also, what is link#1?

>
>What machine is your router?  Can you use the "ripquery" that came with 
gated
>to query your router, to find out what it is advertising?  Perhaps you 
would
>do best with just a static default route.
>
>  Bill

My router is 198.80.26.2 that talks to Internet. I believe this is HP 
9000/807 as our backbone network is built of them. The results of 'ripquery 
 -r 198.80.26.2' are below.
Thanks for your help.

************** RESULTS OF 'netstat -rn' on my machine (198.80.26.75) 
*********
Routing tables

Internet:
Destination      Gateway            Flags     Refs     Use     Netif Expire
default          198.80.26.2        UGc         0        4       ed0
127              127.0.0.1          URc         0        0       lo0
127.0.0.1        127.0.0.1          UH          0        6       lo0
192.20.118       198.80.26.242      UGc         0        0       ed0
192.155.8        198.80.26.242      UGc         0        0       ed0
192.155.9        198.80.26.242      UGc         0        0       ed0
192.155.10       198.80.26.242      UGc         0        0       ed0
192.155.17       198.80.26.242      UGc         0        0       ed0
192.155.18       198.80.26.242      UGc         0        0       ed0
192.155.19       198.80.26.242      UGc         0        0       ed0
192.155.20       198.80.26.242      UGc         0        0       ed0
192.155.21       198.80.26.242      UGc         0        0       ed0
192.155.22       198.80.26.242      UGc         0        0       ed0
192.155.23       198.80.26.242      UGc         0        0       ed0
192.155.24       198.80.26.242      UGc         0        0       ed0
192.155.25       198.80.26.242      UGc         0        0       ed0
192.155.26       198.80.26.242      UGc         0        0       ed0
192.155.27       198.80.26.242      UGc         0        0       ed0
192.155.28       198.80.26.242      UGc         0        0       ed0
192.155.29       198.80.26.242      UGc         0        0       ed0
192.155.30       198.80.26.242      UGc         0        0       ed0
192.155.31       198.80.26.242      UGc         0        0       ed0
192.155.32       198.80.26.242      UGc         0        0       ed0
192.155.33       198.80.26.242      UGc         0        0       ed0
192.155.34       198.80.26.242      UGc         0        0       ed0
192.155.35       198.80.26.242      UGc         0        0       ed0
192.155.36       198.80.26.242      UGc         0        0       ed0
192.155.37       198.80.26.242      UGc         0        0       ed0
192.155.38       198.80.26.242      UGc         0        0       ed0
192.155.39       198.80.26.242      UGc         0        0       ed0
192.155.40       198.80.26.242      UGc         0        0       ed0
192.155.41       198.80.26.242      UGc         0        0       ed0
192.155.43       198.80.26.242      UGc         0        0       ed0
192.155.44       198.80.26.242      UGc         0        0       ed0
192.155.45       198.80.26.242      UGc         0        0       ed0
192.155.46       198.80.26.242      UGc         0        0       ed0
192.155.47       198.80.26.242      UGc         0        0       ed0
192.155.48       198.80.26.242      UGc         0        0       ed0
192.155.50       198.80.26.242      UGc         0        0       ed0
192.155.51       198.80.26.242      UGc         0        0       ed0
192.155.52       198.80.26.242      UGc         0        0       ed0
192.155.53       198.80.26.242      UGc         1        3       ed0
192.155.54       198.80.26.242      UGc         0        0       ed0
192.155.55       198.80.26.242      UGc         0        0       ed0
192.155.56       198.80.26.242      UGc         0        0       ed0
192.155.57       198.80.26.242      UGc         0        0       ed0
192.155.58       198.80.26.242      UGc         0        0       ed0
192.155.59       198.80.26.242      UGc         0        0       ed0
192.155.60       198.80.26.242      UGc         0        0       ed0
192.155.61       198.80.26.242      UGc         0        0       ed0
192.155.62       198.80.26.242      UGc         0        0       ed0
192.155.63       198.80.26.242      UGc         0        0       ed0
198.80.26        link#1             UC          0        0
198.80.26.2      0:0:a2:1:e6:7c     UHLW        2        6       ed0   1013
198.80.26.10     8:0:9:81:58:ca     UHLW        1       33       ed0    885
198.80.26.75     0:0:c0:19:ae:44    UHLW        0        4       lo0
198.80.26.242    0:0:a2:83:22:39    UHLW       50        5       ed0    564
204.70.44        198.80.26.2        UGc         0       10       ed0
224              link#1             UCS         0        0
224.0.0.9        127.0.0.1          UH          0        1       lo0

***** RESULTS OF 'ripquery -r 198.80.26.2' from 198.80.26.75 *****

504 bytes from 198.80.26.2 to 198.80.26.75 version 1:
        192.20.118.0     metric 16
        192.155.8.0      metric 16
        192.155.9.0      metric 16
        192.155.10.0     metric 16
        192.155.17.0     metric 16
        192.155.18.0     metric 16
        192.155.19.0     metric 16
        192.155.20.0     metric 16
        192.155.21.0     metric 16
        192.155.22.0     metric 16
        192.155.23.0     metric 16
        192.155.24.0     metric 16
        192.155.25.0     metric 16
        192.155.26.0     metric 16
        192.155.27.0     metric 16
        192.155.28.0     metric 16
        192.155.29.0     metric 16
        192.155.30.0     metric 16
        192.155.31.0     metric 16
        192.155.32.0     metric 16
        192.155.33.0     metric 16
        192.155.34.0     metric 16
        192.155.35.0     metric 16
        192.155.36.0     metric 16
        192.155.37.0     metric 16
504 bytes from 198.80.26.2 to 198.80.26.75 version 1:
        192.155.38.0     metric 16
        192.155.39.0     metric 16
        192.155.40.0     metric 16
        192.155.41.0     metric 16
        192.155.43.0     metric 16
        192.155.44.0     metric 16
        192.155.45.0     metric 16
        192.155.46.0     metric 16
        192.155.47.0     metric 16
        192.155.48.0     metric 16
        192.155.50.0     metric 16
        192.155.51.0     metric 16
        192.155.52.0     metric 16
        192.155.53.0     metric 16
        192.155.54.0     metric 16
        192.155.55.0     metric 16
        192.155.56.0     metric 16
        192.155.57.0     metric 16
        192.155.58.0     metric 16
        192.155.59.0     metric 16
        192.155.60.0     metric 16
        192.155.61.0     metric 16
        192.155.62.0     metric 16
        192.155.63.0     metric 16
        198.80.26.0      metric  1
44 bytes from 198.80.26.2 to 198.80.26.75 version 1:
        204.70.44.0      metric  1
        0.0.0.0          metric  1
**********************************************************



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2FBCCB3C>