修改tunnel1的MTU为1280(可选择,如果要修改,修改成一致即可):
SG-6000[DBG]# configure
SG-6000[DBG](config)# interface tunnel1
SG-6000[DBG](config-if-tun1)# ip mtu ?
<1280-1600> The mtu value,default value is 1500
SG-6000[DBG](config-if-tun1)# ip mtu 1280 // 修改hillstone vpn tunnel的MTU为1280
SG-6000[DBG](config-if-tun1)# end
SG-6000[DBG]# show configuration vrouter
ip vrouter "twin-mode-vr"
exit
ip vrouter "trust-vr"
snatrule id 1 ingress-interface "ethernet0/0" from address-book "Any" to address-book "Any" service "Any" eif ethernet0/1 trans-to eif-ip mode dynamicport log
ip route 0.0.0.0/0 101.100.1.192
ip route 192.168.17.0/24 null0 254
router ospf 1
router-id 10.10.10.2
network 10.10.10.0/30 area 0.0.0.0
network 192.168.16.0/24 area 0.0.0.0
exit
exit
SG-6000[DBG]# show configuration interface tunnel1
interface tunnel1 local
zone "VPN-Zone"
ip address 10.10.10.2 255.255.255.252
bandwidth downstream 1000000000
bandwidth upstream 1000000000
ip mtu 1280
description "vpn-tunnel-to-fgt"
manage ping
tunnel ipsec "to-fgt" gw 10.10.10.1
ip ospf network point-to-point
exit
FGVM04TM19005798 # get router info ospf database router lsa
OSPF Router with ID (10.10.10.1) (Process ID 0, VRF 0)
Router Link States (Area 0.0.0.0)
LS age: 542
Options: 0x2 (*|-|-|-|-|-|E|-)
Flags: 0x0
LS Type: router-LSA
Link State ID: 10.10.10.1
Advertising Router: 10.10.10.1
LS Seq Number: 80000014
Checksum: 0x4401
Length: 60
Number of Links: 3
Link connected to: another Router (point-to-point)
(Link ID) Neighboring Router ID: 10.10.10.2
(Link Data) Router Interface address: 10.10.10.1
Number of TOS metrics: 0
TOS 0 Metric: 100
Link connected to: Stub Network
(Link ID) Network/subnet number: 10.10.10.0
(Link Data) Network Mask: 255.255.255.252
Number of TOS metrics: 0
TOS 0 Metric: 100
Link connected to: Stub Network
(Link ID) Network/subnet number: 192.168.17.0
(Link Data) Network Mask: 255.255.255.0
Number of TOS metrics: 0
TOS 0 Metric: 1
LS age: 542
Options: 0x2 (*|-|-|-|-|-|E|-)
Flags: 0x0
LS Type: router-LSA
Link State ID: 10.10.10.2
Advertising Router: 10.10.10.2
LS Seq Number: 8000001c
Checksum: 0x25dd
Length: 60
Number of Links: 3
Link connected to: Stub Network
(Link ID) Network/subnet number: 192.168.16.0
(Link Data) Network Mask: 255.255.255.0
Number of TOS metrics: 0
TOS 0 Metric: 1
Link connected to: another Router (point-to-point)
(Link ID) Neighboring Router ID: 10.10.10.1
(Link Data) Router Interface address: 10.10.10.2
Number of TOS metrics: 0
TOS 0 Metric: 1
Link connected to: Stub Network
(Link ID) Network/subnet number: 10.10.10.0
(Link Data) Network Mask: 255.255.255.252
Number of TOS metrics: 0
TOS 0 Metric: 1
FGVM04TM19005798 #
SG-6000[DBG]# show ip ospf neighbor
OSPF Router with ID 10.10.10.2, OSPF Process ID 1
Neighbor ID Pri State Dead Time Address Interface
10.10.10.1 0 Full/ - 00:00:32 10.10.10.1 tunnel1
SG-6000[DBG]# show ip ospf route
OSPF Router with ID 10.10.10.2, OSPF Process ID 1
Codes: N - network route, D - discard route, R - router route, IA - inter router
E1 - external type-1 route, E2 - external type-2 route
================= OSPF network routing table =================
N 10.10.10.0/30 [1] area: 0.0.0.0
directly attached to tunnel1
N 192.168.16.0/24 [1] area: 0.0.0.0
directly attached to ethernet0/0
N 192.168.17.0/24 [2] area: 0.0.0.0
via 10.10.10.1, tunnel1
SG-6000[DBG]# show ip route
Codes: K - kernel route, C - connected, S - static, Z - ISP, R - RIP, O - OSPF,
B - BGP, D - DHCP, P - PPPoE, W - wireless, H - HOST, G - SCVPN, V - VPN, M - IMPORT,
I - ISIS, Y - SYNC, L - llb outbound, > - selected first nexthop, * - FIB route, b - BFD enable
Routing Table for Virtual Router <trust-vr>
==============================================================================
S>* 0.0.0.0/0 [1/0/1] via 101.100.1.192, ethernet0/1
C>* 10.10.10.0/30 is directly connected, tunnel1
H>* 10.10.10.2/32 [0/0/1] is local address, tunnel1
C>* 101.100.1.0/24 is directly connected, ethernet0/1
H>* 101.100.1.16/32 [0/0/1] is local address, ethernet0/1
C>* 192.168.16.0/24 is directly connected, ethernet0/0
H>* 192.168.16.1/32 [0/0/1] is local address, ethernet0/0
O>* 192.168.17.0/24 [110/2/1] via 10.10.10.1, tunnel1, 00:11:01
S 192.168.17.0/24 [254/0/1] is directly connected, null0
C>* 192.168.91.0/24 is directly connected, ethernet0/3
H>* 192.168.91.16/32 [0/0/1] is local address, ethernet0/3
==============================================================================
SG-6000[DBG]#
SG-6000[DBG]# show ip ospf database router
OSPF Router with ID (10.10.10.2) (Process ID 1)
Router Link States (Area 0.0.0.0)
LS age: 740
Options: 2
Flags: 0x0
LS Type: router-LSA
Link State ID: 10.10.10.1
Advertising Router: 10.10.10.1
LS Seq Number: 80000014
Checksum: 0x4401
Length: 60
Number of Links: 3
Link connected to: another Router (point-to-point)
(Link ID) Neighboring Router ID: 10.10.10.2
(Link Data) Router Interface address: 10.10.10.1
Number of TOS metrics: 0
TOS 0 Metric: 100
Link connected to: Stub Network
(Link ID) Net: 10.10.10.0
(Link Data) Network Mask: 255.255.255.252
Number of TOS metrics: 0
TOS 0 Metric: 100
Link connected to: Stub Network
(Link ID) Net: 192.168.17.0
(Link Data) Network Mask: 255.255.255.0
Number of TOS metrics: 0
TOS 0 Metric: 1
LS age: 739
Options: 2
Flags: 0x0
LS Type: router-LSA
Link State ID: 10.10.10.2
Advertising Router: 10.10.10.2
LS Seq Number: 8000001c
Checksum: 0x25dd
Length: 60
Number of Links: 3
Link connected to: Stub Network
(Link ID) Net: 192.168.16.0
(Link Data) Network Mask: 255.255.255.0
Number of TOS metrics: 0
TOS 0 Metric: 1
Link connected to: another Router (point-to-point)
(Link ID) Neighboring Router ID: 10.10.10.1
(Link Data) Router Interface address: 10.10.10.2
Number of TOS metrics: 0
TOS 0 Metric: 1
Link connected to: Stub Network
(Link ID) Net: 10.10.10.0
(Link Data) Network Mask: 255.255.255.252
Number of TOS metrics: 0
TOS 0 Metric: 1
SG-6000[DBG]#
OSFP邻居和路由都学习正常。
4.业务测试
和之前的业务测试就没有什么区别了,不再详细描述
从FGT侧去访问Hiilstone侧业务:
从Hiilstone侧去访问FGT侧业务: