核心交换机访问子公司内网地址不通,子公司访问内网地址是通的,路由器4口子接口访问子公司内网地址也是通的,求助哪里出问题了,实在不知道哪里过滤了,需要修改哪里。
本地网段为:10.32.200.254(测试网段)
路由互联地址:10.34.1.41
路由器与子公司互联地址:10.248.33.125
下面是具体拓扑和交换机与路由器的路由表
公司新增一根联通专线,子公司出口地址位10.248.33.126,出口设备为防火墙。本地路由器4口做了子接口,G1/1/4.126,做的OSPF,地址为10.248.33.125,写了两条 静态路由访问子公司内网地址,1034.232-233.0两个网段的静态路由到10.248.33.126。
1口为核心交换机到路由互联口,4口下子接口.126为子接口与子公司互联。
核心交换机路由表:
ip route-static 0.0.0.0 0 10.34.1.190
ip route-static 10.32.6.0 24 10.34.1.37
ip route-static 10.32.14.0 24 10.34.1.37
ip route-static 10.32.21.0 24 10.34.1.37
ip route-static 10.32.28.0 24 10.34.1.37
ip route-static 10.32.36.0 24 10.34.1.37
ip route-static 10.32.37.0 24 10.32.34.62
ip route-static 10.32.38.0 24 10.32.34.62
ip route-static 10.32.39.0 24 100.100.88.232
ip route-static 10.32.40.0 24 100.100.88.234
ip route-static 10.32.41.0 24 100.100.88.234
ip route-static 10.34.232.0 24 10.34.1.41
ip route-static 10.34.233.0 24 10.34.1.41
ip route-static 10.34.1.0 24 10.34.1.170
ip route-static 10.34.1.176 29 10.34.1.169 preference 100
ip route-static 10.34.1.184 29 10.34.1.169 preference 100
ip route-static 192.168.200.0 24 10.34.1.182
ip route-static 192.168.201.0 24 10.34.1.182
ip route-static vpn-instance Guest 0.0.0.0 0 172.16.100.1
ip route-static vpn-instance Guest 0.0.0.0 0 172.16.100.254 preference 100
#
ssh server enable
ssh user admin service-type stelnet authentication-type password
ssh user hnys service-type stelnet authentication-type password
#
acl number 3000 name Anti-Virus
rule 10 deny tcp destination-port eq 137
rule 20 deny tcp destination-port eq 138
rule 30 deny tcp destination-port eq 139
rule 40 deny tcp destination-port eq 445
rule 80 deny udp destination-port eq 445
rule 90 permit ip
路由器路由表:
interface Tunnel1
description g1/1/3_to_wukuang
shutdown
ip address 10.252.0.34 255.255.255.252
tcp mss 1400
source 10.252.0.62
destination 10.252.0.57
#
bgp 65043
router-id 10.244.32.2
preference 9 8 200
network 10.32.0.0 255.252.0.0
network 10.244.32.0 255.255.252.0
network 10.248.32.0 255.255.252.0
undo synchronization
peer 10.244.32.1 as-number 65043
peer 10.252.0.57 as-number 65001
peer 10.244.32.1 next-hop-local
peer 10.244.32.1 connect-interface LoopBack0
peer 10.252.0.57 ebgp-max-hop 2
#
ospf 1 router-id 10.244.32.2
import-route static route-policy static2ospf
import-route bgp cost 20 route-policy bgp2ospf
silent-interface GigabitEthernet1/1/3
area 0.0.0.0
abr-summary 10.32.200.0 255.255.254.0
network 10.34.1.40 0.0.0.3
network 10.244.32.2 0.0.0.0
network 10.34.1.76 0.0.0.3
network 10.252.0.62 0.0.0.0
area 0.0.0.2
network 10.248.33.0 0.0.0.3
area 0.0.0.3
abr-summary 10.35.2.0 255.255.255.0
network 10.248.33.4 0.0.0.3
area 0.0.0.4
network 10.248.33.8 0.0.0.3
area 0.0.0.5
network 10.248.33.12 0.0.0.3
area 0.0.0.6
network 10.248.33.16 0.0.0.3
area 0.0.0.7
network 10.248.33.20 0.0.0.3
area 0.0.0.8
network 10.248.33.24 0.0.0.3
area 0.0.0.10
network 10.248.33.32 0.0.0.3
area 0.0.0.11
network 10.248.33.36 0.0.0.3
area 0.0.0.15
network 10.248.33.40 0.0.0.3
area 0.0.0.16
network 10.248.33.128 0.0.0.3
area 0.0.0.19
network 10.248.33.69 0.0.0.0
area 0.0.0.26
network 10.248.33.125 0.0.0.0
area 0.0.0.32
network 10.248.33.28 0.0.0.3
#
route-policy bgp2ospf permit node 5
if-match ip-prefix zigongyingzhi
route-policy bgp2ospf deny node 10
if-match ip-prefix hunanyouse
route-policy bgp2ospf permit node 20
route-policy static2ospf permit node 10
if-match ip-prefix static
#
ip ip-prefix hunanyouse index 5 permit 10.32.0.0 14 less-equal 32
ip ip-prefix hunanyouse index 10 permit 10.244.32.0 22 less-equal 32
ip ip-prefix hunanyouse index 15 permit 10.248.32.0 22 less-equal 32
ip ip-prefix jituan index 11 permit 10.1.0.0 16
ip ip-prefix jituan index 12 permit 10.2.0.0 16
ip ip-prefix jituan index 13 permit 10.255.1.0 24
ip ip-prefix jituan index 14 permit 10.255.11.0 24
ip ip-prefix jituan index 15 permit 10.248.0.0 24 less-equal 32
ip ip-prefix youse index 10 permit 10.29.0.0 16 less-equal 32
ip ip-prefix youse index 15 permit 10.40.0.0 16 less-equal 32
ip ip-prefix youse index 20 permit 10.41.0.0 16 less-equal 32
ip ip-prefix youse index 25 permit 10.42.0.0 16 less-equal 32
ip ip-prefix static index 10 permit 10.252.0.56 30
ip ip-prefix zigongyingzhi index 10 permit 10.34.96.0 19 less-equal 32
ip ip-prefix zigongyingzhi index 20 permit 10.35.12.0 24 less-equal 32
#
ip route-static 10.32.0.0 255.252.0.0 NULL0
ip route-static 10.32.42.0 255.255.255.0 10.248.33.126
ip route-static 10.32.43.0 255.255.255.0 10.248.33.126
ip route-static 10.34.232.0 255.255.255.0 10.248.33.126
ip route-static 10.34.233.0 255.255.255.0 10.248.33.126
ip route-static 10.244.32.0 255.255.252.0 NULL0
ip route-static 10.248.32.0 255.255.252.0 NULL0
ip route-static 10.252.0.56 255.255.255.252 10.252.0.61
(0)
哥们 给个组网咋们还可以梳理一下
(0)
组网太复杂了,就是单纯看核心交换机到路由器,然后路由器4口出去到子公司内网
组网太复杂了,就是单纯看核心交换机到路由器,然后路由器4口出去到子公司内网
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明