WebMedia

网络驿站

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::


http://www.xorp.org

"XORP is the eXtensible Open Router Platform.

Our goal is to develop an open source software router platform that is stable and fully featured enough for production use, and flexible and extensible enough to enable network research. Currently XORP implements routing protocols for IPv4 and IPv6 and a unified means to configure them. In future, we would also like to support custom hardware and software forwarding architectures.

XORP is free. It is covered by a BSD-style license and is publicly available for research, development, and use.

The core team is based at the International Computer Science Institute in Berkeley, California, but contributors come from around the world"

Test It:
Device Environment
1.PC1(running Windows XP SP2):
running Cisco 7200 Simulator(which runnig RIP)


2.Linksys broadband Router
running RIP

3.XORP@PC2
A Simple test Configuration(Its configuration like Juniper  also is  XML well-formated)
    interfaces {
        interface lnc0 {
            description: "ethernet0"
            vif lnc0 {
                disable: false
                address 192.168.1.71 {
                    disable: false
                    prefix-length: 24
                    broadcast: 192.168.1.255
                }
            }
            disable: false
            discard: false
        }
        interface lnc1 {
            description: "test"
            vif lnc1 {
                disable: false
                address 192.168.71.1 {
                    disable: false
                    prefix-length: 24
                    broadcast: 192.168.71.255
                }
            }
            disable: false
            discard: false
        }
        interface lnc2 {
            description: "??"
            vif lnc2 {
                disable: false
            }
            disable: false
            discard: false
        }
        interface lp0 {
            description: "??"
            vif lp0 {
                disable: false
                address 192.168.66.6 {
                    disable: false
                    prefix-length: 32
                    broadcast: 192.168.66.255
                }
            }
            disable: false
            discard: false
        }
        interface ppp0 {
            description: "Point-to-point protocol"
            vif ppp0 {
                disable: false
            }
            disable: false
            discard: false
        }
        interface lo0 {
            description: "Loopback interface"
            vif lo0 {
                disable: false
            }
            disable: false
            discard: false
        }
        targetname: "fea"
    }
    protocols {
        rip {
            targetname: "rip"
            interface lnc0 {
                vif lnc0 {
                    address 192.168.1.71 {
                        metric: 1
                        horizon: "split-horizon-poison-reverse"
                        disable: false
                        passive: false
                        accept-non-rip-requests: true
                        accept-default-route: false
                        advertise-default-route: false
                        route-expiry-secs: 180
                        route-deletion-secs: 120
                        triggered-update-min-secs: 1
                        triggered-update-max-secs: 5
                        table-announce-min-secs: 25
                        table-announce-max-secs: 35
                        table-request-secs: 1
                        interpacket-delay-msecs: 50
                    }
                }
            }
            interface lnc1 {
                vif lnc1 {
                    address 192.168.71.1 {
                        metric: 1
                        horizon: "split-horizon-poison-reverse"
                        disable: false
                        passive: false
                        accept-non-rip-requests: true
                        accept-default-route: false
                        advertise-default-route: false
                        route-expiry-secs: 180
                        route-deletion-secs: 120
                        triggered-update-min-secs: 1
                        triggered-update-max-secs: 5
                        table-announce-min-secs: 25
                        table-announce-max-secs: 35
                        table-request-secs: 1
                        interpacket-delay-msecs: 50
                    }
                }
            }
            export connected {
                metric: 1
                tag: 0
            }
        }
    }
    fea {
        targetname: "fea"
        unicast-forwarding4 {
            disable: false
        }
        unicast-forwarding6 {
            disable: true
        }
    }

 

posted on 2006-03-06 08:26  WebMedia  阅读(431)  评论(0编辑  收藏  举报