《企业综合项目实战》综合实训(二)
程序员文章站
2024-02-13 17:18:52
...
500台
172.20.0.1 255.255.224.0
172.20.32.1 255.255.224.0
172.20.64.1 255.255.224.0
172.20.96.1 255.255.224.0
1000台的
172.16.0.1
172.16.4.1
172.16.8.1
172.16.12.1
网关:255.255.252.0
60台的
192.168.1.1
192.168.1.65
192.168.1.129
192.168.1.193
网关:255.255.255.192
IP地址:
192.168.0.129
192.168.0.161
网关:255.255.255.224
连着HQ的两台交换机
clock rate 64000 配置DCE的时钟频率
enable secret calss 设置特权模式密码
console line 0
password cisco
login
exit
line vty 0 4
password cisco
login
exit
B1,B2,B3的默认路由:ip route 0.0.0.0 0.0.0.0 s0/0/0
这三个设备的默认路由都一样
ip route 192 .168.1.0 255.255.255.0 Serial0/0/0
ip route 172. 16.0.0 255.255.0.0 Serial0/0/1
ip route 172.20.0.0 255.252.0.0 Serial0/l/0
HQ的静态路由,还有一条默认路由是通往ISQ的,你自己配置
ip route 192 .168.1.0 255.255.255.0 Serial0/0/0
ip route 172. 16.0.0 255.255.0.0 Serial0/0/0
ip route 172.20.0.0 255.252.0.0 Serial0/0/0
ip route 10.0.0.0 255.255.255.252 Serial0/0/0
ip route 10.0.0.4 255.255.255.252 Serial0/0/0
ip route 10.0.0.8 255.255.255.252 Serial0/0/0
ip route 192.168.0.128 255.255.255.128 Serial0/0/0
ISQ的静态路由
HQ
Router>en
Router#
Router#
Router#config ter
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int fa 0/0
Router(config-if)#ip add 192.168.0.129 255.255.255.224
Router(config-if)#no shu
Router(config-if)#no shutdown
Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
Router(config-if)#exit
Router(config)#int fa 0/1
Router(config-if)#ip add 182.168.0.161 255.255.255.224
Router(config-if)#no shu
Router(config-if)#no shutdown
Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up
Router(config-if)#exit
Router(config)#int s0/0/1
Router(config-if)#no shu
Router(config-if)#no shutdown
Router(config-if)#exi
Router(config)#int s0/1/0
Router(config-if)#no shutdown
%LINK-5-CHANGED: Interface Serial0/1/0, changed state to down
Router(config-if)#exi
Router(config)#int s0/1/0
Router(config-if)#no shu
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config)#int s0/0/1
Router(config-if)#ip add 10.0.0.5 255.255.255.252
Router(config-if)#no shu
Router(config-if)#no shutdown
Router(config-if)#[int s0/0/0
^
% Invalid input detected at '^' marker.
Router(config-if)#int s0/0/0
Router(config-if)#ip add 10.0.0.1 255.255.255.252
Router(config-if)#no shju
Router(config-if)#no shhu
^
% Invalid input detected at '^' marker.
Router(config-if)#no shu
Router(config-if)#exit
Router(config)#int s0/1/0
Router(config-if)#ip add 10.0.0.9 255.255.255.252
Router(config-if)#no shu
Router(config-if)#no shutdown
Router(config-if)#[exit
^
% Invalid input detected at '^' marker.
Router(config-if)#exit
Router(config)#int s0/1/1
Router(config-if)#ip add 209.165.201.2 255.255.255.252
Router(config-if)#no shu
Router(config-if)#no shutdown
%LINK-5-CHANGED: Interface Serial0/1/1, changed state to down
Router(config-if)#exit
Router(config)#
Router(config)#
Router(config)#int s 0/0/1
Router(config-if)#no shu
Router(config-if)#no shutdown
Router(config-if)#[exit
^
% Invalid input detected at '^' marker.
Router(config-if)#exit
Router(config)#int sd0/1/0
^
% Invalid input detected at '^' marker.
Router(config)#int s0/1/0
Router(config-if)#no shu
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config)#int s0/1/1
Router(config-if)#no shu
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config)#
B1
Router>en
Router#config ter
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int fa0/0
Router(config-if)#ip add
Router(config-if)#ip address 192.168.1.1 255.255.255.192
Router(config-if)#no sh
Router(config-if)#no shutdown
Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
Router(config-if)#exit
Router(config)#int fa 0/1
Router(config-if)#ip add 192.168.1.65 255.255.255.192
Router(config-if)#no shu
Router(config-if)#no shutdown
Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up
Router(config-if)#exitt
^
% Invalid input detected at '^' marker.
Router(config-if)#exit
Router(config)#int fa1/0
Router(config-if)#ip add 192.168.1.129 255.255.255.192
Router(config-if)#noshu
^
% Invalid input detected at '^' marker.
Router(config-if)#noi shu
Router(config-if)#no shu
Router(config-if)#no shutdown
Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet1/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0, changed state to up
[
^
% Invalid input detected at '^' marker.
Router(config-if)#exit
Router(config)#int fa 1/1
Router(config-if)#ip add 192.168.1.193 255.255.255.192
Router(config-if)#no shu
Router(config-if)#no shutdown
Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet1/1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/1, changed state to up
[
^
% Invalid input detected at '^' marker.
Router(config-if)#exit
Router(config)#int s0/0/0
Router(config-if)#no shu
Router(config-if)#no shutdown
Router(config-if)#
%LINK-5-CHANGED: Interface Serial0/0/0, changed state to up
Router(config-if)#]exit
^
% Invalid input detected at '^' marker.
Router(config-if)#exit
Router(config)#INT S0/0/0
Router(config-if)#ip add 10.0.0.2 255.255.255.252
Router(config-if)#no shu
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config)#
B2
Router>
Router>en
Router#config
Configuring from terminal, memory, or network [terminal]?
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int fa 0/0
Router(config-if)#ip add 172.16.0.1 255.255.252.0
Router(config-if)#no shu
Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
Router(config-if)#ex
Router(config-if)#exit
Router(config)#int fa 0/1
Router(config-if)#ip add 172.16.4.1 255.255.252.0
Router(config-if)# no shu
Router(config-if)# no shutdown
Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up
Router(config-if)#exit
Router(config)#int fa1/0
Router(config-if)#ip add 172.16.8.1 255.255.252.0
Router(config-if)#no shu
Router(config-if)#no shutdown
Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet1/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0, changed state to up
Router(config-if)#
Router(config-if)#exit
Router(config)#int fa1/1
Router(config-if)#ip add 192.168.1.193 255.255.255.192
Router(config-if)#ip add 172.16.12.1 255.255.252.0
Router(config-if)#exit
Router(config)#int s0/0/0
Router(config-if)#ip add 10.0.0.6 255.255.255.252
Router(config-if)#no shu
Router(config-if)#no shutdown
Router(config-if)#
%LINK-5-CHANGED: Interface Serial0/0/0, changed state to up
[
^
% Invalid input detected at '^' marker.
Router(config-if)#exi
Router(config)#int fa1
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up
/1
Router(config-if)#no shu
Router(config-if)#no shutdown
Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet1/1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/1, changed state to up
Router(config-if)#exit
Router(config)#
B3
Router>en
Router#config ter
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int fa0/0\
^
% Invalid input detected at '^' marker.
Router(config)#int fa0/0
Router(config-if)#ip add 172.20.0.1 255.255.224.0
Router(config-if)#2no shu
Router(config-if)#no shu
Router(config-if)#no shutdown
Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
Router(config-if)#exit
Router(config)#int fa0/1
Router(config-if)#ip add 172.20.32.1 255.255.224.0
Router(config-if)#no shu
Router(config-if)#no shutdown
Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up
Router(config-if)#exit
Router(config)#int fa1/0
Router(config-if)#ip add
Router(config-if)#ip add 172.20.64.1 255.255.224.0
Router(config-if)#no shu
Router(config-if)#no shutdown
Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet1/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0, changed state to up
Router(config-if)#exit
Router(config)#int fa1/1
Router(config-if)#ip add 172.20.96.1 255.255.224.0
Router(config-if)#no shu
Router(config-if)#no shutdown
Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet1/1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/1, changed state to up
Router(config-if)#exit
Router(config)#int s0/0/0
Router(config-if)#ip add 10.0.0.10 255.255.255.252
Router(config-if)#no shu
Router(config-if)#no shutdown
Router(config-if)#
%LINK-5-CHANGED: Interface Serial0/0/0, changed state to up
Router(config-if)#exit
Router(config)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up
ISP
Router>en
Password:
Password:
Password:
Router#config
Configuring from terminal, memory, or network [terminal]?
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int s0/0/0
Router(config-if)#ip add 209.165.201.1 255.255.255.252
Router(config-if)#no shu
Router(config-if)#no shutdown
Router(config-if)#
%LINK-5-CHANGED: Interface Serial0/0/0, changed state to up
Router(config-if)#exit
Router(config)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up
Router(config)#int fa 0/0
Router(config-if)#no shu
Router(config-if)#no shutdown
Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
Router(config-if)#ip add 209.165.200.201.225 255.255.255.252
^
% Invalid input detected at '^' marker.
Router(config-if)#ip add 209.165.201.225 255.255.255.252
Router(config-if)#no shu
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config)#
上一篇: oracle查询用户和表权限