Hi,

I am having problem with OSPFv4 configuration.

##################################
# first router
##################################
[EMAIL PROTECTED] show protocols ospf4
    router-id: 1.1.1.1
    traceoptions {
        flag {
            all {
            }
        }
    }
    area 0.0.0.0 {
        interface vlan2 {
            vif vlan2 {
                address 10.1.1.1 {
                    passive: true
                }
            }
        }
        interface vlan4 {
            vif vlan4 {
                address 1.1.1.1 {
                }
            }
        }
        interface vpn0 {
            link-type: "p2p"
            vif vpn0 {
                address 10.1.2.13 {
                    passive: true
                }
            }
        }
        interface vlan50 {
            vif vlan50 {
                address 10.10.0.3 {
                    passive: true
                }
            }
        }
    }

[EMAIL PROTECTED] show interfaces
    interface vlan2 {
        description: "aaa"
        default-system-config
    }
    interface vlan4 {
        description: "bbb"
        default-system-config
    }
    interface vlan50 {
        description: "ccc"
        default-system-config
    }
    interface vpn0 {
        description: "ddd"
        default-system-config
    }

#######################################
#second router
#######################################
[EMAIL PROTECTED] show protocols ospf4
    router-id: 1.1.1.2
    traceoptions {
        flag {
            all {
                disable: true
            }
        }
    }
    area 0.0.0.0 {
        interface eth2 {
            vif eth2 {
                address 1.2.2.3 {
                    passive: true
                }
            }
        }
        interface vpn0 {
            link-type: "p2p"
            vif vpn0 {
                address 10.1.2.17 {
                    passive: true
                }
            }
        }
        interface eth1 {
            vif eth1 {
                address 1.1.1.2 {
                }
            }
        }
    }

[EMAIL PROTECTED] show interfaces
    interface eth0 {
        description: "adewt"
        default-system-config
    }
    interface eth1 {
        description: "asdwt"
        default-system-config
    }
    interface eth2 {
        description: "asdwq"
        default-system-config
    }
    interface vpn0 {
        description: "asdd"
        default-system-config
    }


Both routers establish connections but they are unable to exchange
routes. They exchange inly interface informations but with wrong
masks. E.g. I have interface I have interface vlan2 on router asd1
with 10.1.1.1/24 but this route never occur like this on router asd2.
It occurs only as 10.1.1.1/32 via 1.1.1.1.

Can somebody please tell me what I am doing wrong?

Thanks for any ideas.

-- 
Stefan Gula

_______________________________________________
Xorp-hackers mailing list
[email protected]
http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-hackers

Reply via email to