[Xorp-users] Xorp-users Digest, Vol 50, Issue 17

wubaochuan wubaochuan at seu.edu.cn
Fri May 28 01:45:09 PDT 2010


Hi Ben, could you post an example? I do not figure it out how to use 
policy in OSPF configuration.

Thanks
Chuan

于 2010-5-28 3:00, xorp-users-request at xorp.org 写道:
> Send Xorp-users mailing list submissions to
> 	xorp-users at xorp.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-users
> or, via email, send a message with subject or body 'help' to
> 	xorp-users-request at xorp.org
>
> You can reach the person managing the list at
> 	xorp-users-owner at xorp.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Xorp-users digest..."
>
>
> Today's Topics:
>
>     1. help, about OSPF configuration (wubaochuan)
>     2. Re: help, about OSPF configuration (Ben Greear)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 27 May 2010 23:01:16 +0800
> From: wubaochuan<wubaochuan at seu.edu.cn>
> Subject: [Xorp-users] help, about OSPF configuration
> To: xorp-users at xorp.org
> Message-ID:<474972474.19170 at seu.edu.cn>
> Content-Type: text/plain; charset=GB2312
>
> hello everyone,
> When I configure OSPF, I have the following problems.
>
> All the following four machine run Fedora 12, and the first one and the
> fourth one run as hosts, the second and
> the third run as routers.
>
> eth0 eth0 eth1 eth0 eth1 eth0
> |------| |----------| |------------| |-------|
> | | | | | | | |
> | |----------------| |---------------------|
> |----------------------------| |
> |------| |----------| |------------| |-------|
>
> hostA routerA routerB hostB
> eth0 10.10.10.2/24 eth0 10.10.10.1/24 eth0 10.10.11.2/24 eth0 10.10.12.2/24
> eth1 10.10.11.1/24 eth1 10.10.12.1/24
>
> routerA is configured with the following file:
> //routeA config.boot
> interfaces {
> interface eth0 {
> vif eth0 {
> address 10.10.10.1 {
> prefix-length: 24
> }
> }
> }
> interface eth1 {
> vif eth1 {
> address 10.10.11.1 {
> prefix-length: 24
> }
> }
> }
>
> }
>
> fea {
> unicast-forwarding4 {
> disable: false
> }
> }
>
> protocols {
> ospf4 {
> router-id: 10.10.10.1
>
> area 0.0.0.0 {
> interface eth0 {
> /* link-type: "broadcast" */
> vif eth0 {
> address 10.10.10.1 {
> }
> }
> }
> }
> area 0.0.0.1 {
> /* area-type: "normal" */
>
> interface eth1 {
> vif eth1 {
> address 10.10.11.1 {
> }
> }
> }
> }
> }
> }
>
>
> and routerB is configured with the following file:
> //routerB config.boot
> interfaces {
> interface eth0 {
> vif eth0 {
> address 10.10.11.2 {
> prefix-length: 24
> }
> }
> }
> interface eth1 {
> vif eth1 {
> address 10.10.12.1 {
> prefix-length: 24
> }
> }
> }
> }
>
> fea {
> unicast-forwarding4 {
> disable: false /*enable ipv4 forwarding*/
> }
> }
>
> protocols {
> ospf4 {
> router-id: 10.10.11.2
>
> area 0.0.0.1 {
> interface eth0 {
> /* link-type: "broadcast" */
> vif eth0 {
> address 10.10.11.2 {
> }
> }
> }
> }
>
> area 0.0.0.2 {
> /* area-type: "normal" */
>
> interface eth1 {
> vif eth1 {
> address 10.10.12.1 {
> }
> }
> }
> }
> }
> }
>
> When I run `show ospf4 neighbor` in routerB's xorpsh,
> the following lines appear:
> Address Interface State ID Pri Dead
> 10.10.11.1 eth0/eth0 Full 10.10.10.1 128 34
>
> but when I run `show route table ipv4 unicast ospf` in xorpsh
> nothing appears,
> I want to know, why there is nothing in the route table?
> how can I fix this problem?
>
>
> thanks
> Chuan
>
>
>
> ------------------------------
>
> Message: 2
> Date: Thu, 27 May 2010 10:14:57 -0700
> From: Ben Greear<greearb at candelatech.com>
> Subject: Re: [Xorp-users] help, about OSPF configuration
> To: wubaochuan<wubaochuan at seu.edu.cn>
> Cc: xorp-users at xorp.org
> Message-ID:<4BFEA891.7070704 at candelatech.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> On 05/27/2010 08:01 AM, wubaochuan wrote:
>    
>> hello everyone,
>> When I configure OSPF, I have the following problems.
>>
>> All the following four machine run Fedora 12, and the first one and the
>> fourth one run as hosts, the second and
>> the third run as routers.
>>      
> I think you just need to add a policy to export connected routes
> to OSPF.  I'll post an example later today if you don't find something
> sooner.
>
> Thanks,
> Ben
>
>    



More information about the Xorp-users mailing list