QQ_6186A1 发表于 2016-1-2 10:48:24

新人求教

如题:一、 从交换机A下发路由数据到交换机B,电信和联通分开端口。IP段一:121.10.140.0/24、58.253.71.64/26,vlan10IP段二:125.90.93.128/25、221.5.43.192/27,vlan20SW1:interface Vlanif10 ip address 121.10.140.1 255.255.255.0 ip address 58.253.71.65 255.255.255.192 sub#interface Vlanif20 ip address 125.90.93.129 255.255.255.128 ip address 221.5.43.193 255.255.255.224 sub#interface Vlanif30 ip address 192.168.1.1 255.255.255.252#interface Vlanif40 ip address 192.168.2.1 255.255.255.252#interface MEth0/0/1#interface Ethernet0/0/1 port link-type access port default vlan 10#interface Ethernet0/0/2 port link-type access port default vlan 20
interface GigabitEthernet0/0/1 port link-type access port default vlan 30#interface GigabitEthernet0/0/2 port link-type access port default vlan 40#interface NULL0#ip route-static 0.0.0.0 0.0.0.0 192.168.1.2

SW2:interface Vlanif10 ip address 121.10.140.1 255.255.255.0 ip address 58.253.71.65 255.255.255.192 sub#interface Vlanif20 ip address 125.90.93.129 255.255.255.128 ip address 221.5.43.193 255.255.255.224 sub#interface Vlanif30 ip address 192.168.1.2 255.255.255.252#interface Vlanif40 ip address 192.168.2.2 255.255.255.252#interface MEth0/0/1#interface Ethernet0/0/1 port link-type access port default vlan 10#interface Ethernet0/0/2 port link-type access port default vlan 20
interface GigabitEthernet0/0/1 port link-type access port default vlan 30#interface GigabitEthernet0/0/2 port link-type access port default vlan 40#interface NULL0#ip route-static 0.0.0.0 0.0.0.0 192.168.1.1现在 我在 左侧 CL1设置IP121.10.140.3 右侧 CL2设置58.253.71.66 不管是指定路由还是静态 都无法使他们通信 麻烦各位大神查看

slsl 发表于 2016-1-2 16:00:51

本帖最后由 slsl 于 2016-1-2 16:02 编辑

把 SW2:
interface Vlanif10
ip address 121.10.140.1 255.255.255.0
ip address 58.253.71.65 255.255.255.192 sub   删掉
sw2 的 interface GigabitEthernet0/0/1和 sw1的 interface GigabitEthernet0/0/1
port link-type access
port default vlan 10


我觉得这样是最简单的,把SW2直接当成2层交换机用。

Rockyw 发表于 2016-1-3 10:04:30

抓包看看是在哪中断通信的

金海 发表于 2016-1-7 14:10:58

两边不能用同样的地址段吧,这样规划不行。
页: [1]
查看完整版本: 新人求教