1
0
mirror of https://gitlab.labs.nic.cz/labs/bird.git synced 2024-05-11 16:54:54 +00:00

Added stub interface. (Interface which is propagated to OSPF but

it does not sends nor listens packets.)

I added some new options, please look at it and look into doc if it's OK.
This commit is contained in:
Ondrej Filip
2000-09-02 08:54:40 +00:00
parent 5ddec4e6cf
commit e3bc10fdc4
7 changed files with 46 additions and 11 deletions

View File

@@ -1014,6 +1014,7 @@ protocol ospf <name> {
interface <interface pattern>
{
cost <num>;
stub <switch>;
hello <num>;
poll <num>;
retransmit <num>;
@@ -1060,6 +1061,10 @@ protocol ospf <name> {
<tag>cost <M>num</M></tag>
Specifies output cost (metric) of an interface. Default value is 10.
<tag>stub <M>switch</M></tag>
If set to interface it does not listen to any packet and does not send
any hello. Default value is no.
<tag>hello <M>num</M></tag>
Specifies interval in seconds between sending of Hello messages. Beware, all
routers on the same network need to have the same hello interval.
@@ -1093,13 +1098,17 @@ protocol ospf &lt;name&gt; {
convenient to force use of a different type manually.
On broadcast networks, flooding and Hello messages are sent using multicasts (a single packet for all the neighbors).
<tag>type pointopoint</tag>
Point-to-point networks connect just 2 routers together. No election
is performed there which reduces the number of messages sent.
<tag>type nonbroadcast</tag>
On nonbroadcast networks, the packets are sent to each neighbor
separately because of lack of multicast capabilities.
<tag>type pointopoint</tag>
Point-to-point networks connect just 2 routers together. No election
is performed there which reduces the number of messages sent.
<tag>strict nonbroadcast <M>switch</M></tag>
If set, don't send hello to any undefined neighbor. This switch
is ignored on on any non-NBMA network. Default is No.
<tag>authentication none</tag>
No passwords are sent in OSPF packets. This is the default value.
@@ -1116,10 +1125,6 @@ protocol ospf &lt;name&gt; {
A set of neighbors to which Hello messages on nonbroadcast networks
are to be sent. Some of them could be marked as eligible.
<tag>strict nonbroadcast <M>switch</M></tag>
If set, don't send hello to any undefined neighbor. This switch
is ignored on on any non-NBMA network. Default is No.
</descrip>
<sect1>Attributes
@@ -1162,13 +1167,17 @@ protocol ospf MyOSPF {
interface "ppp*" {
cost 100;
};
interface "arc0" {
cost 10;
stub yes;
};
};
area 120 {
stub yes;
interface "-arc0" , "arc*" {
type nonbroadcast;
authentication none;
strict nonbroadcast no;
strict nonbroadcast yes;
wait 120;
poll 40;
dead count 8;