通信人家园

标题: 已经解决~  [查看完整版帖子] [打印本页]

时间:  2009-6-14 11:26
作者: long2no1     标题: 已经解决~

谢谢 各位帮忙了

[ 本帖最后由 long2no1 于 2009-6-24 11:07 编辑 ]

附件: 幻灯片1.JPG (2009-6-14 20:04, 36.24 KB) / 下载次数 1
https://www.txrjy.com/forum.php?mod=attachment&aid=NTQzNTh8MTY2ODI0ZTF8MTc1NjMyMDI5MHwwfDA%3D

附件: 幻灯片2.JPG (2009-6-14 20:04, 42.07 KB) / 下载次数 2
https://www.txrjy.com/forum.php?mod=attachment&aid=NTQzNTl8OWUyYmY4MWN8MTc1NjMyMDI5MHwwfDA%3D
时间:  2009-6-14 14:46
作者: tly_0309

看不到图片
时间:  2009-6-14 20:03
作者: long2no1     标题: 回复 2# 的帖子

看来图示挂了 呵呵 谢谢~~
时间:  2009-6-14 22:32
作者: liuwm

Router E和其他Router不在同一区域内?
时间:  2009-6-14 23:18
作者: tly_0309

正确配置OSPF就能互通
通过人工调整A-B  B-D的metric(即COST值)来调整优先级

我怎么看着像是考试题呢?
时间:  2009-6-14 23:23
作者: liuwm

我根据你的需求写了一个,不知道是不是你想要的。
Device   Interface   IP Address
RouterA  (A-B)POS1/0/0   10.1.1.1/24
                (A-C)POS2/0/0   10.1.2.1/24
               (直连)GE4/0/0   192.168.1.1/24
RouterB  (B-A)POS1/0/0   10.1.1.2/24
                 (B-D)POS2/0/0   10.1.3.2/24
RouterC  (C-A)POS1/0/0   10.1.2.2/24
                (C-D)POS2/0/0   10.1.4.2/24
RouterD  (D-B)POS1/0/0   10.1.3.1/24
                 (D-C)POS2/0/0   10.1.4.1/24
                (D-E)POS3/0/0   10.1.5.1/24
RouterE  (E-D)POS1/0/0    10.1.5.2/24
                 (直连)GE4/0/0    192.168.2.1/24

RouterA的配置文件

system-view
interface GigabitEthernet4/0/0
undo shutdown
ip address 192.168.1.1 255.255.255.0
quit
interface pos1/0/0
link-protocol ppp
undo shutdown
ip address 10.1.1.1 255.255.255.0
ospf cost 10
quit
interface pos2/0/0
link-protocol ppp
undo shutdown
ip address 10.1.2.1 255.255.255.0
ospf cost 20
quit
ospf 1 router-id 1.1.1.1
area 0.0.0.0
  network 10.1.1.0 0.0.0.255
  network 10.1.2.0 0.0.0.255
  network 192.168.1.1 0.0.0.255


RouterB的配置文件

interface pos1/0/0
link-protocol ppp
undo shutdown
ip address 10.1.1.2 255.255.255.0
quit
interface pos2/0/0
link-protocol ppp
undo shutdown
ip address 10.1.1.2 255.255.255.0
quit
ospf 1 router-id 2.2.2.2
area 0.0.0.0
  network 10.1.1.0 0.0.0.255
  network 10.1.3.0 0.0.0.255
  

RouterC的配置文件

interface pos1/0/0
undo shutdown
link-protocol ppp
ip address 10.1.2.2 255.255.255.0
quit
interface pos2/0/0
link-protocol ppp
undo shutdown
ip address 10.1.4.2 255.255.255.0
quit
ospf 1 router-id 3.3.3.3
area 0.0.0.0
  network 10.1.2.0 0.0.0.255
  network 10.1.4.0 0.0.0.255

RouterD的配置文件

interface pos1/0/0
link-protocol ppp
undo shutdown
ip address 10.1.3.1 255.255.255.0
quit
interface pos2/0/0
link-protocol ppp
undo shutdown
ip address 10.1.4.1 255.255.255.0
quit
interface pos3/0/0
link-protocol ppp
undo shutdown
ip address 10.1.5.1 255.255.255.0
quit
ip route-static 192.168.2.0 255.255.255.0 10.1.5.2
ospf 1 router-id 4.4.4.4
area 0.0.0.0
  network 10.1.3.0 0.0.0.255
  network 10.1.4.0 0.0.0.255

RouterE的配置文件

interface pos1/0/0
link-protocol ppp
undo shutdown
ip address 10.1.5.2 255.255.255.0
quit
ip route-static 192.168.1.0 255.255.255.0 10.1.5.1
interface GigabitEthernet4/0/0
undo shutdown
ip address 192.168.2.1 255.255.255.0

[ 本帖最后由 liuwm 于 2009-6-15 12:07 编辑 ]
时间:  2009-6-14 23:47
作者: tly_0309

D路由器少配1条至E的静态路由
时间:  2009-6-15 12:07
作者: liuwm

原帖由 tly_0309 于 2009-6-14 23:47 发表
D路由器少配1条至E的静态路由


谢谢,我疏忽了。加上了。
时间:  2009-6-16 09:57
作者: peak1     标题: 回复 6# 的帖子

good
时间:  2009-6-24 11:04
作者: long2no1     标题: 回复 6# 的帖子

实在太感谢了 今天才有空上来 呵呵 谢谢~
时间:  2009-6-24 11:59
作者: 传输

你也很负责,很多网友问完就走了,即使采纳了也没有感谢
虽然不感谢大家也会继续帮忙,但是付出了被感谢会更好




通信人家园 (https://www.txrjy.com/) Powered by C114