Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Sep 2001 14:54:08 +0800
From:      Evgeny Larionov <Lion@khakassia.ru>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Re[2]: gated 3.6 in FreeBSD-4.4-RC
Message-ID:  <8620.010905@khakassia.ru>
In-Reply-To: <ukbbptgcdleik81j791ghsfv98fhjcbm1r@4ax.com>
References:  <ukbbptgcdleik81j791ghsfv98fhjcbm1r@4ax.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello Mike,

среда, 5 сентября 2001 г., you wrote:

>>Why can gated lost all interface fxp0 information
>>(including all routing and default gateway information via this fxp intreface) after any
>>routing changing from other interface. All other ethernet interfaces
>>routing (ed0 for example) - without promblem. In 4.3-RELEASES gated
>>worked without problem too.

MT> Can you post more information ? e.g. your gated.conf file as well as the
MT> output of ifconfig -a and netstat -nr before and after the problem.

MT> If need be, substitute consistently RFC 1918 addresses for your existing
MT> ones (e.g. fxp0 = 192.168.1.1, ed0=10.0.0.1 etc...)

before:
#netstat -nr

outing tables

Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
default            192.168.44.33       UGSc       53   537120   fxp0
127                127.0.0.1          URc         0        0    lo0
127.0.0.1          127.0.0.1          UH         14  2206244    lo0
192.168.101        192.168.44.38       UGc        11     5016   fxp0
192.168.104        192.168.44.38       UGc         1     2012   fxp0
192.168.106        192.168.44.38       UGc         0        6   fxp0
192.168.44          192.168.44.33      UGc         0     5770   fxp0
192.168.44.2        192.168.44.35       UH          2     1024   ppp3
192.168.44.4        192.168.44.36       UGH         0       18   fxp0
192.168.44.6        192.168.44.35       UH          0     2115   ppp1
192.168.44.7        192.168.44.35       UH          2      276   ppp2
192.168.44.8        192.168.44.36       UGH         1       93   fxp0
192.168.44.16/30    192.168.44.2        UGc         0        2   ppp3
192.168.44.20/30    192.168.44.7        UGc         0        0   ppp2
192.168.44.32/28    link#1             UC         15        0   fxp0
192.168.44.33       0:0:c:3e:da:83     UHLW       52       14   fxp0     11
192.168.44.34       0:c0:df:8:9:17     UHLW        3    45246   fxp0    632
192.168.44.35       0:30:6e:6:49:84    UHLW        0     2343    lo0
192.168.44.36       0:10:83:fd:e5:c7   UHLW        4    43659   fxp0   1148
192.168.44.38       0:a0:c9:76:47:cf   UHLW       14     5950   fxp0   1153
192.168.44.39       0:a0:c9:10:58:46   UHLW        0      232   fxp0    149
192.168.44.40       0:c0:df:8:9:16     UHLW        6   314246   fxp0   1190
192.168.44.41       0:c0:df:8:7:ec     UHLW        2    29851   fxp0    902
192.168.44.42       0:c0:df:8:7:f1     UHLW        0     2561   fxp0    849
192.168.44.46       0:2:4b:7d:4e:c0    UHLW       12       17   fxp0   1037
192.168.44.47       ff:ff:ff:ff:ff:ff  UHLWb       0      630   fxp0
192.168.44.80/28    192.168.44.46       UGc         1     3560   fxp0
192.168.44.96/28    192.168.44.36       UGc         0        0   fxp0
192.168.44.128/28   192.168.44.46       UGc         0        0   fxp0
192.168.44.143      192.168.44.46       UGH         0        2   fxp0
192.168.44.144/28   192.168.44.46       UGc         0        0   fxp0
192.168.44.160/28   192.168.44.46       UGc         0        0   fxp0
192.168.44.166      192.168.44.46       UGH         0        7   fxp0
192.168.44.167      192.168.44.46       UGH         0       25   fxp0
192.168.44.176/28   192.168.44.46       UGc         0        0   fxp0
192.168.44.192/28   192.168.44.46       UGc         0        0   fxp0
192.168.44.208/28   192.168.44.46       UGc         0        0   fxp0
192.168.44.224/28   192.168.44.46       UGc         0        0   fxp0
192.168.44.240/28   192.168.44.46       UGc         0        3   fxp0
192.168.250         192.168.44.38       UGc         0        0   fxp0
192.168.250.40/30   192.168.44.33       UGc         0        0   fxp0
192.168.184        192.168.184.141    UGc         0      846   ppp0
192.168.184.140    127.0.0.1          UGH         0     7420    lo0
192.168.184.141    192.168.184.140    UH          4       77   ppp0
224.0.0.5          127.0.0.1          UH          2        5    lo0
224.0.0.6          127.0.0.1          UH          0        0    lo0
224.0.0.9          127.0.0.1          UH          1        4    lo0

