雏鹰部落

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 3975|回复: 8

[讨论/求助] 3560 做的vlan,各vlan间主机ping不通

[复制链接]
发表于 2008-9-26 20:51:10 | 显示全部楼层 |阅读模式
3560#sh run
Building configuration...
Current configuration : 3372 bytes
!
version 12.2
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname 3560
!
enable secret 5 $1$QUaH$5L4Ie3rOAFjAzcNIv1Atl/
enable password cisco
!
no aaa new-model
ip subnet-zero
ip routing
ip dhcp excluded-address 192.168.100.1
ip dhcp excluded-address 192.168.90.1
ip dhcp excluded-address 192.168.80.1
!
ip dhcp pool vlan100

network 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 auto
spanning-tree mode pvst
spanning-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
!
 楼主| 发表于 2008-9-26 20:51:49 | 显示全部楼层
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 classless
ip route 0.0.0.0 0.0.0.0 192.168.200.1
no ip http server
!
access-list 10 permit any
!
control-plane
!
!
line con 0

password ciscoaee

login
line vty 0 4

password ciscoaee

login
line vty 5 15

no login
!
end
发表于 2008-9-26 21:37:06 | 显示全部楼层
发个show ip route看看~~~
很有可能是ip routing没打。
 楼主| 发表于 2008-9-27 11:41:55 | 显示全部楼层
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下来的
发表于 2008-9-27 17:31:02 | 显示全部楼层
你自己最好简单的画一下拓扑。!
发表于 2008-9-27 23:22:01 | 显示全部楼层
先顶一下哦。高手支持一下哦。
发表于 2008-9-28 20:34:56 | 显示全部楼层
学习ing
发表于 2008-9-30 20:12:55 | 显示全部楼层
好长呀 ~~顶先~~
发表于 2009-12-1 12:30:58 | 显示全部楼层
9494 .....没图好难找出毛病
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|熊猫同学技术论坛|小黑屋| 网络工程师论坛 ( 沪ICP备09076391 )

GMT+8, 2024-12-23 22:02 , Processed in 0.094655 second(s), 19 queries , Gzip On.

快速回复 返回顶部 返回列表