Bird and RIP

Pavel Tvrdík pavel.tvrdik at nic.cz
Tue Jan 5 17:13:52 CET 2016


Hello.

On 2016-01-05 11:56, Anton Kiryushkin wrote:
> What about metric for each virtual interface? I mean ve1 has metric 5,
> and ve2 has metric 2 ? How to export this setting? As I wrote before,
> from another side I saw metric from physical interface. My config is:
> 
> protocol rip {
>   debug all;
>   import all;   # default is all
>   export all;   # default is none
>   interface "ve1" {
>     mode multicast;
>     metric 5;
>   };
> 
>  interface "ve2" {
>     mode multicast;
>     metric 2;
>   };
> 
>  interface "eth0" {
>     mode multicast;
>     metric 3;
>   };}
> 

Well, I think the virtual interfaces "ve1" and "ve2" have to use each 
other interfaces than the physical interface "eth0" to work like you 
want.

Pavel

> 2016-01-05 11:12 GMT+03:00 Pavel Tvrdík <pavel.tvrdik at nic.cz>:
> 
>> Hello, Anton.
>> 
>> On 2016-01-04 20:04, Anton Kiryushkin wrote:
>> 
>>> Hello, Pavel.
>>> 
>>> I can't announce rip_metric from virtual interfaces via physical.
>>> Is
>>> it possible? As I understood, it's impossible.​
>> 
>> Virtual interfaces aren't problem. Did you set the export filter to
>> all?
>> 
>> If I have virtual interfaces named ve1, ve2, ..., then the
>> configuration below should work well:
>> 
>> protocol rip {
>> debug all;
>> import all;   # default is all
>> export all;   # default is none
>> interface "ve*" {
>> mode multicast;
>> };
>> }
>> 
>> Cheers,
>> Pavel
> 
> --
> 
> Best regards,Anton Kiryushkin


More information about the Bird-users mailing list