3560 做的vlan,各vlan间主机ping不通
3560#sh runBuilding configuration... Current configuration : 3372 bytes!version 12.2no service padservice timestamps debug uptimeservice timestamps log uptimeno service password-encryption!hostname 3560!enable secret 5 $1$QUaH$5L4Ie3rOAFjAzcNIv1Atl/enable password cisco!no aaa new-modelip subnet-zeroip routingip dhcp excluded-address 192.168.100.1ip dhcp excluded-address 192.168.90.1ip dhcp excluded-address 192.168.80.1!ip dhcp pool vlan100network 192.168.100.0 255.255.255.0
dns-server 192.168.100.254
default-router 192.168.100.1!ip dhcp pool vlan90
network 192.168.90.0 255.255.255.0
dns-server 192.168.100.254
default-router 192.168.90.1!ip dhcp pool vlan80
network 192.168.80.0 255.255.255.0
dns-server 192.168.100.254
default-router 192.168.80.1!!!!no file verify autospanning-tree mode pvstspanning-tree extend system-id!vlan internal allocation policy **ending!interface GigabitEthernet0/1
switchport access vlan 100
spanning-tree portfast!interface GigabitEthernet0/2
switchport access vlan 100
spanning-tree portfast!interface GigabitEthernet0/3
switchport access vlan 100
spanning-tree portfast!interface GigabitEthernet0/4
switchport access vlan 100
spanning-tree portfast!interface GigabitEthernet0/5
switchport access vlan 100
spanning-tree portfast!interface GigabitEthernet0/6
switchport access vlan 100
spanning-tree portfast!interface GigabitEthernet0/7
switchport access vlan 100
spanning-tree portfast!interface GigabitEthernet0/8
switchport access vlan 100
spanning-tree portfast! interface GigabitEthernet0/9
switchport access vlan 100
spanning-tree portfast!interface GigabitEthernet0/10
switchport access vlan 100
spanning-tree portfast!interface GigabitEthernet0/11
switchport access vlan 90
spanning-tree portfast!interface GigabitEthernet0/12
switchport access vlan 90
spanning-tree portfast!interface GigabitEthernet0/13
switchport access vlan 90
spanning-tree portfast!interface GigabitEthernet0/14
switchport access vlan 90
spanning-tree portfast!interface GigabitEthernet0/15
switchport access vlan 90
spanning-tree portfast!。。。。。。
interface GigabitEthernet0/23
spanning-tree portfast!interface GigabitEthernet0/24
no switchport
ip address 192.168.200.2 255.255.255.0!interface GigabitEthernet0/25!interface GigabitEthernet0/26!interface GigabitEthernet0/27!interface GigabitEthernet0/28!interface Vlan1
ip address 192.168.1.1 255.255.255.0!interface Vlan80
ip address 192.168.80.1 255.255.255.0!interface Vlan90
ip address 192.168.90.1 255.255.255.0!interface Vlan100
ip address 192.168.100.1 255.255.255.0!ip classlessip route 0.0.0.0 0.0.0.0 192.168.200.1no ip http server!access-list 10 permit any!control-plane!!line con 0
password ciscoaee
loginline vty 0 4
password ciscoaee
loginline vty 5 15
no login!end 发个show ip route看看~~~
很有可能是ip routing没打。 C 192.168.80.0/24 is directly connected,VLAN80
C 192.168.90.0/24 is directly connected,VLAN90
C 192.168.100.0/24 is directly connected,VLAN100
ip routing也设置过了,我贴上去的配置是从机器上TFTP下来的 你自己最好简单的画一下拓扑。! -- -- -- 先顶一下哦。高手支持一下哦。 学习ing -- 好长呀-- ~~顶先~~ 9494 .....没图好难找出毛病
页:
[1]