<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div class="elementToProof" style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hi,</div>
<div class="elementToProof" style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: "Century Gothic", sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
+-----------------------+ +-------------------+ +-------------------+ +---------------------- - +<br>
| 172.16.34.0/30 \ / 172.16.45.0/30 \ / 172.16.56.0/30 \ / 172.16.67.0/30 |<br>
| rt3 --------------------- rt4 ------------------- rt5 --------------------- rt6 ------------------- rt7 |<br>
| area 172.16.34.0 / \ area 0.0.0.0 / \ area 172.16.56.0 / \ |<br>
+-----------------------+ +-------------------+ +----- ---------------+ + ------------------------+<br>
OSPF RIP</div>
<div class="elementToProof" style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I would like to config area 172.16.34.0 as a stub area, here is my config:</div>
<div class="elementToProof" style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
```</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
rt3.conf</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
protocol ospf v2 {</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
ipv4 { import all; export all; };</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
area 172.16.34.0 {</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
stub yes;</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
interface "veth34" {</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
type bcast; # Detected by default</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
cost 10; # Interface metric</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
hello 10; # Default hello perid 10 is too long</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
};</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
interface "lo3" {</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
stub yes;</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
};</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
};</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
}</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
```</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
rt4.conf</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
```</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
protocol ospf v2 {</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
ipv4 { import all; export all; };</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
area 172.16.34.0 {</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
stub yes;</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
interface "veth43" {</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
type bcast; # Detected by default</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
cost 10; # Interface metric</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
hello 10; # Default hello perid 10 is too long</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
};</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
interface "lo3" {</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
stub yes;</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
};</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
};</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
area 0.0.0.0 {</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
...</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
}</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
}</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
```</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
rt3 </div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
```</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
rt3# bird -c /etc/bird/lab/rt3.conf -p</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
bird: /etc/bird/lab/rt3.conf:173:1 ASBR must be in non-stub area</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
```</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
rt4</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
```</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
rt4# bird -c /etc/bird/lab/rt4.conf -p</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
rt4# birdc -s /run/bird/rt4.pid configure</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
```</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
after that</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
rt4</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
```</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
bird> show ospf lsadb</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
...</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
area 172.16.34.0</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
router 172.16.8.4</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
distance 0</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
stubnet 172.16.34.0/30 metric 10</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
xnetwork 0.0.0.0/0 metric 1000</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
bird> show ospf lsadb area 172.16.34.0</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Area 172.16.34.0</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Type LS ID Router Sequence Age Checksum</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
0001 172.16.8.4 172.16.8.4 80000019 616 067e</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
0003 0.0.0.0 172.16.8.4 80000001 621 1753</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
```</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
rt3</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
```</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
bird> show ospf lsadb area 172.16.34.0</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Area 172.16.34.0</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Type LS ID Router Sequence Age Checksum</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
0001 172.16.8.3 172.16.8.3 8000001b 676 1d29</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
0001 172.16.8.4 172.16.8.4 80000017 1782 2578</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
0004 172.16.8.5 172.16.8.4 80000016 1777 e089</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
0004 172.16.8.6 172.16.8.4 80000016 1777 3b24</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
0002 172.16.34.2 172.16.8.4 80000016 1782 f5d7</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
0003 172.16.45.3 172.16.8.4 80000017 1782 56f3</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
0003 172.16.56.3 172.16.8.4 80000016 1777 43f2</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
0003 4.8.5.3 172.16.8.4 80000016 1777 67b2</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
0003 4.8.5.4 172.16.8.4 80000016 1777 5dbb</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
0003 4.8.5.11 172.16.8.4 80000016 1777 17fa</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
0003 4.8.5.12 172.16.8.4 80000016 1777 0d04</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
0003 4.8.6.3 172.16.8.4 80000003 2017 e63b</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
0003 4.8.6.4 172.16.8.4 80000003 2017 dc44</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
0003 4.8.6.11 172.16.8.4 80000003 2017 9683</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
0003 4.8.6.12 172.16.8.4 80000003 2017 8c8c</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
bird> show ospf lsadb state</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
syntax error, unexpected STATE</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
bird> show ospf state</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
area 172.16.34.0</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
router 172.16.8.3</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
distance 0</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
stubnet 4.8.3.0/30 metric 10</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
stubnet 4.8.3.4/30 metric 10</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
stubnet 4.8.3.8/30 metric 10</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
stubnet 4.8.3.12/30 metric 10</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
stubnet 172.16.34.0/30 metric 10</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
stubnet 4.8.3.100/30 metric 10</div>
<div style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
bird></div>
<div class="elementToProof" style="font-family: "Century Gothic", sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
```</div>
</body>
</html>