close

Privacy guaranteed - Your email is not shared with anyone.

Cisco BGP routing

Discussion in 'Tech Talk' started by grantglock, Feb 25, 2005.

  1. grantglock

    grantglock /dev/null

    Messages:
    219
    Likes Received:
    0
    Joined:
    Feb 20, 2004
    Location:
    Iowa
    Does anyone know why my 207.14.46.0 network is not showing the mask?

    I used this command to add the network

    network 207.14.46.0 mask 255.255.255.0



    router bgp 15011
    bgp log-neighbor-changes
    network 63.162.195.0 mask 255.255.255.0
    network 65.174.244.0 mask 255.255.255.0
    network 65.174.245.0 mask 255.255.255.0
    network 65.174.246.0 mask 255.255.255.0
    network 207.14.46.0
    neighbor 144.228.242.180 remote-as 1239
    neighbor 144.228.242.180 ebgp-multihop 2
    neighbor 144.228.242.180 update-source Loopback0
    neighbor 144.228.242.180 version 4
     
  2. Blazen

    Blazen B-Lazy

    Messages:
    42
    Likes Received:
    0
    Joined:
    Oct 3, 2001
    Location:
    Texas
    I think that is how its supposed to look.

    Looking at an old config from a 7206xvr router, this is what mine looked like:

    router bgp 11244
    no synchronization
    bgp always-compare-med
    network 12.41.99.0 mask 255.255.255.0
    network 208.240.204.0
    neighbor 12.127.191.65 remote-as 7018
    neighbor 12.127.191.65 route-map ATT_Out out
    neighbor 12.127.191.65 filter-list 1 out
    neighbor 63.237.96.65 remote-as 209
    neighbor 63.237.96.65 route-map qwestOut out
    neighbor 63.237.96.65 filter-list 1 out
    neighbor 208.240.204.10 remote-as 11244
    neighbor 208.240.204.10 next-hop-self
     

  3. grantglock

    grantglock /dev/null

    Messages:
    219
    Likes Received:
    0
    Joined:
    Feb 20, 2004
    Location:
    Iowa
    I should have actually looked at the cisco site

    Networks that fall on a major net boundary (255.0.0.0, 255.255.0.0, or 255.255.255.0) do not need to have a mask included. For example, the network 172.16.0.0 command is sufficient to send the prefix 172.16.0.0/16 into the BGP table. However, networks that do not fall on major net boundaries are required to have a network statement with a mask, such as network 172.16.10.0 mask 255.255.255.0.

    An exact route in the routing table is required for a network statement with a mask in order for it to be installed into a BGP table.