帮助解决网络设置问题(小型网络)

网络工程 网络 联网
2022-02-16 12:51:12

我正在尝试为一家小型企业建立一个新网络,但我无法弄清楚我的配置错误。希望有人能给我一些想法。

我设置了 6 个 VLAN。10.10.10.0/24、10.10.20.0/24、10.10.30.0/24、10.10.40.0/24、10.10.50.0/24 和 10.10.60.0/24。VLAN 40 设置为所有交换机和 ESXi 主机的管理 VLAN。我在图中可以看到的交换机是 HPE 1920s 48 端口、HPE 1920s 24 端口和戴尔 VRTX R1-2210 交换机(每个主机有 2 个外部端口和 4 个内部端口)。ESXi 安装在 3 台主机上,主机设置为 VLAN 40 并可从交换机访问。当我的笔记本电脑在 VLAN 40 上时,我可以 ping 所有交换机和 ESXi 主机的所有 VLAN 接口,并将 GW 设置为 .11,即核心交换机。我的问题是,当我在 VLAN20 上的 host1 上安装 VM 时,它无法到达网关 (.11)。我会假设中继线在 .11 和 .12 之间配置错误,但我认为情况并非如此,因为我的笔记本电脑在 switc2 (. 12) 我可以通过 .11 网关访问所有内容。但是……我的 VM 可以达到 0.12,因此流量似乎正在离开 vSwitchH1 和 VRTX 的主干。这让我有点困惑。为什么它不能走到最后一站到 0.11?澄清一下,我的虚拟机可以 ping 10.10.20.12,但不能 ping 10.10.20.11,因此无法访问它的网关。

我已经为此工作了一段时间,并尝试了一些超出我网络知识范围的不同事物。我遇到了一个内部 VRTX 端口 (te2/4) 无法访问的奇怪问题,但我将 v40 访问端口移到了另一个内部端口并开始工作,所以我认为它可能是一个有缺陷的端口。

我认为基于一些奇怪的初始行为,我可能遇到了生成树问题(此设置中最初有另一个开关 - 但我已将其删除以使其正常工作)。因此,我手动设置了强制 RSTP(根据我的研究,这是 VRTX 的默认设置和最佳设置)并手动配置 RSTP 根交换机。这似乎没有任何实际影响。此后,我已将所有开关恢复出厂设置以清除所有内容并坐在图片中的当前配置中。我所做的唯一手动更改是重新从 HP 交换机强制 RSTP,但我没有再次手动配置根。(此外,日志实际上并没有显示任何 STP 错误或任何内容)。我现在有点迷茫,想知道我是否犯了一个愚蠢的错误。我显然不是网络工程师。任何想法,将不胜感激。谢谢!

我将尝试在此处添加图片,但不确定最佳方法。如果它看起来不好,我会尝试另一种方法。 在此处输入图像描述

编辑以添加设备配置 在 VRTX 设备配置上工作,但在尝试下载配置时它一直给我一个错误。

开关1 .11

!Current Configuration:
!
!System Description "HPE OfficeConnect Switch 1920S 48G 4SFP JL382A, PD.02.06, 
Linux 3.6.5-a07f8920, U-Boot 2012.10-00118-g3773021 (Oct 11 2016 - 15:39:54)"
!System Software Version "PD.02.06"
!System Up Time          "1 days 0 hrs 54 mins 53 secs"
!Additional Packages     HPE QOS,HPE IPv6 Management,HPE Routing
!Current SNTP Synchronized Time: SNTP Client Mode Is Disabled
!
network protocol none
network parms 192.168.1.1 255.255.255.0 0.0.0.0
vlan database
vlan 10,20,30,40,50,60
vlan name 10 "VLAN10"
vlan name 20 "VLAN20"
vlan name 30 "VLAN30"
vlan name 40 "VLAN40"
vlan name 50 "VLAN50"
vlan name 60 "VLAN60"
vlan routing 10 1
vlan routing 20 2
vlan routing 30 3
vlan routing 40 4
vlan routing 50 5
vlan routing 60 6
exit
network mgmt_vlan 40
configure
!clock timezone -5 minutes 0
clock timezone id 17
time-range Schedule-1
exit
time-range Schedule-2
exit
ip routing
no username guest
line console
exit
line telnet
exit
line ssh
exit
spanning-tree
spanning-tree mode rstp
interface 49
addport TRK 1
exit
interface 50
addport TRK 1
exit
interface 51
addport TRK 2
exit
interface 52
addport TRK 2
exit
snmp-server sysname "USWITCH1"
snmp-server contact ""
!
interface 1
spanning-tree port mode
exit
*REMOVED UNCONFIGURED INTERFACE**
interface 48
spanning-tree port mode
vlan pvid 40
vlan participation exclude 1
vlan participation include 40
exit
interface TRK 1
spanning-tree port mode
vlan participation include 10,20,30,40,50,60
vlan tagging 10,20,30,40,50,60
exit
interface TRK 2
spanning-tree port mode
vlan participation include 10,20,30,40,50,60
vlan tagging 10,20,30,40,50,60
exit
interface TRK 3
spanning-tree port mode
exit
*REMOVED UNCONFIGURED TRUNKS**
interface TRK 16
spanning-tree port mode
exit
interface vlan 10
bandwidth 10000
routing
ip address 10.10.10.11 255.255.255.0
ip mtu 1500
no ip unreachables
no ip redirects
exit
interface vlan 20
bandwidth 10000
routing
ip address 10.10.20.11 255.255.255.0
ip mtu 1500
no ip unreachables
no ip redirects
exit
interface vlan 30
bandwidth 10000
routing
ip address 10.10.30.11 255.255.255.0
ip mtu 1500
no ip unreachables
no ip redirects
exit
interface vlan 40
bandwidth 10000
routing
ip address 10.10.40.11 255.255.255.0
ip mtu 1500
no ip unreachables
no ip redirects
exit
interface vlan 50
bandwidth 10000
routing
ip address 10.10.50.11 255.255.255.0
ip mtu 1500
no ip unreachables
no ip redirects
exit
interface vlan 60
bandwidth 10000
routing
ip address 10.10.60.11 255.255.255.0
ip mtu 1500
no ip unreachables
no ip redirects
exit
exit

