GENIExperimenter/Tutorials/SystematicExprCaseStudy/SmallTopoQuagga/DesignSetup: r2-ospf.conf

File r2-ospf.conf, 1.7 KB (added by xliu@bbn.com, 10 years ago)
Line 
1/* OSPF configuration file for XORP
2 *
3 * Host: router-2.xuan-wiki-prep.ch-geni-net.instageni.stanford.edu
4 * DATE: 2014-06-30 01:31:23 PM
5 *
6 */
7
8interfaces {
9  restore-original-config-on-shutdown: false
10  interface eth1 {
11    description: "virtual interface-eth1"
12    disable: false
13    discard: false
14    vif eth1 {
15        disable: false
16        address 192.168.5.1 {
17                 prefix-length: 24
18                 disable: false
19        }
20    }
21  }
22  interface eth2 {
23    description: "virtual interface-eth2"
24    disable: false
25    discard: false
26    vif eth2 {
27        disable: false
28        address 192.168.1.2 {
29                 prefix-length: 24
30                 disable: false
31        }
32    }
33  }
34  interface eth3 {
35    description: "virtual interface-eth3"
36    disable: false
37    discard: false
38    vif eth3 {
39        disable: false
40        address 192.168.2.1 {
41                 prefix-length: 24
42                 disable: false
43        }
44    }
45  }
46}
47
48
49fea {
50    unicast-forwarding4 {
51        disable: false
52    }
53}
54
55
56protocols {
57    ospf4 {
58        router-id: 192.168.1.2
59        area 0.0.0.0 {
60            area-type:"normal"
61            interface eth1 {
62                vif eth1 {
63                  address 192.168.5.1 {
64                    interface-cost 10
65                    hello-interval 5
66                    router-dead-interval 10
67                    disable: false
68                  }
69                }
70            }
71            interface eth2 {
72                vif eth2 {
73                  address 192.168.1.2 {
74                    interface-cost 10
75                    hello-interval 5
76                    router-dead-interval 10
77                    disable: false
78                  }
79                }
80            }
81            interface eth3 {
82                vif eth3 {
83                  address 192.168.2.1 {
84                    interface-cost 10
85                    hello-interval 5
86                    router-dead-interval 10
87                    disable: false
88                  }
89                }
90            }
91        }
92    }
93}