执行命令ip tunnel modegre,配置隧道模式为GRE。 缺省情况下,隧道模式为VXLAN。 在Port模式VS中,仅Admin-VS支持该命令;在Group模式VS中,所有VS都支持该命令。 执行命令commit,提交配置。 执行命令ip tunnel mode配置隧道模式后,需重启设备使配置生效。如果未重启设备,仅重启部分单板或者插入新单板时,则会导致转发异常...
[~SwitchC] ip tunnel mode gre [*SwitchC] commit 配置Tunnel接口 # 配置SwitchA。 [SwitchA] interface tunnel 1 [*SwitchA-Tunnel1] tunnel-protocol gre [*SwitchA-Tunnel1] ipv6 enable [*SwitchA-Tunnel1] ipv6 address 3001::1 64 [*SwitchA-Tunnel1] source 20.1.1.1 [*SwitchA-Tunnel1] de...
接下来,我们在beijing设备上创建GRE隧道接口Tunnel1,并指定隧道模式为GRE over IPv6隧道;配置Tunnel1接口的源端IPv6地址和目的端IPv6地址,再配置隧道接口的IPv4地址。 #interface Tunnel1 mode gre ipv6 source 2004::2 destination 2001::1 ip address 10.0.0.2 255.255.255.0 同理,再hengshui设备上创建GRE over...
#interface GigabitEthernet1/0 ip address 10.3.0.1 255.255.255.0#interface GigabitEthernet2/0 ipv6 address 2003::3/64#interface Tunnel1 mode gre ipv6 ip address 10.13.0.3 255.255.255.0 source 2003::3 destination 1002::1#ipv6 route-static 1002:: 64 2003::2 通过抓包我们可以看到,外层的IPv6报...
tunnel mode ipv6ip auto-tunnel ---//隧道模式为 auto-tunnel R4上的隧道接口的配置如下 interface Tunnel2 ipv6 address autoconfig ---//隧道的IPv6地址自动获得(获得后实际为0:0:0:0:0:0:20.1.1.1/96) tunnel source 20.1.1.1 ---//隧道的源IPv4地址 tunnel...
ip tunnel add netb mode gre remote 172.19.20.21 local 172.16.17.18 ttl 255 ip link set netb up ip addr add 10.0.1.1 dev netb ip route add 10.0.2.0/24 dev netb 这里﹐我们不妨研究一下。在第一行里面﹐我们新增了一个 tunnel 设备﹐称之为 netb (显而易见﹐因为这正是吾之所欲也)。再来...
R2(conifg)#int tunnel 0 R2(config-if)#ipv6 enable R2(config-if)#ipv6 address 2001:DA8:0:2::1/64 R2(config-if)#tunnel source 210.83.130.2 R2(config-if)#tunnel destination 210.83.131.2 R2(config-if)#tunnel mode gre ip R2(conifg-if)#exit R2(conifg)#ipv6 route 2001:250:FFFF:5...
[root@localhost ~]# ip tunnel helpUsage: ip tunnel { add | change | del | show | prl | 6rd } [ NAME ] [ mode { ipip | gre | sit | isatap | vti } ] [ remote ADDR ] [localADDR ] [ [i|o]seq] [ [i|o]key KEY ] [ [i|o]csum ] ...
在GRE配置环境下,Tunnel接口模式下,Destination地址一般是指:A.本TunneL接口IP地址B.本端外网出口IP地址C.对端外网接IP地址D.对Tunn
tunnel destination 1.1.1.1 tunnel mode ipv6ip ipv rip ccie enable router rip ver 2 no au net 10.0.0.0 net 2.0.0.0 ipv router rip ccie end R3 conf t ipv uncast-routing int f 1/0 ipv ad fec0:0:0:2::3/64 no shut ipv rip ccie enable ...