1
|
|
2
|
[2.5.1-RELEASE][root@firewall2.home.arpa]/root: netstat -rn
|
3
|
Routing tables
|
4
|
|
5
|
Internet:
|
6
|
Destination Gateway Flags Netif Expire
|
7
|
default 100.0.3.1 UGS em0
|
8
|
10.1.194.0/24 10.255.1.1 UG1 ovpnc2
|
9
|
10.2.194.0/24 10.2.194.2 UGS ovpns1
|
10
|
10.2.194.1 link#9 UHS lo0
|
11
|
10.2.194.2 link#9 UH ovpns1
|
12
|
10.255.1.1 link#10 UH ovpnc2
|
13
|
10.255.1.2 link#10 UHS lo0
|
14
|
10.255.2.1 link#11 UH ovpnc3
|
15
|
10.255.2.2 link#11 UHS lo0
|
16
|
100.0.3.0/30 link#1 U em0
|
17
|
100.0.3.2 link#1 UHS lo0
|
18
|
100.0.4.0/30 link#3 U em2
|
19
|
100.0.4.2 link#3 UHS lo0
|
20
|
127.0.0.1 link#6 UH lo0
|
21
|
192.168.1.0/24 10.255.1.1 UG1 ovpnc2
|
22
|
192.168.2.0/24 link#2 U em1
|
23
|
192.168.2.1 link#2 UHS lo0
|
24
|
192.168.57.0/24 link#4 U em3
|
25
|
192.168.57.205 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::2:2ff:fe02:201%em0 link#1 UHS lo0
|
32
|
fe80::%em1/64 link#2 U em1
|
33
|
fe80::2:2ff:fe02:202%em1 link#2 UHS lo0
|
34
|
fe80::%em2/64 link#3 U em2
|
35
|
fe80::2:2ff:fe02:203%em2 link#3 UHS lo0
|
36
|
fe80::%em3/64 link#4 U em3
|
37
|
fe80::2:2ff:fe02:204%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::cce1:93c3:b98a:e274%ovpns1 link#9 UHS lo0
|
42
|
fe80::%ovpnc2/64 link#10 U ovpnc2
|
43
|
fe80::cce1:93c3:b98a:e274%ovpnc2 link#10 UHS lo0
|
44
|
fe80::%ovpnc3/64 link#11 U ovpnc3
|
45
|
fe80::cce1:93c3:b98a:e274%ovpnc3 link#11 UHS lo0
|
46
|
[2.5.1-RELEASE][root@firewall2.home.arpa]/root: vtysh
|
47
|
|
48
|
Hello, this is FRRouting (version 7.5).
|
49
|
Copyright 1996-2005 Kunihiro Ishiguro, et al.
|
50
|
|
51
|
firewall2.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.3.1, 00:05:09
|
59
|
O>* 10.1.194.0/24 [110/20] via 10.255.1.1, ovpnc2 onlink, weight 1, 00:04:49
|
60
|
K * 10.2.194.0/24 [0/0] via 10.2.194.2, 00:05:09
|
61
|
C>* 10.2.194.0/24 [0/1] is directly connected, ovpns1, 00:05:09
|
62
|
C>* 10.255.1.1/32 [0/1] is directly connected, ovpnc2, 00:05:09
|
63
|
C>* 10.255.2.1/32 [0/1] is directly connected, ovpnc3, 00:05:09
|
64
|
C>* 100.0.3.0/30 [0/1] is directly connected, em0, 00:05:09
|
65
|
C>* 100.0.4.0/30 [0/1] is directly connected, em2, 00:05:09
|
66
|
O>* 192.168.1.0/24 [110/8004] via 10.255.1.1, ovpnc2 onlink, weight 1, 00:04:51
|
67
|
O 192.168.2.0/24 [110/4] is directly connected, em1, weight 1, 00:05:08
|
68
|
C>* 192.168.2.0/24 [0/1] is directly connected, em1, 00:05:09
|
69
|
C>* 192.168.57.0/24 [0/1] is directly connected, em3, 00:05:09
|
70
|
firewall2.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.1.194.0/24 [110/20] via 10.255.1.1, ovpnc2 onlink, weight 1, 00:04:54
|
78
|
O>* 192.168.1.0/24 [110/8004] via 10.255.1.1, ovpnc2 onlink, weight 1, 00:04:56
|
79
|
O 192.168.2.0/24 [110/4] is directly connected, em1, weight 1, 00:05:13
|
80
|
firewall2.home.arpa# show ip ospf route
|
81
|
============ OSPF network routing table ============
|
82
|
N 192.168.1.0/24 [8004] area: 0.0.0.0
|
83
|
via 10.255.1.1, ovpnc2
|
84
|
N 192.168.2.0/24 [4] area: 0.0.0.0
|
85
|
directly attached to em1
|
86
|
|
87
|
============ OSPF router routing table =============
|
88
|
R 192.168.1.1 [8000] area: 0.0.0.0, ASBR
|
89
|
via 10.255.1.1, ovpnc2
|
90
|
|
91
|
============ OSPF external routing table ===========
|
92
|
N E2 10.1.194.0/24 [8000/20] tag: 0
|
93
|
via 10.255.1.1, ovpnc2
|
94
|
|
95
|
|
96
|
firewall2.home.arpa# show ip ospf database
|
97
|
|
98
|
OSPF Router with ID (192.168.2.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 324 0x80000006 0xbb96 3
|
104
|
192.168.2.1 192.168.2.1 324 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 330 0x80000001 0xa5df E2 10.1.194.0/24 [0x0]
|
110
|
10.2.194.0 192.168.2.1 327 0x80000001 0x92f0 E2 10.2.194.0/24 [0x0]
|
111
|
|
112
|
|
113
|
firewall2.home.arpa#
|