路由器思科用RIp配置環回位址如何配置,具體點,還有就是靜態路由配置環回位址,具體命令

2021-04-03 05:45:16 字數 6767 閱讀 2741

1樓:匿名使用者

router rip

預設version1 router rip 後,version 2 是bai2版本的

network 宣告網段

這是rip

int lo 0 進入環du回口zhi0 輸入幾dao進幾ip address 位址 掩碼

這是給環

回回口配置位址

靜態路由答就是靜態路由,和換回位址有什麼關係,你是想給環回口的位址配條靜態路由?

直接寫 ip route 位址 掩碼 下一跳位址

2樓:匿名使用者

環回口是軟體虛擬的介面,可以看做是路由器的介面。只是不能用於資料傳輸。所以誰都可以用...

3樓:匿名使用者

ookback 就是設定乙個回環位址。但你的的配置回環位址的ip

思科交換機靜態路由配置 5

4樓:百度文庫精選

最低0.27元開通文庫會員,檢視完整內

原發布者:liu296788874

1、靜態路由的配置命令:例如:iproute129.

1.0.01610.

0.0.2iproute129.

1.0.0255.

255.0.010.

0.0.2iproute129.

1.0.016serial0/0/0注意:

只有下一跳所屬的的介面是點對點(ppp、hdlc)的介面時,才可以填寫,否則必須填寫。2、在路由器routera上配置:routera(config)#inte***cefastethernet0/0routera(config-if)#ipadd192.

168.1.1255.

255.255.0routera(config-if)#inte***ces0/0/0routera(config-if)#ipadd221.

237.46.2255.

255.255.0routera(config-if)#encapsulationppproutera(config-if)#exitroutera(config)#iproute61.

139.2.0255.

255.255.0221.

237.46.13、在路由器routerb上配置:

routerb(config)#inte***cefastethernet0/0routerb(config-if)#ipadd61.139.2.

68255.255.255.

0routerb(config-if)#inte***ces0/0routerb(config-if)#ipadd221.237.46.

1255.255.255.

0routerb(config-if)#encapsulationppprouterb(config-if)#clockrate64000routerb(config-if)#exitrouterb(config)#iproute192.168.1.

0255.255.255.

0221.237.46.2

5樓:匿名使用者

靜態路由命令:

enconf t

ip route 目的網段 子網掩碼 下一跳/出口比如,要通往192.168.1.0這個網段,下一跳為192.168.2.1,出口為fa0/0

命令就是:

ip route 192.168.1.0 255.255.255.0 192.168.2.1

或者ip route 192.168.1.0 255.255.255.0 fa0/0都可以

6樓:

如果是2層交換機比如:2960系列的那麼是不可以配置靜態路由的,只能配置預設路由。

ip default-gateway x.x.x.x

7樓:李增惠

在配置模式下:

switch(config)#

switch(config)# ip route 192.168.10.

0 255.255.255.

0 192.168.2.

1 /去往10網段的下一跳位址是192.168.2.

1switch(config)# ip route 192.168.10.

0 255.255.255.

0 fa0/0 /去往10網段的下一跳是fa0/0 這個介面

思科靜態路由具體配置方式及相關口令

8樓:匿名使用者

有兩種方式,舉例說:

1、全域性模式下使用命令

ip route 192.168.1.0 255.255.255.0 192.168.1.2

192.168.1.0 為目的網段的網路位址,255.255.255.0 為目的網路子網掩碼, 192.168.1.2為下一跳的介面ip

2、全域性模式下使用命令

ip route 192.168.1.0 255.255.255.0 fa0/1

192.168.1.0 為目的網段的網路位址,255.255.255.0 為目的網路子網掩碼, fa0/1為本路由器出口的介面

9樓:花開聲

enconf t

ip route 192.168.1.0 255.255.255.0 192.168.2.1

ip route 0.0.0.0 0.0.0.0 10.132.0.118

ip route +目的網路 +掩碼+下一跳閘道器

思科中的靜態路由怎樣設定?

10樓:小龍哥

r1:ip route 192.168.3.0 255.255.255.0 12.1.1.2

ip route 192.168.2.0 255.255.255.0 12.1.1.2

r2:ip route 192.168.1.0 255.255.255.0 12.1.1.1

ip route 192.168.2.0 255.255.255.0 23.1.1.3

r3:ip route 192.16.3.0 255.255.255.0 23.1.1.2

ip route 192.168.1.0 255.255.255.0 23.1.1.2

你試試看按我配的條目,我也是初學者。

你的靜態路由的 方向搞錯了。 ip route +目標網路ip位址+子網掩碼+下一條路由位址

