您的位置:首页 > 其它

cisco 单臂路由

2009-10-10 12:27 211 查看


R上的配置:
en
conf t
int e0
no ip add
int e0.1
en do 10
ip add 10.10.10.10 255.255.255.0
no sh
int e0.2
en do 20
ip add 20.20.20.20 255.255.255.0
no sh
end
sh run

SW上的配置:
en
vlan dab
vlan 10 name vlan10
vlan 20 name vlan20
end
conf t
int f0/0
sw mode trun
int f0/1
sw mode access
sw access vlan 10
int f0/2
sw mode acce
sw acc vlan 20
end

pc用路由器模拟
pc1:
en
conf t
int e0
ip add 10.10.10.1 255.255.255.0
no sh
end

pc2:
en
conf t
int e0
ip add 20.20.20.1 255.255.255.0
no sh
end

本文出自 “Air” 博客,请务必保留此出处http://0yuan.blog.51cto.com/885790/210760
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: