单臂路由配置失败
Router#sh runBuilding configuration...
!
Version 12.1
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname Router
!
!
!
ip subnet-zero
!
!
!
!
!
!
!
!
interface Serial0/0
no ip address
no ip directed-broadcast
shutdown
!
interface Ethernet0
no ip address
no ip directed-broadcast
!
interface Ethernet0.10
encapsulation dot1q 10
ip address 192.168.10.254 255.255.255.0
!
interface Ethernet0.20
encapsulation dot1q 20
ip address 192.168.20.254 255.255.255.0
!
!
ip classless
no ip http server
!
!
!
!
line con 0
transport input none
line aux 0
line vty 0 4
!
no scheduler allocate
end
==================
Switch#sh run
!
Version 12.1
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname Switch
!
!
!
ip subnet-zero
spanning-tree extend system-id
!
!
!
!
!
!
!
!
interface FastEthernet0/1
switchport access vlan 10
!
interface FastEthernet0/2
switchport access vlan 20
!
interface FastEthernet0/3
!
interface FastEthernet0/4
!
interface FastEthernet0/5
!
interface FastEthernet0/6
!
interface FastEthernet0/7
!
interface FastEthernet0/8
!
interface FastEthernet0/9
!
interface FastEthernet0/10
!
interface FastEthernet0/11
!
interface FastEthernet0/12
switchport mode trunk
!
vtp domain bigdomain
!
interface Vlan 1
no ip address
no ip route-cache
!
vlan 10 name VLAN0010
vlan 20 name VLAN0020
!
ip classless
no ip http server
!
!
!
!
line con 0
transport input none
line aux 0
line vty 0 15
!
no scheduler allocate
end
=======================
C:>ipconfig
HELP
Manipulates ip address for Workstation.
IPCONFIG
/ip Adds the ip address and subnet mask to the workstation
/dg Adds the default gateway to the workstation
Examples:
¢ ipconfig /ip157.1.1.12 255.0.0.0
¢ ipconfig /dg 157.1.1.1
Boson BOSS 5.0 IP Configuration
Ethernet adapter Local Area Connection:
IP Address. . . . . . . . . . . . : 192.168.10.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.10.254
======================
C:>ipconfig
HELP
Manipulates ip address for Workstation.
IPCONFIG
/ip Adds the ip address and subnet mask to the workstation
/dg Adds the default gateway to the workstation
Examples:
¢ ipconfig /ip157.1.1.12 255.0.0.0
¢ ipconfig /dg 157.1.1.1
Boson BOSS 5.0 IP Configuration
Ethernet adapter Local Area Connection:
IP Address. . . . . . . . . . . . : 192.168.20.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.20.254 做的单笔路由器试验,可客户机怎么也ping不通网关和其他vlan的客户端
麻烦大家给参谋参谋
switch划分两个新vlan10:int fa0/1 ---pc1 vlan20:int fa0/2 ---pc2 trunk:int fa0/12 dot1q
router 分了两个子接口:
interface Ethernet0.10
encapsulation dot1q 10
ip address 192.168.10.254 255.255.255.0
interface Ethernet0.20
encapsulation dot1q 20
ip address 192.168.20.254 255.255.255.0
pc1---switch fa0/1
Ethernet adapter Local Area Connection:
IP Address. . . . . . . . . . . . : 192.168.10.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.10.254
pc2---switch fa0/2
IP Address. . . . . . . . . . . . : 192.168.20.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.20.254 Ther configuration is correct. check if there is any phasical failure.
The router will be connected to a switch via a FastEthernet port (or higher).
The router port cannot be a regular Ethernet port, since the router port will need the ability to send and receive data at the same time.
try the lab again with a router which has fastethernet ports. 之前我用的是2600的路由器,只有普通的以太口。做了多次后,一咬牙,换了个4500的路由器,成功了。上次做VTP试验的时候,用pack模拟器的时候总是不成功,后来换做boson,成功了。今天应该是物理端口速率影响的。可,2600却可以配置子接口。能配置却又不行。模拟器还真的只是模拟的! 问题蛮多的~~254应该是广播地址吧~貌似不可做VLAN的默认网关。
看你的 sw trunk 链路的封装写了没?
sw的默认网关也没起~~ 恩我来翻译一下大邹的..
他的意思是叫你换个有FASTETHERNAT接口的路由器
原因是The router port cannot be a regular Ethernet port?
路由端口不能做为正常的以太网口?
不懂拉...反正我理解是交换机是FastEhernet口,的,比路由器的口快
所以通不了,
可以通过设置来调节速度么???我记得好象没学过:) 不能在E0口上做TRUNK....只能在F口或者以上的口上做TRUNK interface Ethernet0.10
encapsulation dot1q 10
ip address 192.168.10.254 255.255.255.0
!
interface Ethernet0.20
encapsulation dot1q 20
ip address 192.168.20.254 255.255.255.0
!
--------------、
---------------- 做单臂是不能用以太网。。。。。。。
[ 本帖最后由 Power 于 2008-5-17 12:28 编辑 ] 单臂路由要求最低为100Mbps 原帖由 Alienrock 于 2008-5-15 15:05 发表 http://bbs.spoto.net/images/common/back.gif
Ther configuration is correct. check if there is any phasical failure.
The router will be connected to a switch via a FastEthernet port (or higher).
The router port cannot be a regular Ethernet ...
-- -- --
页:
[1]
2