求助,思科模擬器配置問題,靜態路由配置,應該怎麼做

11樓:嚴謹的

1、dns是用來把**解析到公網ip位址的,如果你有乙個**的話,首先要去申請乙個**網域名稱比如www.xx.com,然後解析到您**伺服器所在網路的公網位址,然後你把**伺服器掛在公網上或者nat對映到公網上就可以了

2、所有配置如下拓撲圖如下

router0

cisco0(config)#do sh run

building configuration...

current configuration : 797 bytes

!version 12.4

no service timestamps log datetime msec

no service timestamps debug datetime msec

no service password-encryption

!hostname cisco0!!

!enable secret 5 $1$merr$hx5rvt7rpnos4wqbxkx7m0!!

!!!!

username cisco password 0 cisco!!

!!!!

!spanning-tree mode pvst!!

!!inte***ce fastethernet0/0

ip address 192.168.1.254 255.255.255.0

duplex auto

speed auto

!inte***ce fastethernet0/1

ip address 10.0.0.1 255.255.255.0

duplex auto

speed auto

!inte***ce serial0/0/0

ip address 172.16.3.1 255.255.255.0

!inte***ce serial0/0/1

no ip address

!inte***ce vlan1

no ip address

shutdown

!router rip

version 2

network 10.0.0.0

network 172.16.0.0

network 192.168.1.0

no auto-summary

!ip classless!!

!!!!

!line con 0

!line aux 0

!line vty 0 4

login!!

!end

router1

cisco1(config)#do sh run

building configuration...

current configuration : 797 bytes

!version 12.4

no service timestamps log datetime msec

no service timestamps debug datetime msec

no service password-encryption

!hostname cisco1!!

!enable secret 5 $1$merr$hx5rvt7rpnos4wqbxkx7m0!!

!!!!

username cisco password 0 cisco!!

!!!!

!spanning-tree mode pvst!!

!!inte***ce fastethernet0/0

ip address 192.168.3.254 255.255.255.0

duplex auto

speed auto

!inte***ce fastethernet0/1

no ip address

duplex auto

speed auto

shutdown

!inte***ce serial0/0/0

ip address 172.16.3.2 255.255.255.0

clock rate 64000

!inte***ce serial0/0/1

no ip address

shutdown

!inte***ce vlan1

no ip address

shutdown

!router rip

version 2

network 172.16.0.0

network 192.168.3.0

no auto-summary

!ip classless!!

!!!!

!line con 0

!line aux 0

!line vty 0 4

login!!

!end

router2

cisco2(config)#do sh run

building configuration...

current configuration : 677 bytes

!version 12.4

no service timestamps log datetime msec

no service timestamps debug datetime msec

no service password-encryption

!hostname cisco2!!

!enable secret 5 $1$merr$hx5rvt7rpnos4wqbxkx7m0!!

!!!!

username cisco password 0 cisco!!

!!!!

!spanning-tree mode pvst!!

!!inte***ce fastethernet0/0

ip address 10.0.0.2 255.255.255.0

duplex auto

speed auto

!inte***ce fastethernet0/1

ip address 192.168.2.254 255.255.255.0

duplex auto

speed auto

!inte***ce vlan1

no ip address

shutdown

!router rip

version 2

network 10.0.0.0

network 192.168.2.0

no auto-summary

!ip classless!!

!!!!

!line con 0

!line aux 0

!line vty 0 4

login!!

!end

pc0配置

pc1配置

dns配置

pc0到pc1測試

pc0-dns

同時配置ospf與rip,路由器配置 rip與ospf協議之間的重發布命令是什麼?

拓撲 r1 r2 r3 r4 r5 r6 ospf rip r4 router ospf 1 redistribute rip metric 10 metric type 1 sub s work 4.4.4.4 0.0.0.0 area 0 work 10.0.34.0 0.0.0.255 are...

思科路由配置上網,怎麼設定思科路由器

無線copy路由器的配置上網bai方法 1.路由器連入網路。思科路由器設定ip位址怎麼設定 步驟如下 1 首先在電腦上點選開啟cisco軟體。然後選擇一台電腦還有乙個路由器。2 然後在用虛線將電腦還有路由器連起來。雙擊路由器,開啟cli視窗。3 然後敲no回車鍵,再敲enable回車鍵。在敲conf...

思科路由器配置完畢後如何儲存退出

在全域性配置模式下 router copy running config startup config 儲存當前的配置 或router write也行 全域性模式 下 輸入 wr 或者 copy run start 配置完後直接關閉就可以啦!請問思科路由器的配置檔案應該怎麼儲存?copy runni...