日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

思科模拟器实验

發布時間:2025/4/5 编程问答 47 豆豆
生活随笔 收集整理的這篇文章主要介紹了 思科模拟器实验 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

實驗拓撲圖

交換機配置ip

二層交換機是不能配置在端口上配置ip地址的,只能在vlan1中配置管理ip地址,并且只能配置一個ip地址。

首先是enable進入
然后conf t進行配置
找到端口 int vlan 1
no shutdown
設置IP :ip address 192.168.1.2 255.255.255.0
退出至上一層 exit
配置網關 Ip default-gateway 192.168.1.254

Switch>en Switch>enable Switch#conf t Enter configuration commands, one per line. End with CNTL/Z. Switch(config)#int vlan 1 Switch(config-if)#no shutdown Switch(config-if)#ip address 192.168.1.2 255.255.255.0 Switch(config-if)#exit Switch(config)#ip de Switch(config)#ip default-gateway 192.168.1.254 Switch(config)#exit Switch# %SYS-5-CONFIG_I: Configured from console by console

路由器配置IP

步驟如下
下面使用簡寫,比如en表示enable,conf表示configure ,t表示terminal,當然可以使用tab鍵自動補全
Router> en 進入特權模式
Router# conf t 進入配置模式
Router(config-if)# int 端口號
Router(config-if)# no shutdown
Router(config-if)# ip address 192.168.1.1 255.255.255.0
Router(config-if)# exit

Router>enable Router#conf t Enter configuration commands, one per line. End with CNTL/Z. Router(config)#int fa0/0 Router(config-if)#no shutdownRouter(config-if)# %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to upRouter(config-if)#ip address 192.168.1.254 255.255.255.0 Router(config-if)#exit Router(config)# Router# %SYS-5-CONFIG_I: Configured from console by console

ping命令檢查網絡

單擊pc

選擇desktop–>command prompt

ping命令進行網絡測試
ping加上交換機或者路由器的ip。

發現網絡連接正常。

總結

以上是生活随笔為你收集整理的思科模拟器实验的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。