1 | /* OSPF configuration file for XORP |
---|
2 | * |
---|
3 | * Host: router-1.xuan-wiki-prep.ch-geni-net.instageni.stanford.edu |
---|
4 | * DATE: 2014-06-30 01:33:23 PM |
---|
5 | * |
---|
6 | */ |
---|
7 | |
---|
8 | interfaces { |
---|
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.4.2 { |
---|
17 | prefix-length: 24 |
---|
18 | disable: false |
---|
19 | } |
---|
20 | } |
---|
21 | } |
---|
22 | interface eth2 { |
---|
23 | description: "virtual interface-eth3" |
---|
24 | disable: false |
---|
25 | discard: false |
---|
26 | vif eth2 { |
---|
27 | disable: false |
---|
28 | address 192.168.1.1 { |
---|
29 | prefix-length: 24 |
---|
30 | disable: false |
---|
31 | } |
---|
32 | } |
---|
33 | } |
---|
34 | } |
---|
35 | |
---|
36 | |
---|
37 | fea { |
---|
38 | unicast-forwarding4 { |
---|
39 | disable: false |
---|
40 | } |
---|
41 | } |
---|
42 | |
---|
43 | |
---|
44 | protocols { |
---|
45 | ospf4 { |
---|
46 | router-id: 192.168.1.1 |
---|
47 | area 0.0.0.0 { |
---|
48 | area-type:"normal" |
---|
49 | interface eth1 { |
---|
50 | vif eth1 { |
---|
51 | address 192.168.4.2 { |
---|
52 | interface-cost 10 |
---|
53 | hello-interval 5 |
---|
54 | router-dead-interval 10 |
---|
55 | disable: false |
---|
56 | } |
---|
57 | } |
---|
58 | } |
---|
59 | interface eth2 { |
---|
60 | vif eth2 { |
---|
61 | address 192.168.1.1 { |
---|
62 | interface-cost 10 |
---|
63 | hello-interval 5 |
---|
64 | router-dead-interval 10 |
---|
65 | disable: false |
---|
66 | } |
---|
67 | } |
---|
68 | } |
---|
69 | } |
---|
70 | } |
---|
71 | } |
---|