#ifconfig fxp0
fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 192.168.44.35 netmask 0xfffffff0 broadcast 192.168.44.47
        ether 00:30:6e:06:49:84 
        media: Ethernet 100baseTX <full-duplex>
        status: active
after:
#netstat -nr
Routing tables

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         15  2206259    lo0
192.168.44          192.168.44.33      UGc         9     5822   fxp0
192.168.44.2        192.168.44.35       UH          1     1069   ppp3
192.168.44.6        192.168.44.35       UH          0     2127   ppp1
192.168.44.7        192.168.44.35       UH          2      148   ppp2
192.168.44.16/30    192.168.44.2        UGc         0        2   ppp3
192.168.44.20/30    192.168.44.7        UGc         0        0   ppp2
192.168.44.35       127.0.0.1          UGH         0        0    lo0
192.168.184        192.168.184.141    UGc         0     1179   ppp0
192.168.184.140    127.0.0.1          UGH         0     7420    lo0
192.168.184.141    192.168.184.140    UH          4      160   ppp0
224.0.0.5          127.0.0.1          UH          1       23    lo0
224.0.0.6          127.0.0.1          UH          0       24    lo0
224.0.0.9          127.0.0.1          UH          1       12    lo0

#ifconfig fxp0
fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 192.168.44.35 netmask 0xfffffff0 broadcast 192.168.44.47
        ether 00:30:6e:06:49:84 
        media: Ethernet 100baseTX <full-duplex>
        status: active
gated.conf:
nterfaces {
    define 192.168.44.1 pointtopoint 192.168.44.35;
    define 192.168.44.2 pointtopoint 192.168.44.35;
    define 192.168.44.6 pointtopoint 192.168.44.35;
    define 192.168.44.7 pointtopoint 192.168.44.35;
    define 192.168.184.141 pointtopoint 192.168.184.140;
             };
rip yes {
        interface fxp0 ripin ripout version 2;
        interface 192.168.44.2 noripin noripout;
        interface 192.168.44.6 noripin noripout;
        interface 192.168.44.7 noripin noripout;
        interface 192.168.184.141 noripin noripout;
        traceoptions route;                  
        }; 
ospf yes {
          area 192.168.44.0 {
                authtype none;
                interface fxp0;
                 networks {
                           192.168.44.0 mask 255.255.255.0;
                           192.168.0.0  mask 255.255.0.0;
                           };
                };
         };
  kernel {
  } ;
static {
        192.168.184.0   mask 255.255.255.0 gateway 192.168.184.141;
        0.0.0.0 mask 0.0.0.0 gateway 192.168.44.33;
        };
export proto rip  {
         proto static {
         all;
        };
         proto direct {
        all;
        };
  } ;
export proto ospfase type 1 {
        proto direct {
        all;
        };
        proto rip { all;
        };
};
export proto ospfase type 2 {
    proto static {
    default metric 20;
    all;
    };
};
        

Best regards,
 Evgeny                            mailto:Lion@khakassia.ru



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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