公司网络规划答案
switch:
en
vlan database
vlan 2 name vlan2
vlan 3 name vlan3
vlan 4 name vlan4
vlan 5 name vlan5
vlan 6 name vlan6
crl+z
en
conf t
int fa0/2
switchport access vlan 2
int fa0/3
吴忠旅游景点大全switchport access vlan 3
int fa0/4
switchport access vlan 4
int fa0/5
switchport access vlan 5
int fa0/6
switchport access vlan 6
int fa0/7
switchport mode trunk
switchport trunk encapsulation
pc1:  192.168.1.2 255.255.255.0
pc2:  192.168.2.2 255.255.255.0
pc3:  192.168.3.2 255.255.255.0
pc4:  192.168.4.2 255.255.255.0
pc5:  192.168.5.2 255.255.255.0
pc6:  192.168.6.2 255.255.255.0
全网子网掩码/24
vlan划分部分
route:  en
conf t
int e0/0.1
encapsulation isl vlan 1
ip add 192.168.1.1 255.255.255.0
no shut
int e0/0.2
encapsulation isl vlan 2
ip add 192.168.2.1 255.255.255.0
no shut
int e0/0.3
encapsulation isl vlan 3
金文声
ip add 192.168.3.1 255.255.255.0
no shut
int e0/0.4
encapsulation isl vlan 4
ip add 192.168.4.1 255.255.255.0
no shut
int e0/0.5
encapsulation isl vlan 5
ip add 192.168.5.1 255.255.255.0
no shut
int e0/0.6
encapsulation isl vlan 6
ip add 192.168.6.1 255.255.255.0
no shut
防火墙部分
route:
en
conf t
access-list 101 deny tcp 192.168.1.2 0.0.0255 any established
permit tcp any any established
access-list102 permit ip 192.168.1.2 0.0.0.255 192.168.2.1 0.0.4.255
空调自动开机access-list103 permit ip 192.168.2.2 0.0.0.255 192.168.1.2 0.0.0.255
deny ip192.168.2.2 0 0.0.255 192.168.3.2 0.0.4.255
access-list 104 permit ip 192.168.3.2 0.0.0.255 192.168.1.2 0.0.0.255
deny ip 192.168.3.2 0.0.0.255 192.168.4.2 0.0.3.255.
deny ip 192.168.3.2 0.0.0.255 192.168.2.2 0.0.0.255
acces-list 105 permit ip 192.168.4.2 0.0.0.255 192.168.1.2 0.0.0.255
deny ip 192.168.4.2 0.0.0.255 192.168.5.2 0.0.2.255
deny ip 192.168.4.2 0.0.0.255 192.168.2.2 0.0.2.255
access-list 106 permit ip 192.168.5.2 0.0.0.255 192.168.1.2 0.0.0.255
deny ip 192.168.5.2 0.0.0.255 192.168.2.1 0.0.3.255
deny ip 192.168.5.2 0.0.0.255 192.168.6.2 0.0.0.255
access-list 107 permit ip 192.168.6.2 0.0.0.255 192.168.1.2 0.0.0.255
圆通快递查询订单号deny ip 192.168.6.2 0.0.0.255 192.168.2.2.1 0.0.4.255
int e0/0.1
ip access-group 101
ip access-group 102 in
int e0/0.2
ip access-group 101
ip access-group 103 in
int e0/0.3
ip access-group 101
ip access-group 104 in
int e0/0.4
ip access-group 101
ip access-group 105 in
int e0/0.5
int access-group 101   
int access-group 106 in
int e0/0.6
int access-group 101
int access-group 107 in
OSPF路由协议配置答案
配置步骤:
Router1:
en
conf t
host R1
int e
  ip add 2.2.2.1 255.255.255.0   
no shut
Ip ospf message-digest-key 1 md5 cisco
exit
int e 
ip add 5.5.5.1 255.255.255.0 
no shut
ip ospf message-digest-key 1 md5 cisco
exit
int lo1
ip add 1.1.1.1 255.255.255.0
exit
router ospf 100
net 2.2.2.0 0.0.0.255 area 0
net 5.5.5.0 0.0.0.255 area 0
area 0 authentication message-digest
Router2:
en
conf t
host R2
int e1 
ip add 2.2.2.2 255.255.255.0       
no shut
ip ospf message-digest-key 1 md5 cisco
阴阴夏木啭黄鹂的上一句是什么
exit
inte0     
ip add 3.3.3.1 255.255.255.0     
ip ospf message-digest-key 1 md5 cisco
no shut
exit
int e2
ip add 6.6.6.2 255.255.255.0
exit
route ospf 100
default-information originate
exit
ip route 0.0.0.0 0.0.0.0 3.3.3.2    /*添加缺省路由*/
router ospf 100
net 2.2.2.1 0.0.0.0 area 0
net 3.3.3.0 0.0.0.255 area 0
net 6.6.6.1 0.0.0.0 area 0
area 0 authentication message-digest
Router3:
en
conf t
host R3
int e1     
ip add 3.3.3.2 255.255.255.0   
no shut
ip ospf message-digest-key 1 md5 cisco
exit
int lo1
ip add 4.4.4.1 255.255.255.0
exit
router ospf 100
net 3.3.3.1 0.0.0.0 area 0
area 0 authentication message-digest
Router4:
en
conf t
host R4
int se0     
ip add 5.5.5.2 255.255.255.0     
no shut
ip ospf message-digest-key 1 md5 cisco
exit
int e1
ip add 6.6.6.1 255.255.255.0
no shut
clock rate 56000
ip ospf message-digest-key 1 md5 cisco
exit
router ospf 100
net 5.5.5.1 0.0.0.0 area 0
net 6.6.6.0 0.0.0.255 area 0
area 0 authentication message-digest
EIGRP路由协议   
步骤:en                                  //对路由器一进行设置
conf  t                             
host R1                              //配置路由器一名称
en pass cisco                          //配置登陆密码
王亦丰int e0/0                             
ip add 1.1.1.1 255.255.255.0
no shut
ip summary-address eigrp 200 2.2.8.0 255.255.248.0  int lo1
ip add 2.2.9.1 255.255.255.0            //设置5个环回口代替pc机
int lo2
ip add 2.2.10.1 255.255.255.0