input, output.

使用IOU实施IP多播路由实验

    在阅读《TCP/IP路由技术》(第二卷)中的组播相关技术时,配合实验肯定更便于加深理解。说实话,平时压根就没有接触过组播的案例,实验就显得尤为重要。按照书上的实验用例,需要的路由器和主机不少,找这么多台设备是不实际的,而利用WebIOL虚拟平台可以非常方便的完成本实验。

    IOU是思科公司泄露的测试工具,基于linux的模拟系统,占用资源非常小,并且可以放在虚拟机里跑(网络是有很多制作好的虚拟机镜像,下载下来直接打开运用即可使用),非常适合复杂拓扑的路由交换实验。IOU Web Interface是其中最为方便使用的一套解决方案,基于Web界面的实验管理,无需掌握任何Linux基础亦可完成实验过程。以下内容为机器随机产生,与本人无关:
https://pan.baidu.com/share/link?shareid=67595116&uk=3341625860(root密码netemu)
使用方式请自行搜索。

    实验拓扑

    拓扑图(参考《TCP/IP路由技术》(第二卷)P373):

    

    NETMAP:

        7:0/0 1:0/2    

        1:0/0 2:0/0    

        1:0/1 4:0/0    

        2:0/1 5:0/0    

        2:0/2 3:0/0    

        5:0/1 6:0/1    

        3:0/1 6:0/0    

        3:0/2 4:0/1    

        6:0/2 8:0/0    

    镜像配置:

    

    配置文件

    Homburg:

        hostname Homburg    

        !    

        ip cef    

        no ip domain lookup    

        ip multicast-routing    

        !    

        interface Ethernet0/0    

         ip address 10.2.1.1 255.255.255.0    

         ip pim dense-mode    

        !    

        interface Ethernet0/1    

         ip address 10.2.2.1 255.255.255.0    

         ip pim dense-mode    

        !    

        interface Ethernet0/2    

         ip address 10.1.1.1 255.255.255.0    

         ip pim dense-mode    

        !    

        router ospf 1    

         log-adjacency-changes    

         network 10.0.0.0 0.255.255.255 area 0    

        !    

    Fedora

        hostname Fedora    

        !    

        ip cef    

        no ip domain lookup    

        ip multicast-routing    

        !    

        interface Ethernet0/0    

         ip address 10.2.1.2 255.255.255.0    

         ip pim dense-mode    

        !    

        interface Ethernet0/1    

         ip address 10.2.5.2 255.255.255.0    

         ip pim dense-mode    

        !    

        interface Ethernet0/2    

         ip address 10.2.4.2 255.255.255.0    

         ip pim dense-mode    

        !    

        router ospf 1    

         log-adjacency-changes    

         network 10.0.0.0 0.255.255.255 area 0    

        !    

    Porkpie

        hostname Porkpie    

        !    

        ip cef    

        no ip domain lookup    

        ip multicast-routing    

        !    

        interface Ethernet0/0    

         ip address 10.2.4.1 255.255.255.0    

         ip pim dense-mode    

        !    

        interface Ethernet0/1    

         ip address 10.1.2.1 255.255.255.0    

         ip pim dense-mode    

        !    

        interface Ethernet0/2    

         ip address 10.2.3.2 255.255.255.0    

         ip pim dense-mode    

        !    

        router ospf 1    

         log-adjacency-changes    

         network 10.0.0.0 0.255.255.255 area 0    

        !    

    Stetson

        hostname Stetson    

        !    

        ip cef    

        no ip domain lookup    

        ip multicast-routing    

        !    

        interface Ethernet0/0    

         ip address 10.2.2.2 255.255.255.0    

         ip pim dense-mode    

        !    

        interface Ethernet0/1    

         ip address 10.2.3.1 255.255.255.0    

         ip pim dense-mode    

        !    

        router ospf 1    

         log-adjacency-changes    

         network 10.0.0.0 0.255.255.255 area 0    

        !    

    Bowler

        hostname Bowler    

        !    

        ip cef    

        no ip domain lookup    

        ip multicast-routing    

        !    

        interface Ethernet0/0    

         ip address 10.2.5.1 255.255.255.0    

         ip pim dense-mode    

        !    

        interface Ethernet0/1    

         ip address 10.1.2.25 255.255.255.0    

         ip pim dense-mode    

        !    

        router ospf 1    

         log-adjacency-changes    

         network 10.0.0.0 0.255.255.255 area 0    

        !    

    Catalyst

        hostname Catalyst    

        !    

        interface Ethernet0/0    

         switchport    

         duplex auto    

        !    

        interface Ethernet0/1    

         switchport    

         duplex auto    

        !    

        interface Ethernet0/2    

         switchport    

         duplex auto    

        !    

    Ms(模拟多播源)

        hostname Ms    

        !    

        ip cef    

        no ip domain lookup    

        ip multicast-routing    

        !    

        interface Ethernet0/0    

         ip address 10.1.1.88 255.255.255.0    

         ip pim dense-mode    

        !    

        ip route 0.0.0.0 0.0.0.010.1.1.1    

        !    

    Mc(模拟多播组成员)

        hostname Mc    

        !    

        interface Ethernet0/0    

         ip address 10.1.2.113 255.255.255.0    

         ip igmp join-group228.13.20.216    

        !    

        ip route 0.0.0.0 0.0.0.010.1.2.1    

        !    

    验证

    是Ms上ping多播地址228.13.20.216,模拟多播流量,可以顺利到达。其他实验验证参考《TCP/IP详解》(第二卷)自行对比。

    

    

评论

© Sy's Log | Powered by LOFTER