0
点赞
收藏
分享

微信扫一扫

SSH隧道详解与使用AutoSSH实现稳定的内网穿透

钎探穗 35分钟前 阅读 0
网络

在这里插入图片描述

SW1

sys
undo info-center enable 
vlan batch 10 20 30 40 50 60 	
int g0/0/1	
port link-type trunk 	
port trunk allow-pass vlan all
q
int g0/0/2
port link-type access 	
port default vlan 50
q
int Vlanif 10
ip address 192.168.10.1 24
q
interface Vlanif 20
ip address 192.168.20.1 24
q
interface Vlanif 50
ip address 192.168.50.2 24
ospf
area 1
network 192.168.50.0 0.0.0.255
network 192.168.10.0 0.0.0.255
network 192.168.20.0 0.0.0.255

SW2

sys
undo info-center enable 
vlan batch 10 20 30 40 50  60
interface GigabitEthernet 0/0/1
port link-type trunk 	
port trunk allow-pass vlan all
q
interface GigabitEthernet 0/0/2
port link-type access 	
port default vlan 60
q	
interface Vlanif 30
ip address 192.168.30.1 24
q
interface Vlanif 40
ip address 192.168.40.1 24
q
interface Vlanif 60
ip address 172.16.1.2 24
q
ospf
area 2
network 172.16.1.0 0.0.0.255
network 192.168.30.0 0.0.0.255
network 192.168.40.0 0.0.0.255

SW3

sys
undo info-center enable 
vlan batch 10 20 30 40 50 60	
int g0/0/1	
port link-type access 	
port default vlan 10
q
int g0/0/2	
port link-type access 
port default vlan 20
q
intg0/0/3
port link-type trunk 
port trunk allow-pass vlan all
q

SW4

sys
undo info-center enable 	
vlan batch 10 20 30 40 50 60 
interface g0/0/1	
port link-type access 	
port default vlan 30
q
int g0/0/2
port link-type access 
port default vlan 40
q
int g0/0/3	
port link-type trunk 
port trunk allow-pass vlan all

AR1

system-view 
ospf	
area 1
network 192.168.50.0 0.0.0.255
area 0
network 10.1.1.0 0.0.0.3

AR2

system-view 
undo info-center enable 
interface g0/0/0
ip address 10.1.1.2 30
interface g0/0/1
ip address 172.16.1.1 24
q
ospf 
area 0
network 10.1.1.0 0.0.0.3
area 2
network 172.16.1.0 0.0.0.255

在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述

举报

相关推荐

0 条评论