欢迎访客 ( 登陆 | 注册 )

论坛索引 | 最新主题 | 热门主题 | 搜索论坛 | 成员列表 | 在线帮助

 
4506配置问题?-----------急
« 上一篇主题 | 下一篇主题 » 跟踪主题 | 邮寄主题 | 打印主题
  bbs007 离线
  1. 4506配置问题?-----------急
HP : 0 / 357
MP : 89 / 5448
EXP : 31%
名动江湖


成员等级: 15
发表总数: 268
金币总数: 665
所属组别: 中级成员
注册日期: 2003/10/25

配置如下:

Building configuration...

Current configuration : 2700 bytes
!
version 12.2
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
service compress-config
!
hostname Switch
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
vtp domain ''
vtp mode transparent
ip subnet-zero
!
ip dhcp pool vlan30
network 192.168.2.0 255.255.255.0
default-router 192.168.2.1
lease infinite
!
ip dhcp pool vlan10
network 192.168.0.0 255.255.255.0
default-router 192.168.0.1 255.255.255.0
lease infinite
!
!
no file verify auto
spanning-tree mode pvst
spanning-tree extend system-id
power redundancy-mode redundant
!
!
!
vlan internal allocation policy ascending
!
vlan 10,20,30
!
interface GigabitEthernet1/1
!
interface GigabitEthernet1/2
!
interface GigabitEthernet2/1
switchport access vlan 10
switchport mode access
!
interface GigabitEthernet2/2
switchport access vlan 20
switchport mode access
!
interface GigabitEthernet2/3
switchport access vlan 30
switchport mode access
ip arp inspection trust
!
interface GigabitEthernet2/4
!
interface GigabitEthernet2/5
!
interface GigabitEthernet2/6
!
interface GigabitEthernet2/7
!
interface GigabitEthernet2/8
!
interface GigabitEthernet2/9
!
interface GigabitEthernet2/10
!
interface GigabitEthernet2/11
!
interface GigabitEthernet2/12
!
interface GigabitEthernet2/13
!
interface GigabitEthernet2/14
!
interface GigabitEthernet2/15
!
interface GigabitEthernet2/16
!
interface GigabitEthernet2/17
!
interface GigabitEthernet2/18
!
interface GigabitEthernet2/19
!
interface GigabitEthernet2/20
!
interface GigabitEthernet2/21
!
interface GigabitEthernet2/22
!
interface GigabitEthernet2/23
!
interface GigabitEthernet2/24
!
interface GigabitEthernet3/1
!
interface GigabitEthernet3/2
!
interface GigabitEthernet3/3
!
interface GigabitEthernet3/4
!
interface GigabitEthernet3/5
!
interface GigabitEthernet3/6
!
interface GigabitEthernet3/7
!
interface GigabitEthernet3/8
!
interface GigabitEthernet3/9
!
interface GigabitEthernet3/10
!
interface GigabitEthernet3/11
!
interface GigabitEthernet3/12
!
interface GigabitEthernet3/13
!
interface GigabitEthernet3/14
!
interface GigabitEthernet3/15
!
interface GigabitEthernet3/16
!
interface GigabitEthernet3/17
!
interface GigabitEthernet3/18
!
interface GigabitEthernet3/19
!
interface GigabitEthernet3/20
!
interface GigabitEthernet3/21
!
interface GigabitEthernet3/22
!
interface GigabitEthernet3/23
!
interface GigabitEthernet3/24
!
interface Vlan1
!
interface Vlan10
ip address 192.168.0.1 255.255.255.0
!
interface Vlan20
ip address 192.168.1.1 255.255.255.0
!
interface Vlan30
ip address 192.168.2.1 255.255.255.0
!
no ip http server
!
!
!
!
!
line con 0
stopbits 1
line vty 0 4
!
!
end

GigabitEthernet2/3端口接入一台PC,PC能通过dns获取ip地址,但就不能ping通GigabitEthernet2/3的接口地址。
且交换机内部,做ping测试,即192.168.0.1 ping192.168.2.1 都无法ping通!这是咋回事儿?

麦子老大们,帮帮忙,问题很菜,却很要人命!!


------------不懂就问,不怕不懂,就怕装懂!!
发表于2006/10/31, 21:40
     Top
  bbs007 离线
2. Re:4506配置问题?-----------急
HP : 0 / 357
MP : 89 / 5448
EXP : 31%
名动江湖


成员等级: 15
发表总数: 268
金币总数: 665
所属组别: 中级成员
注册日期: 2003/10/25

没人来!!!顶一下!


------------不懂就问,不怕不懂,就怕装懂!!
发表于2006/11/1, 07:59
     Top
  麦子 离线
3. Re:4506配置问题?-----------急
HP : 250 / 1254
MP : 1625 / 21993
EXP : 16%
迟则生变


成员等级: 51
发表总数: 4877
金币总数: 308
所属组别: 管理员
注册日期: 2003/01/9

show inter g2/3
show inter vlan 30
show ip route
show log

应该用命令ip dhcp excluded-address 192.168.2.1 ... 把4506本身用的IP地址排除在DHCP 范围之外。
先关掉 ip arp inspection trust试试。
建议配置vtp password







user posted image
没有谁能像一座孤岛/在大海里独踞/每个人都像一块小小的泥土/连接成整个陆地/如果一块泥土被海水冲去/欧洲将缺其一隅/这如同一座山岬/也如同你的朋友和你自己/无论谁死了/都是自己的一部分在死去/因为我包含在人类这个概念里/因此我从不问丧钟为谁而鸣/它为我,也为你
No man is an Island, entire of itself; every man is a piece of the Continent, a part of the main; if a clod be washed away by the sea, Europe is the less, as well as if a promontory were, as well as if a man or of thy friends or of thine own were; any man's death diminishes me, because I am involved in Mankind; And therefore never send to know for whom the bell tolls; It tolls for thee.
发表于2006/11/1, 08:05
          Top
  bbs007 离线
4. Re:4506配置问题?-----------急
HP : 0 / 357
MP : 89 / 5448
EXP : 31%
名动江湖


成员等级: 15
发表总数: 268
金币总数: 665
所属组别: 中级成员
注册日期: 2003/10/25

非常感谢麦子老大。现在的情况如下:
今天早上相同的配置,又能ping通了!而且分属不同vlan的pc也能ping通(如:PC1、192.168.0.100能ping 通PC2、192.168.2.100)但ping设备接口地址,如192.168.0.100 ping 192.168.0.1却不能相通。难道现在的ios默认禁用了ICMP?


------------不懂就问,不怕不懂,就怕装懂!!
发表于2006/11/1, 09:35
     Top
主题评分
未评分. 匿名用户无权对主题进行评分
0 名会员正在浏览该主题 (0 名游客 和 0 名隐身会员)
0 名会员:
有 3 篇回复自 2006/10/31, 21:40 跟踪主题 | 邮寄主题 | 打印主题

<< Back to 网络世界

 




Powered by PhoenixBBS v1.2 © 2000-2003  NetBuddy.Org