Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    How can I get BGP to do the default route and not the kernel

    Scheduled Pinned Locked Moved FRR
    1 Posts 1 Posters 186 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • E Offline
      ericlee
      last edited by

      How do I get B to be default so I can disable default gateway in the routing settings?
      What am I doing wrong?

      B 0.0.0.0/0 [20/0] via 10.10.196.17, ix0, weight 1, 00:07:55
      K>* 0.0.0.0/0 [0/0] via 10.10.196.17, ix0, 00:08:02
      C>* 172.85.0.0/25 [0/1] is directly connected, ix2, 00:08:02
      C>* 172.85.0.128/25 [0/1] is directly connected, bridge0, 00:08:02
      C>* 10.10.196.16/30 [0/1] is directly connected, ix0, 00:08:02
      C>* 192.168.1.0/24 [0/1] is directly connected, igb1, 00:08:02

      BGP table version is 3, local router ID is 10.10.196.130, vrf id 0
      Default local pref 100, local AS 651270
      Status codes: s suppressed, d damped, h history, * valid, > best, = multipath,
      i internal, r RIB-failure, S Stale, R Removed
      Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
      Origin codes: i - IGP, e - EGP, ? - incomplete
      RPKI validation codes: V valid, I invalid, N Not found

      Network          Next Hop            Metric LocPrf Weight Path
      

      *> 0.0.0.0/0 10.10.196.17 0 651524 i
      *> 172.85.1.0/24 0.0.0.0 0 651768 i

      ##################### DO NOT EDIT THIS FILE! ######################
      ###################################################################

      This file was created by an automatic configuration generator.

      The contents of this file will be overwritten without warning!

      ###################################################################
      !
      frr defaults traditional
      hostname router1
      password pass123
      log syslog
      service integrated-vtysh-config
      !
      ip router-id 10.10.196.130
      !
      router bgp 651270
      bgp log-neighbor-changes
      bgp router-id 10.10.196.130
      no bgp network import-check
      neighbor 10.42.196.17 remote-as 651524
      !
      address-family ipv4 unicast
      network 172.85.0.0/24 route-map Route-All
      neighbor 10.10.196.17 activate
      neighbor 10.10.196.17 default-originate route-map Route-All
      no neighbor 10.10.196.17 send-community
      neighbor 10.10.196.17 route-map Route-All in
      neighbor 10.10.196.17 route-map Route-All out
      neighbor 10.10.196.17 unsuppress-map Route-All
      exit-address-family
      !
      address-family ipv6 unicast
      neighbor 10.10.196.17 activate
      no neighbor 10.10.196.17 send-community
      neighbor 10.10.196.17 route-map Route-All in
      neighbor 10.10.196.17 route-map Route-All out
      neighbor 10.10.196.17 unsuppress-map Route-All
      exit-address-family
      !
      !
      route-map Route-All permit 100
      !
      line vty
      !

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.