Project

General

Profile

Bug #11835 » firewall1 routing info.txt

Gavin Owen, 04/22/2021 02:06 AM

 
1

    
2
[2.5.1-RELEASE][root@firewall1.home.arpa]/root: netstat -rn
3
Routing tables
4

    
5
Internet:
6
Destination        Gateway            Flags     Netif Expire
7
default            100.0.1.1          UGS         em0
8
10.1.194.0/24      10.1.194.2         UGS      ovpns1
9
10.1.194.1         link#9             UHS         lo0
10
10.1.194.2         link#9             UH       ovpns1
11
10.2.194.0/24      10.255.1.2         UG1      ovpns2
12
10.255.1.1         link#10            UHS         lo0
13
10.255.1.2         link#10            UH       ovpns2
14
10.255.2.1         link#11            UHS         lo0
15
10.255.2.2         link#11            UH       ovpns3
16
100.0.1.0/30       link#1             U           em0
17
100.0.1.2          link#1             UHS         lo0
18
100.0.2.0/30       link#3             U           em2
19
100.0.2.2          link#3             UHS         lo0
20
127.0.0.1          link#6             UH          lo0
21
192.168.1.0/24     link#2             U           em1
22
192.168.1.1        link#2             UHS         lo0
23
192.168.2.0/24     10.255.1.2         UG1      ovpns2
24
192.168.57.0/24    link#4             U           em3
25
192.168.57.204     link#4             UHS         lo0
26

    
27
Internet6:
28
Destination                       Gateway                       Flags     Netif Expire
29
::1                               link#6                        UH          lo0
30
fe80::%em0/64                     link#1                        U           em0
31
fe80::1:1ff:fe01:101%em0          link#1                        UHS         lo0
32
fe80::%em1/64                     link#2                        U           em1
33
fe80::1:1ff:fe01:102%em1          link#2                        UHS         lo0
34
fe80::%em2/64                     link#3                        U           em2
35
fe80::1:1ff:fe01:103%em2          link#3                        UHS         lo0
36
fe80::%em3/64                     link#4                        U           em3
37
fe80::1:1ff:fe01:104%em3          link#4                        UHS         lo0
38
fe80::%lo0/64                     link#6                        U           lo0
39
fe80::1%lo0                       link#6                        UHS         lo0
40
fe80::%ovpns1/64                  link#9                        U        ovpns1
41
fe80::b817:ef33:d73a:abaf%ovpns1  link#9                        UHS         lo0
42
fe80::%ovpns2/64                  link#10                       U        ovpns2
43
fe80::b817:ef33:d73a:abaf%ovpns2  link#10                       UHS         lo0
44
fe80::%ovpns3/64                  link#11                       U        ovpns3
45
fe80::b817:ef33:d73a:abaf%ovpns3  link#11                       UHS         lo0
46
[2.5.1-RELEASE][root@firewall1.home.arpa]/root: vtysh
47

    
48
Hello, this is FRRouting (version 7.5).
49
Copyright 1996-2005 Kunihiro Ishiguro, et al.
50

    
51
firewall1.home.arpa# show ip route
52
Codes: K - kernel route, C - connected, S - static, R - RIP,
53
       O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
54
       T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP,
55
       F - PBR, f - OpenFabric,
56
       > - selected route, * - FIB route, q - queued, r - rejected, b - backup
57

    
58
K>* 0.0.0.0/0 [0/0] via 100.0.1.1, 00:04:23
59
K * 10.1.194.0/24 [0/0] via 10.1.194.2, 00:04:23
60
C>* 10.1.194.0/24 [0/1] is directly connected, ovpns1, 00:04:23
61
O>* 10.2.194.0/24 [110/20] via 10.255.1.2, ovpns2 onlink, weight 1, 00:04:02
62
C>* 10.255.1.2/32 [0/1] is directly connected, ovpns2, 00:04:23
63
C>* 10.255.2.2/32 [0/1] is directly connected, ovpns3, 00:04:23
64
C>* 100.0.1.0/30 [0/1] is directly connected, em0, 00:04:23
65
C>* 100.0.2.0/30 [0/1] is directly connected, em2, 00:04:23
66
O   192.168.1.0/24 [110/4] is directly connected, em1, weight 1, 00:04:23
67
C>* 192.168.1.0/24 [0/1] is directly connected, em1, 00:04:23
68
O>* 192.168.2.0/24 [110/8004] via 10.255.1.2, ovpns2 onlink, weight 1, 00:04:03
69
C>* 192.168.57.0/24 [0/1] is directly connected, em3, 00:04:23
70
firewall1.home.arpa# show ip route ospf
71
Codes: K - kernel route, C - connected, S - static, R - RIP,
72
       O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
73
       T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP,
74
       F - PBR, f - OpenFabric,
75
       > - selected route, * - FIB route, q - queued, r - rejected, b - backup
76

    
77
O>* 10.2.194.0/24 [110/20] via 10.255.1.2, ovpns2 onlink, weight 1, 00:04:05
78
O   192.168.1.0/24 [110/4] is directly connected, em1, weight 1, 00:04:26
79
O>* 192.168.2.0/24 [110/8004] via 10.255.1.2, ovpns2 onlink, weight 1, 00:04:06
80
firewall1.home.arpa# show ip ospf route
81
============ OSPF network routing table ============
82
N    192.168.1.0/24        [4] area: 0.0.0.0
83
                           directly attached to em1
84
N    192.168.2.0/24        [8004] area: 0.0.0.0
85
                           via 10.255.1.2, ovpns2
86

    
87
============ OSPF router routing table =============
88
R    192.168.2.1           [8000] area: 0.0.0.0, ASBR
89
                           via 10.255.1.2, ovpns2
90

    
91
============ OSPF external routing table ===========
92
N E2 10.2.194.0/24         [8000/20] tag: 0
93
                           via 10.255.1.2, ovpns2
94

    
95

    
96
firewall1.home.arpa# show ip ospf database 
97

    
98
       OSPF Router with ID (192.168.1.1)
99

    
100
                Router Link States (Area 0.0.0.0)
101

    
102
Link ID         ADV Router      Age  Seq#       CkSum  Link count
103
192.168.1.1     192.168.1.1      267 0x80000006 0xbb96 3
104
192.168.2.1     192.168.2.1      267 0x80000006 0x7cd4 3
105

    
106
                AS External Link States
107

    
108
Link ID         ADV Router      Age  Seq#       CkSum  Route
109
10.1.194.0      192.168.1.1      272 0x80000001 0xa5df E2 10.1.194.0/24 [0x0]
110
10.2.194.0      192.168.2.1      270 0x80000001 0x92f0 E2 10.2.194.0/24 [0x0]
111

    
112

    
113
firewall1.home.arpa# 
(4-4/9)