I have a remote branch that is connected to my Main site via BGP.
The BGP is up and active.
I was unable to avertise a 16 bit subnet to the main branch for my 24 bit VLAN addresses that have been created.
I had the below config at first and the router did not advertise my subnet to the main branch until I changed the mask on the router interface to a 16 bit subnet (10.1.0.0).
The goal is to advrtise a 16 bit subnet so I don't have every route from the remote branch in the main branch route table and I can communicate with all subnets.
Can this be done?
description Link to switch
ip address 10.1.1.1 255.255.255.0
router bgp 65004
network 10.1.0.0 mask 255.255.0.0
network 172.16.254.1 mask 255.255.255.255
network 22.214.171.124 mask 255.255.255.252
neighbor 126.96.36.199 remote-as 65000
neighbor 188.8.131.52 version 4
neighbor 184.108.40.206 soft-reconfiguration inbound