开关2 .12

!Current Configuration:
!
!System Description "HPE OfficeConnect Switch 1920S 24G 2SFP JL381A, PD.02.06, Linux 3.6.5-a07f8920, U-Boot 2012.10-00118-g3773021 (Oct 11 2016 - 15:39:54)"
!System Software Version "PD.02.06"
!System Up Time          "1 days 0 hrs 54 mins 26 secs"
!Additional Packages     HPE QOS,HPE IPv6 Management,HPE Routing
!Current SNTP Synchronized Time: SNTP Client Mode Is Disabled
!
network protocol none
network parms 192.168.1.2 255.255.255.0 0.0.0.0
vlan database
vlan 10,20,30,40,50,60
vlan name 10 "VLAN10"
vlan name 20 "VLAN20"
vlan name 30 "VLAN30"
vlan name 40 "VLAN40"
vlan name 50 "VLAN50"
vlan name 60 "VLAN60"
vlan routing 10 1
vlan routing 20 2
vlan routing 30 3
vlan routing 40 4
vlan routing 50 5
vlan routing 60 6
exit
network mgmt_vlan 40
configure
!clock timezone -5 minutes 0
clock timezone id 17
time-range Schedule-1
exit
time-range Schedule-2
exit
ip routing
no username guest
line console
exit
line telnet
exit
line ssh
exit
spanning-tree
spanning-tree mode rstp
interface 25
addport TRK 1
exit
interface 26
addport TRK 1
exit
interface 1
addport TRK 2
exit
interface 2
addport TRK 2
exit
snmp-server sysname "USWITCH2"
snmp-server contact ""
!
interface 3
spanning-tree port mode
exit
interface 4
spanning-tree port mode
exit
*REMOVED UNCONFIGURED INTERFACES**
interface 24
spanning-tree port mode
vlan pvid 40
vlan participation exclude 1
vlan participation include 40
exit
interface TRK 1
spanning-tree port mode
vlan participation include 10,20,30,40,50,60
vlan tagging 10,20,30,40,50,60
exit
interface TRK 2
spanning-tree port mode
vlan participation include 10,20,40,50,60
vlan tagging 10,20,40,50,60
exit
interface TRK 3
spanning-tree port mode
exit
**REMOVED UNCONFIGURED TRUNKS**
interface TRK 8
spanning-tree port mode
exit
interface vlan 10
bandwidth 10000
routing
ip address 10.10.10.12 255.255.255.0
ip mtu 1500
no ip unreachables
no ip redirects
exit
interface vlan 20
bandwidth 10000
routing
ip address 10.10.20.12 255.255.255.0
ip mtu 1500
no ip unreachables
no ip redirects
exit
interface vlan 30
bandwidth 10000
routing
ip address 10.10.30.12 255.255.255.0
ip mtu 1500
no ip unreachables
no ip redirects
exit
interface vlan 40
bandwidth 10000
routing
ip address 10.10.40.12 255.255.255.0
ip mtu 1500
no ip unreachables
no ip redirects
exit
interface vlan 50
bandwidth 10000
routing
ip address 10.10.50.12 255.255.255.0
ip mtu 1500
no ip unreachables
no ip redirects
exit
interface vlan 60
bandwidth 10000
routing
ip address 10.10.60.12 255.255.255.0
ip mtu 1500
no ip unreachables
no ip redirects
exit
ip route 0.0.0.0 0.0.0.0 10.10.40.11
exit

VRTX 配置文件有一些问题,仍在尝试获取它,但这里有一些配置设置

VRTX 图片

在此处输入图像描述

在此处输入图像描述

在此处输入图像描述

在此处输入图像描述

在此处输入图像描述

在此处输入图像描述

在此处输入图像描述

0个回答
没有发现任何回复~