静态路由与缺省路由配置案例

合集下载
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

Router 0

Router>

Router>

Router>

Router>en

Router#confi

Router#configure

Configuring from terminal, memory, or network [terminal]?

Enter configuration commands, one per line. End with CNTL/Z. Router(config)#int

Router(config)#interface f

Router(config)#interface fastEthernet 0/0

Router(config-if)#ip add

Router(config-if)#ip address 192.168.1.1 255.255.255.0

Router(config-if)#no shut

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)#

Router(config-if)#

Router(config-if)#

Router(config-if)#exit

Router(config)#int

Router(config)#interface s

Router(config)#interface serial 0/0/0

Router(config-if)#cl

Router(config-if)#clock ra

Router(config-if)#clock rate 64000

Router(config-if)#ip add

Router(config-if)#ip address 192.168.2.1

% Incomplete command.

Router(config-if)#ip address 192.168.2.1 255.255.255.0

Router(config-if)#no shut

Router(config-if)#no shutdown

%LINK-5-CHANGED: Interface Serial0/0/0, changed state to down

Router(config-if)#exit

Router(config)#ip route

Router(config)#ip route 0.0.0.0 0.0.0.0 192.168.2.2

Router(config)#

Router 1

Router>

Router>

Router>en

Router#conf

Router#configure

Configuring from terminal, memory, or network [terminal]?

Enter configuration commands, one per line. End with CNTL/Z.

Router(config)#int

Router(config)#interface s

Router(config)#interface serial 0/0/0

Router(config-if)#ip add

Router(config-if)#ip address 192.168.2.2 255.255.255.0

Router(config-if)#no shut

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)#int

Router(config)#interface s

Router(config)#interface serial 0/0/1

%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up

Router(config-if)#cl

Router(config-if)#clock ra

Router(config-if)#clock rate 64000

Router(config-if)#ip add

Router(config-if)#ip address 192.168.3.1 255.255.255.0

Router(config-if)#no shut

Router(config-if)#no shutdown

%LINK-5-CHANGED: Interface Serial0/0/1, changed state to down Router(config-if)#

Router(config-if)#exit

Router(config)#ip rout

Router(config)#ip route 192.168.1.0 255.255.255.0 192.168.2.1 Router(config)#ip rou

Router(config)#ip route 192.168.4.0 255.255.255.0 192.168.3.2 Router(config)#

Router 2

Router>

Router>

Router>en

Router#conf

Router#configure

Configuring from terminal, memory, or network [terminal]? Enter configuration commands, one per line. End with CNTL/Z. Router(config)#int

Router(config)#interface s

Router(config)#interface serial 0/0/0

Router(config-if)#ip add

Router(config-if)#ip address 192.168.3.2 255.255.255.0

Router(config-if)#no shut

Router(config-if)#no shutdown

相关文档
最新文档