如题:一、 从交换机A下发路由数据到交换机B,电信和联通分开端口。IP段一:121.10.140.0/24、58.253.71.64/26,vlan10 IP段二:125.90.93.128/25、221.5.43.192/27,vlan20 SW1: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 不管是指定路由还是静态 都无法使他们通信 麻烦各位大神查看
|