GRE Tunnel Interface が Dest-route-down
root@TSUTSUJIGAOKA> show interfaces gr-0/0/0
Physical interface: gr-0/0/0, Enabled, Physical link is Up
Interface index: 647, SNMP ifIndex: 503
Type: GRE, Link-level type: GRE, MTU: Unlimited, Speed: 800mbps
Device flags : Present Running
Interface flags: Point-To-Point SNMP-Traps
Input rate : 0 bps (0 pps)
Output rate : 0 bps (0 pps)Logical interface gr-0/0/0.0 (Index 561) (SNMP ifIndex 577)
Flags: Hardware-Down Up Point-To-Point SNMP-Traps 0x4000
IP-Header 192.168.100.1:192.168.200.1:47:df:64:0000000000000000 Encapsulation: GRE-NULL
Copy-tos-to-outer-ip-header: Off, Copy-tos-to-outer-ip-header-transit: Off
force-control-packets-on-transit-path: Off
Gre keepalives configured: Off, Gre keepalives adjacency state: down
Input packets : 0
Output packets: 0
Protocol inet, MTU: Unlimited
Max nh cache: 0, New hold nh limit: 0, Curr nh cnt: 0, Curr new hold cnt: 0, NH drop cnt: 0
Flags: Sendbcast-pkt-to-re
Addresses, Flags: Dest-route-down Is-Preferred Is-Primary
Destination: 192.168.10.0/30, Local: 192.168.10.2, Broadcast: 192.168.10.3
おいおい、ちゃんとRouteあるぞ。
{master:0}[edit]
root@TSUTSUJIGAOKA# run show route table r3r3.inet.0: 16 destinations, 16 routes (16 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both: <snip>
192.168.100.1/32 *[OSPF/10] 20:33:39, metric 2
> to 192.168.4.2 via et-0/0/30.0
Routing-instanceの中に終端する時には、以下のOptionが必要なそうだ。
{master:0}[edit]
root@TSUTSUJIGAOKA# show interfaces gr-0/0/0
unit 0 {
tunnel {
source 192.168.200.1;
destination 192.168.100.1;
routing-instance {
destination r3;
}
}
family inet {
address 192.168.10.2/30;
}
}
Routing-instance内にInterface書いてるのに変なの。
{master:0}[edit]
root@TSUTSUJIGAOKA# show routing-instances
r3 {
instance-type virtual-router;
routing-options {
rib r3.inet.0 {
static {
route 192.168.6.0/24 next-hop 192.168.5.100;
route 192.168.100.1/32 next-hop 192.168.4.2;
}
}
}
protocols {
ospf {
area 0.0.0.0 {
interface all;
interface gr-0/0/0.0 {
disable;
}
}
}
}
interface gr-0/0/0.0;
interface et-0/0/30.0;
interface et-0/0/31.0;
interface lo0.2;
}
ちゃんとUpした。
{master:0}[edit]
root@TSUTSUJIGAOKA# run show interfaces gr-0/0/0
Physical interface: gr-0/0/0, Enabled, Physical link is Up
Interface index: 647, SNMP ifIndex: 503
Type: GRE, Link-level type: GRE, MTU: Unlimited, Speed: 800mbps
Device flags : Present Running
Interface flags: Point-To-Point SNMP-Traps
Input rate : 0 bps (0 pps)
Output rate : 0 bps (0 pps)Logical interface gr-0/0/0.0 (Index 562) (SNMP ifIndex 577)
Flags: Up Point-To-Point SNMP-Traps 0x4000 IP-Header 192.168.100.1:192.168.200.1:47:df:64:0000000000000800
Encapsulation: GRE-NULL
Copy-tos-to-outer-ip-header: Off, Copy-tos-to-outer-ip-header-transit: Off
force-control-packets-on-transit-path: Off
Gre keepalives configured: Off, Gre keepalives adjacency state: down
Input packets : 0
Output packets: 0
Protocol inet, MTU: 1476
Max nh cache: 0, New hold nh limit: 0, Curr nh cnt: 0, Curr new hold cnt: 0, NH drop cnt: 0
Flags: Sendbcast-pkt-to-re
Addresses, Flags: Is-Preferred Is-Primary
Destination: 192.168.10.0/30, Local: 192.168.10.2, Broadcast: 192.168.10.3