我们有新的分支,我们将通过4G路由器“广域网连接”和L3交换机连接,如下图所示。

从1-分支开关,我可以平2-分支开关,但从(PC-1)我不能平(2-分支开关)也(PC-2)。
也许我漏掉了一些东西。
这是路由器和交换机。
*
*1-Router**
Gateway of last resort is 0.0.0.0 to network 0.0.0.0
S* 0.0.0.0/0 is directly connected, Tunnel1
10.0.0.0/8 is variably subnetted, 5 subnets, 3 masks
C 10.65.17.0/29 is directly connected, Vlan1
L 10.65.17.2/32 is directly connected, Vlan1
C 10.201.51.0/24 is directly connected, Cellular0
L 10.201.51.1/32 is directly connected, Cellular0
S 10.201.56.24/32 is directly connected, Cellular0
172.20.0.0/16 is variably subnetted, 2 subnets, 2 masks
C 172.20.218.196/30 is directly connected, Tunnel1
L 172.20.218.198/32 is directly connected, Tunnel1
**2-Router**
S* 0.0.0.0/0 is directly connected, Tunnel1
10.0.0.0/8 is variably subnetted, 5 subnets, 3 masks
C 10.66.17.0/29 is directly connected, Vlan1
L 10.66.17.2/32 is directly connected, Vlan1
C 10.201.51.0/24 is directly connected, Cellular0
L 10.201.51.2/32 is directly connected, Cellular0
S 10.201.56.24/32 is directly connected, Cellular0
172.20.0.0/16 is variably subnetted, 2 subnets, 2 masks
C 172.20.218.200/30 is directly connected, Tunnel1
L 172.20.218.202/32 is directly connected, Tunnel1
**1-Branch Switch**
ip routing
interface FastEthernet0/1
no switchport
ip address 10.65.17.1 255.255.255.248
interface FastEthernet0/3
switchport access vlan 10
switchport mode access
interface Vlan10
ip address 10.20.11.254 255.255.254.0
ip default-gateway 10.65.17.2
ip classless
ip route 0.0.0.0 0.0.0.0 FastEthernet0/1
**2-Branch Switch**
ip routing
interface FastEthernet0/1
switchport access vlan 11
switchport mode access
interface FastEthernet0/24
no switchport
ip address 10.66.17.1 255.255.255.248
interface Vlan11
ip address 10.30.11.1 255.255.255.0
ip default-gateway 10.66.17.2
ip classless
ip route 0.0.0.0 0.0.0.0 10.66.17.2您的帮助将不胜感激。
谢谢
发布于 2019-06-25 22:01:48
在每个路由器上,您需要指向L3交换机后面的VLAN路由。目前,所有非本地的东西都指向隧道,为没有连接到其中一个路由器的子网创建一个路由循环。
配置静态路由或在所有路由器和L3交换机之间使用路由协议。
另外,将每个路由器配置为另一个路由器的默认网关非常容易地创建一个路由循环。您要么使用不同的路由,要么只使用一个路由器作为另一个路由器的默认网关。通常,那是主要地点的那个。
发布于 2020-11-26 08:11:43
路由器1中的静态路由&路由器2缺少.please,在路由器中添加下面提到的路由,然后尝试从PC1切换到PC2,它应该可以工作。希望..。
IP route destination 10.30.11.0 subnetmask 25&.255.255.0 pointing towards gateway 10.201.51.2
IP route destination 10.20.26.0 subnetmask 255.255.254.0 pointing towards gateway 10.201.51.1
https://networkengineering.stackexchange.com/questions/60055
复制相似问题