Re: [問答] 使用Cisco Packet Tracer的疑問

看板Network作者 (CCIP got!CCIE Sec go!)時間14年前 (2011/04/27 16:25), 編輯推噓2(205)
留言7則, 3人參與, 最新討論串2/2 (看更多)
: 我在設定ip後,再測試設定route : 我要讓總公司(192.168.1.0)與分公司(192.168.5~10.0/24)互通 : 我把總公司的防火牆的port設為192.168.2.254/30 : 銜接的cisco f0/0的port設為192.168.2.253/30 整個網路環境是怎麼設? HQ(192.168.1.0)<->(2.252/30) <--> ??(?) - Branch(192.168.5.0/24) 中間還有甚麼嗎? : : #conf t : #int f0/0 : #ip route 192.168.2.253 255.255.252.0 這個要在 global config mode 設,缺 next hop, 如果是要設 ip,照前面提的你 mask 也錯了 Router(config-if)#ip address 192.168.2.253 255.255.255.252 Router(config-if)#no shutdown <- enable this interface : : ctrl + z : : #conf t : #ip route 192.168.0.0 255.255.0.0 192.168.2.254 目的寫精確一點會比較好 : ※ 發信站: 批踢踢實業坊(ptt.cc) : ◆ From: 220.130.156.5 : ※ 編輯: sdu37 來自: 220.130.156.5 (04/27 13:05) : → wst2080:你 interface IP設定了沒有? 04/27 13:27 : → wst2080:show ip int bri 看看 04/27 13:28 : → sdu37:FastEthernet0/0 192.168.2.253 YES manual up 04/27 13:44 : → sdu37:FastEthernet0/1 172.31.62.78 YES manual admini 04/27 13:44 這個網段做甚麼的?..interface is down (use no shutdown to enable) -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 24.84.246.100

04/27 16:44, , 1F
int f0/0那我打錯了,我應該是要打ip address才對
04/27 16:44, 1F

04/27 16:45, , 2F
應該說192.168.2.253是對防火牆的DMZ PORT192.168.2.254
04/27 16:45, 2F

04/27 16:45, , 3F
而172.31.62.78是CISCO對外分公司的PORT
04/27 16:45, 3F

04/27 16:46, , 4F
但我不知為什麼我設完ip address與ip route後執行
04/27 16:46, 4F

04/27 16:47, , 5F
sh ip route會出現ateway of last resort is not set
04/27 16:47, 5F

04/27 16:59, , 6F
整個config貼出來看看吧
04/27 16:59, 6F

04/28 13:23, , 7F
link down時 route table不會show出來..
04/28 13:23, 7F
文章代碼(AID): #1DjzBesS (Network)
文章代碼(AID): #1DjzBesS (Network)