航天恒星系统集成项目组
項目拓撲:
項目背景:
航天恒星科技股份有限公司是由中國空間技術研究院(五院)控股的衛星應用高科技股份公司,注冊資本1.37億元。公司是中國空間技術研究院衛星應用的總體單位與產業化發展平臺,承擔著背景型號天地一體化系統論證、地面應用系統開發,也是中國空間技術研究院衛星應用產品研發、制造中心和市場拓展平臺。主要業務領域包括衛星地面綜合應用、衛星導航、衛星遙感和圖像傳輸、衛星通信與廣播電視傳輸。
航天恒星科技股份有限公司 (西安分部)
地 址:西安市高新區錦業路70號
郵 編:710065
項目要求:
1. 辦公大樓部分
a:VLAN 的劃分 技術部—vlan 2 財務部—vlan 3 市場部—vlan 4 VLAN1(移動設備)
b:VLAN 在三層交換機上路由
c:三層交換機學習路由器R1的路由采用RIP協議
d:做好遠程管理工作
2.網絡管理中心實現本單位的網絡管理工作
3.服務器機房,主要存放單位的網站服務器和其他服務器
4.R3默認路由指向網絡出口R4; R4靜態路由連接內網
5.生產車間接入網絡
6.網站海外部(外貿部)接入網絡 (使用無線網絡)提高移動辦公能力
7.早期辦公樓接入網絡,使用RIP協議。
8.R4光纖外部接入:10M
項目過程:
1、給PC:技術部--vlan 2 財務部--vlan 3 市場部--vlan 4 VLAN1(移動設備)
192.168.1.0-192.168.4.0
2、VLAN
核心交換機的配置:
Server:
Switch>enable
Switch#vlan database
% Warning: It is recommended to configure VLAN from config mode,
as VLAN database mode is being deprecated. Please consult user
documentation for configuring VTP/VLAN in config mode.
Switch(vlan)#vlan 2 name jishubu
VLAN 2 modified:
Name: jishubu
Switch(vlan)#vlan 3 name caiwubu
VLAN 3 modified:
Name: caiwubu
Switch(vlan)#vlan 4 name shichangbu
VLAN 4 modified:
Name: shichangbu
Switch(vlan)#vtp domain zghx
Changing VTP domain name from NULL to zghx
Switch(vlan)#vtp password 123
Setting device VLAN database password to 123
Switch(vlan)#vtp server
Device mode already VTP SERVER.
Switch(vlan)#exit
APPLY completed.
Exiting....
Switch#confi t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#int fa0/2
Switch(config-if)#switchport mode trunk
Command rejected: An interface whose trunk encapsulation is "Auto" can not be configured to "trunk" mode.
Switch(config-if)#int fa0/3
Switch(config-if)#switchport mode trunk
Command rejected: An interface whose trunk encapsulation is "Auto" can not be configured to "trunk" mode.
Switch(config-if)#exit
Switch(config)#int fa0/1
Switch(config-if)#swit acc vlan 2
Switch(config-if)#int fa0/4
Switch(config-if)#swit acc vlan 2
Switch(config-if)#int fa0/6
Switch(config-if)#swit acc vlan 3
Switch(config-if)#int fa0/7
Switch(config-if)#swit acc vlan 4
Switch(config-if)#exit
Switch(config)#
Switch(config)#int fa0/5
Switch(config-if)#no switchport
Switch(config-if)#ip address 192.168.5.1 255.255.255.0
Switch(config-if)#no shut
Switch(config-if)#int vlan 1
Switch(config-if)#ip address 192.168.1.254 255.255.255.0
Switch(config-if)#no shut
%LINK-5-CHANGED: Interface Vlan1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to up
Switch(config-if)#int vlan 2
%LINK-5-CHANGED: Interface Vlan2, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan2, changed state to up
Switch(config-if)#ip address 192.168.2.254 255.255.255.0
Switch(config-if)#int vlan 3
%LINK-5-CHANGED: Interface Vlan3, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan3, changed state to up
Switch(config-if)#ip address 192.168.3.254 255.255.255.0
Switch(config-if)#no shut
Switch(config-if)#int vlan 4
%LINK-5-CHANGED: Interface Vlan4, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan4, changed state to up
Switch(config-if)#ip address 192.168.4.254 255.255.255.0
Switch(config-if)#no shut
Switch(config-if)#exit
Switch(config)#
Switch(config)#
Switch(config)#router rip
Switch(config-router)#network 192.168.1.0
Switch(config-router)#network 192.168.2.0
Switch(config-router)#network 192.168.3.0
Switch(config-router)#network 192.168.4.0
Switch(config-router)#network 192.168.5.0
Switch(config-router)#end
Switch#write
Building configuration...
[OK]
Switch#
switch2 :
Switch>enable
Switch#vlan database
% Warning: It is recommended to configure VLAN from config mode,
as VLAN database mode is being deprecated. Please consult user
documentation for configuring VTP/VLAN in config mode.
Switch(vlan)#vtp domain zghx
Domain name already set to zghx.
Switch(vlan)#vtp client
Device mode already VTP CLIENT.
Switch(vlan)#vtp password 123
Password already set to 123
Switch(vlan)#exit
APPLY completed.
Exiting....
Switch#config t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#int fa0/1
Switch(config-if)#switchport mode trunk
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to down
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up
Switch(config-if)#exit
Switch(config)#int fa0/2
Switch(config-if)#switchport access vlan 4
Switch(config-if)#int fa0/3
Switch(config-if)#switchport access vlan 3
Switch(config-if)#end
%SYS-5-CONFIG_I: Configured from console by console
Switch#write
Building configuration...
[OK]
Switch#
switch3 :
Switch>enable
Switch#vlan database
% Warning: It is recommended to configure VLAN from config mode,
as VLAN database mode is being deprecated. Please consult user
documentation for configuring VTP/VLAN in config mode.
Switch(vlan)#vtp domain zghx
Domain name already set to zghx.
Switch(vlan)#vtp client
Device mode already VTP CLIENT.
Switch(vlan)#vtp password 123
Password already set to 123
Switch(vlan)#exit
APPLY completed.
Exiting....
Switch#config t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#int fa0/1
Switch(config-if)#switchport mode trunk
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to down
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up
Switch(config-if)#int fa0/2
Switch(config-if)#switchport access vlan 4
Switch(config-if)#int fa0/3
Switch(config-if)#switchport access vlan 2
Switch(config-if)#end
Switch#write
Building configuration...
[OK]
Switch#
路由器的配置:
R1 :
Router>enable
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname R1
R1(config)#int fa0/0
R1(config-if)#ip address 192.168.5.2 255.255.255.0
R1(config-if)#no shutdown
R1(config-if)#int s0/0/0
R1(config-if)#clock rate 56000
R1(config-if)#ip address 192.168.6.1 255.255.255.0
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
R1(config-if)#no shut
%LINK-5-CHANGED: Interface Serial0/0/0, changed state to down
R1(config-if)#router rip
R1(config-router)#net 192.168.5.0
R1(config-router)#net 192.168.6.0
R1(config-router)#end
%SYS-5-CONFIG_I: Configured from console by console
R1#write
Building configuration...
[OK]
R1#
R2 :
Router>enable
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#host R2
R2(config)#int s0/0/1
R2(config-if)#ip address 192.168.6.2 255.255.255.0
R2(config-if)#no shut
%LINK-5-CHANGED: Interface Serial0/0/1, changed state to up
R2(config-if)#int s0/0/0
R2(config-if)#ip address 192.168.8.1 255.255.255.0
R2(config-if)#clock rate 56000
R2(config-if)#no shut
%LINK-5-CHANGED: Interface Serial0/0/0, changed state to down
R2(config-if)#int fa0/0
R2(config-if)#ip address 192.168.7.254 255.255.255.0
R2(config-if)#no shut
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
R2(config-if)#exit
R2(config)#
R2(config)#router rip
R2(config-router)#net 192.168.6.0
R2(config-router)#net 192.168.7.0
R2(config-router)#red eigrp 200 metric 3
R2(config-router)#exit
R2(config)#router eigrp 200
R2(config-router)#net 192.168.8.0
R2(config-router)#red rip metric 1544 20000 255 1 1500
R2(config-router)#end
%SYS-5-CONFIG_I: Configured from console by console
R2#write
Building configuration...
[OK]
R2#
R3 :
Router>enable
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#host R3
R3(config)#int fa0/0
R3(config-if)#ip address 192.168.10.254 255.255.255.0
R3(config-if)#no shut
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
R3(config-if)#int fa0/1
R3(config-if)#ip address 192.168.11.254 255.255.255.0
R3(config-if)#no shut
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up
R3(config-if)#exit
R3(config)#int s0/0/0
R3(config-if)#ip address 192.168.9.1 255.255.255.0
R3(config-if)#clock rate 56000
R3(config-if)#no shut
%LINK-5-CHANGED: Interface Serial0/0/0, changed state to down
R3(config-if)#exit
R3(config)#ip route 0.0.0.0 0.0.0.0 192.168.9.2
R3(config)#end
%SYS-5-CONFIG_I: Configured from console by console
R3#write
Building configuration...
[OK]
R3#
R4 :
Router>enable
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#host R4
R4(config)#int s0/0/1
R4(config-if)#ip address 192.168.8.2 255.255.255.0
R4(config-if)#no shut
%LINK-5-CHANGED: Interface Serial0/0/1, changed state to up
R4(config-if)#int s0/0/0
R4(config-if)#ip address 192.168.12.1 255.255.255.0
R4(config-if)#clock rate 56000
R4(config-if)#no shut
%LINK-5-CHANGED: Interface Serial0/0/0, changed state to up
R4(config-if)#int s0/1/0
R4(config-if)#ip address 192.168.9.2 255.255.255.0
R4(config-if)#no shut
%LINK-5-CHANGED: Interface Serial0/1/0, changed state to up
R4(config-if)#exit
R4(config)#int fa1/0
R4(config-if)#no shutdown
%LINK-5-CHANGED: Interface FastEthernet1/0, changed state to up
R4(config-if)#e
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0, changed state to up
xit
R4(config)#int fa0/0
R4(config-if)#no shutdown
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
R4(config-if)#exit
R4(config)#router eigrp 200
R4(config-router)#net 192.168.8.0 0.0.0.255
R4(config-router)#net 192.168.12.0 0.0.0.255
R4(config-router)#net 192.168.9.0 0.0.0.255
R4(config-router)#redistribute static
R4(config-router)#exit
R4(config)#ip route 192.168.10.0 255.255.255.0 192.168.9.1
R4(config)#ip route 192.168.11.0 255.255.255.0 192.168.9.1
R4(config)#ip route 0.0.0.0 0.0.0.0 fa1/0 10
R4(config)#ip route 0.0.0.0 0.0.0.0 fa0/0 20
R4(config)#end
R4#write
Building configuration...
[OK]
R4#
R5 :
Router>enable
Router#confi t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#host R5
R5(config)#int s0/0/1
R5(config-if)#ip address 192.168.12.2 255.255.255.0
R5(config-if)#no shut
%LINK-5-CHANGED: Interface Serial0/0/1, changed state to down
R5(config-if)#int fa0/0
R5(config-if)#ip address 192.168.13.254 255.255.255.0
R5(config-if)#no shut
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
R5(config-if)#int fa0/1
R5(config-if)#ip address 192.168.16.254 255.255.255.0
R5(config-if)#no shut
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up
R5(config-if)#exit
R5(config)#router eigrp 200
R5(config-router)#net 192.168.16.0 0.0.0.255
R5(config-router)#net 192.168.13.0 0.0.0.255
R5(config-router)#net 192.168.12.0 0.0.0.255
R5(config-router)#end
R5#write
Building configuration...
[OK]
R5#
%SYS-5-CONFIG_I: Configured from console by console
R5#
網絡環境已經搭建好了,下面我們開始測試網絡環境的連通性:
首先,查看路由表 :
Switch#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
Gateway of last resort is not set
C 192.168.1.0/24 is directly connected, Vlan1
C 192.168.2.0/24 is directly connected, Vlan2
C 192.168.3.0/24 is directly connected, Vlan3
C 192.168.4.0/24 is directly connected, Vlan4
C 192.168.5.0/24 is directly connected, FastEthernet0/5
R 192.168.6.0/24 [120/1] via 192.168.5.2, 00:00:16, FastEthernet0/5
R 192.168.7.0/24 [120/2] via 192.168.5.2, 00:00:16, FastEthernet0/5
R 192.168.8.0/24 [120/3] via 192.168.5.2, 00:00:16, FastEthernet0/5
R 192.168.9.0/24 [120/3] via 192.168.5.2, 00:00:16, FastEthernet0/5
R 192.168.10.0/24 [120/3] via 192.168.5.2, 00:00:16, FastEthernet0/5
R 192.168.11.0/24 [120/3] via 192.168.5.2, 00:00:16, FastEthernet0/5
R 192.168.12.0/24 [120/3] via 192.168.5.2, 00:00:16, FastEthernet0/5
R 192.168.13.0/24 [120/3] via 192.168.5.2, 00:00:16, FastEthernet0/5
R 192.168.16.0/24 [120/3] via 192.168.5.2, 00:00:16, FastEthernet0/5
Switch#
R1#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
Gateway of last resort is not set
R 192.168.1.0/24 [120/1] via 192.168.5.1, 00:00:17, FastEthernet0/0
R 192.168.2.0/24 [120/1] via 192.168.5.1, 00:00:17, FastEthernet0/0
R 192.168.3.0/24 [120/1] via 192.168.5.1, 00:00:17, FastEthernet0/0
R 192.168.4.0/24 [120/1] via 192.168.5.1, 00:00:17, FastEthernet0/0
C 192.168.5.0/24 is directly connected, FastEthernet0/0
C 192.168.6.0/24 is directly connected, Serial0/0/0
R 192.168.7.0/24 [120/1] via 192.168.6.2, 00:00:26, Serial0/0/0
R 192.168.8.0/24 [120/3] via 192.168.6.2, 00:03:06, Serial0/0/0
R 192.168.9.0/24 [120/3] via 192.168.6.2, 00:02:58, Serial0/0/0
R 192.168.10.0/24 [120/3] via 192.168.6.2, 00:02:58, Serial0/0/0
R 192.168.11.0/24 [120/3] via 192.168.6.2, 00:02:58, Serial0/0/0
R 192.168.12.0/24 [120/3] via 192.168.6.2, 00:02:57, Serial0/0/0
R 192.168.13.0/24 [120/3] via 192.168.6.2, 00:02:57, Serial0/0/0
R 192.168.16.0/24 [120/3] via 192.168.6.2, 00:02:57, Serial0/0/0
R1#
R2#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
Gateway of last resort is not set
R 192.168.1.0/24 [120/2] via 192.168.6.1, 00:00:03, Serial0/0/1
R 192.168.2.0/24 [120/2] via 192.168.6.1, 00:00:03, Serial0/0/1
R 192.168.3.0/24 [120/2] via 192.168.6.1, 00:00:03, Serial0/0/1
R 192.168.4.0/24 [120/2] via 192.168.6.1, 00:00:03, Serial0/0/1
R 192.168.5.0/24 [120/1] via 192.168.6.1, 00:00:03, Serial0/0/1
C 192.168.6.0/24 is directly connected, Serial0/0/1
C 192.168.7.0/24 is directly connected, FastEthernet0/0
C 192.168.8.0/24 is directly connected, Serial0/0/0
D 192.168.9.0/24 [90/2681856] via 192.168.8.2, 00:03:32, Serial0/0/0
R 192.168.10.0/24 [120/3] via 192.168.8.2, 00:03:32, Serial0/0/0
R 192.168.11.0/24 [120/3] via 192.168.8.2, 00:03:32, Serial0/0/0
D 192.168.12.0/24 [90/2681856] via 192.168.8.2, 00:03:32, Serial0/0/0
D 192.168.13.0/24 [90/2684416] via 192.168.8.2, 00:03:32, Serial0/0/0
D 192.168.16.0/24 [90/2684416] via 192.168.8.2, 00:03:32, Serial0/0/0
R2#
R3#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
Gateway of last resort is 192.168.9.2 to network 0.0.0.0
C 192.168.9.0/24 is directly connected, Serial0/0/0
C 192.168.10.0/24 is directly connected, FastEthernet0/0
C 192.168.11.0/24 is directly connected, FastEthernet0/1
S* 0.0.0.0/0 [1/0] via 192.168.9.2
R3#
R4#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
Gateway of last resort is not set
D EX 192.168.1.0/24 [170/7289856] via 192.168.8.1, 00:04:51, Serial0/0/1
D EX 192.168.2.0/24 [170/7289856] via 192.168.8.1, 00:04:51, Serial0/0/1
D EX 192.168.3.0/24 [170/7289856] via 192.168.8.1, 00:04:51, Serial0/0/1
D EX 192.168.4.0/24 [170/7289856] via 192.168.8.1, 00:04:51, Serial0/0/1
D EX 192.168.5.0/24 [170/7289856] via 192.168.8.1, 00:04:51, Serial0/0/1
D EX 192.168.6.0/24 [170/7289856] via 192.168.8.1, 00:04:51, Serial0/0/1
D EX 192.168.7.0/24 [170/7289856] via 192.168.8.1, 00:04:51, Serial0/0/1
C 192.168.8.0/24 is directly connected, Serial0/0/1
C 192.168.9.0/24 is directly connected, Serial0/1/0
S 192.168.10.0/24 [1/0] via 192.168.9.1
S 192.168.11.0/24 [1/0] via 192.168.9.1
C 192.168.12.0/24 is directly connected, Serial0/0/0
D 192.168.13.0/24 [90/2172416] via 192.168.12.2, 00:04:51, Serial0/0/0
D 192.168.16.0/24 [90/2172416] via 192.168.12.2, 00:04:51, Serial0/0/0
R4#
R5#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
Gateway of last resort is not set
D EX 192.168.1.0/24 [170/7801856] via 192.168.12.1, 00:05:19, Serial0/0/1
D EX 192.168.2.0/24 [170/7801856] via 192.168.12.1, 00:05:19, Serial0/0/1
D EX 192.168.3.0/24 [170/7801856] via 192.168.12.1, 00:05:19, Serial0/0/1
D EX 192.168.4.0/24 [170/7801856] via 192.168.12.1, 00:05:19, Serial0/0/1
D EX 192.168.5.0/24 [170/7801856] via 192.168.12.1, 00:05:19, Serial0/0/1
D EX 192.168.6.0/24 [170/7801856] via 192.168.12.1, 00:05:19, Serial0/0/1
D EX 192.168.7.0/24 [170/7801856] via 192.168.12.1, 00:05:19, Serial0/0/1
D 192.168.8.0/24 [90/2681856] via 192.168.12.1, 00:05:19, Serial0/0/1
D 192.168.9.0/24 [90/2681856] via 192.168.12.1, 00:05:21, Serial0/0/1
D EX 192.168.10.0/24 [170/7289856] via 192.168.12.1, 00:05:21, Serial0/0/1
D EX 192.168.11.0/24 [170/7289856] via 192.168.12.1, 00:05:21, Serial0/0/1
C 192.168.12.0/24 is directly connected, Serial0/0/1
C 192.168.13.0/24 is directly connected, FastEthernet0/0
C 192.168.16.0/24 is directly connected, FastEthernet0/1
R5#
然后,用ping命令測試:
PC>ping 192.168.16.3
Pinging 192.168.16.3 with 32 bytes of data:
Reply from 192.168.16.3: bytes=32 time=219ms TTL=123
Reply from 192.168.16.3: bytes=32 time=203ms TTL=123
Reply from 192.168.16.3: bytes=32 time=172ms TTL=123
Reply from 192.168.16.3: bytes=32 time=203ms TTL=123
Ping statistics for 192.168.16.3:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 172ms, Maximum = 219ms, Average = 199ms
PC>
PC>ping 192.168.10.1
Pinging 192.168.10.1 with 32 bytes of data:
Reply from 192.168.10.1: bytes=32 time=205ms TTL=123
Reply from 192.168.10.1: bytes=32 time=129ms TTL=123
Reply from 192.168.10.1: bytes=32 time=187ms TTL=123
Reply from 192.168.10.1: bytes=32 time=187ms TTL=123
Ping statistics for 192.168.10.1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 129ms, Maximum = 205ms, Average = 177ms
PC>
在R5上做DHCP服務:
R5#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R5(config)#ip dhcp pool R5Fa0/1
R5(dhcp-config)#dns-server 192.168.16.3
R5(dhcp-config)#default-router 192.168.16.254
R5(dhcp-config)#network 192.168.16.0 255.255.255.0
R5(dhcp-config)#end
%SYS-5-CONFIG_I: Configured from console by console
R5#write
Building configuration...
[OK]
R5#
試驗成功。
注釋:SSID
SSID/ESSID(Service Set Identifier)也就是“服務區標識符匹配”、“業務組標識符”的簡稱,最多可以有32 個字符,通俗的說,它就好比有線局域網中的“工作組”標識一樣或好比是無線客戶端與無線路由器之間的一道口令一樣,只有在完全相同的前提下才能讓無線網卡訪問無線路由器,這也是保證無線網絡安全的重要措施之一。
配備無線網卡的無線工作站必須填寫正確的SSID,并與無線訪問點(AP 或無線路由器)的SSID相同,才能訪問AP;如果出示的SSID 與AP 或無線路由器的SSID 不同,那么AP 將拒絕他通過本服務區/工作組上網。因此可以認為SSID 是一個簡單的口令,從而提供口令認證機制,實現一定的安全。
要更改無線網卡的SSID 除了在無線網卡配置程序中更改外,還可在操作系統中直接更改。
轉載于:https://blog.51cto.com/19880423/1422401
總結
以上是生活随笔為你收集整理的航天恒星系统集成项目组的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 必知常识
- 下一篇: 如何实现一个安全的Web登陆