At present we have cisco 3750 switch, in this switch we are conigured BGP routing and bgp are established with our ISP, but problem is our ip 18.104.22.168/22 (255.255.252.0). when i assigned in fastEthernet 1/0/22 ip address 22.214.171.124 255.255.255.252 then i am not able to ping my wan ip
from router and also not able to ping from outside to this ip but when i configured in this fastethernet 1/0/22 126.96.36.199 255.255.252.0 then after i am able to ping from outside and also i am able to ping to my WAN ip from router. when only 255.255.252.0 subnet assigned after only i am able to ping my WAN otherwise never ping with other subnet.
when i configred subnet in this fastEthernet 255.255.255.252 / 255.255.255.0 / 255.255.255.192 i am not able to ping my neighbor WAN only this Subnet when i configuied all ip 255.255.252.0 then after i am able to ping so that's why i am not able to assign in this series IP to other interface if assign it is overlap with fas1/0/22.
so pl give me solution, how can i solve this issue.
Thanks in ADV,
Am I right assuming that you need to divide 188.8.131.52/22 into multiple small subnet and make them reachable from external world?.
If so, you can divide the same based on your requirement. Configure the network comand under BGP in a way that it matches the subnet mask correctly as below,
ip address 184.108.40.206 255.255.255.252
network 220.127.116.11 mask 255.255.255.252
Now, aggregate the network and advertise the same outside to your ISP through BGP as below,
aggregate-address 18.104.22.168 255.255.252.0 summary-only
This will advertise only 22.214.171.124/22 outside.
To verify the same,
First make sure you can see the prefix in your own BGP table using the below command,
show ip bgp 126.96.36.199
If the above doesnt work, Please post the config.