Question regarding bgp default routes

mrblackmamba343mrblackmamba343 Inactive Imported Users Posts: 136
what would cause a router to have a bgp default route of 0.0.0.0 with a next hop of 0.0.0.0 and weight of 0?


usually when a router originates a default route the weight in the bgp routing table is 32768...why would that change to zero?

Comments

  • DPGDPG Member Posts: 780 ■■■■■□□□□□
    A weight of 0 usually means that it was originated on another router.
  • MonkerzMonkerz Member Posts: 842
    Only thing I can think of is a route-map changing the weight of your default route.

    Can you post your config?
  • mrblackmamba343mrblackmamba343 Inactive Imported Users Posts: 136
    remote router

    router bgp 64512
    bgp log-neighbor-changes
    bgp confederation identifier 65535
    no bgp default ipv4-unicast


    address-family ipv4
    neighbor 192.168.1.1 activate
    neighbor 192.168.1.1 default-originate



    My routers address is 192.168.1.12 and I have a similar configuration on it
  • mrblackmamba343mrblackmamba343 Inactive Imported Users Posts: 136
    remote router

    router bgp 64512
    bgp log-neighbor-changes
    bgp confederation identifier 65535
    no bgp default ipv4-unicast


    address-family ipv4
    neighbor 192.168.1.1 activate
    neighbor 192.168.1.1 default-originate



    My routers address is 192.168.1.12 and I have a similar configuration on it

    I found out the reason why...........

    since I'm sending default routes both ways, the 0.0.0.0 next hop with a weight of 0 is for loop prevention
Sign In or Register to comment.