On Router1 I do:
router bgp 100
neighbor 18.104.22.168 remote-as 200
network 10.177.110.0 mask 255.255.255.0
network 10.177.330.0 mask 255.255.255.0
I do 'show ip bgp' and route 10.177.110.0 is advertised OK but 10.177.330.0 is not.
Then I did 'show ip route 10.177.330.0' and it stated:
Routing entry for 10.177.330.0/24
Known via "connected", distance 0, metric 0 (connected, via interface)
Routing Descriptor Blocks:
* directly connected, via Vlan3
Route metric is 0, traffic share count is 1
Then I notice that such '10.177.330.0/24' is advertised under the 'router osp[f 1' on Router1.
If this is learned via connected or IGP, shouldn't this network also get installed on the BGP routing table?
I do not understand why I do not see 10.177.330.0 under 'show ip bgp'.
as far as I know 330 is not a valid value for an IPv4 address that is formed by 32 bits written as 4 dotted decimal bytes so each value is in range 0-255
By the way,
one possible reason could be that the network command is mismatching in at least one bit with effective ip address on interface
Hope to help