Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

managing bgp pubblic classes

Hello everyone,
subject as I have established a BGP session with my provider and the classes seem to propagate correctly (it says my provider) and what he says RIPE! i can reach also get to the ip .1 (configured on a loopback interface of the router bgp neighbor and used for) from another line (outside) ...

show ip bgp neighbors ip_fornito_da_provider advertised-routes
BGP table version is 351730, local router ID is xx.yy.zz.1
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
               r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete

   Network          Next Hop            Metric LocPrf Weight Path

*> xx.yy.zz.tt/21    0.0.0.0                  0         32768 i

Total number of prefixes 1

gigabit0/0 is directly connected to Internet with multiple ip address (1 pubblic for going internet and 1 private for making BGP) my provider says to me to do this ! :O (outgoing interface on the Internet)

here configuration:

GigabitEthernet0/0 is up, line protocol is up
  Internet address is pubblic_ip_of_upstream provider/24
  Broadcast address is 255.255.255.255
  Address determined by non-volatile memory
  MTU is 1500 bytes
  Helper address is not set
  Directed broadcast forwarding is disabled
  Secondary address 192.168.100.1/24   <----------- ip for making bgp
  Outgoing access list is not set
  Inbound  access list is not set


Loopback0 is up, line protocol is up
  Internet address is my_first_ip_/32
  Broadcast address is 255.255.255.255

this is my static route table (without full routing table of BGP)

zcrp1_aq#show ip route stat

Gateway of last resort is not set

      xx.yy.0.0/16 is variably subnetted, 30 subnets, 5 masks <------- class B of my public network also if i've received from Ripe a /21
S        xx.yy.zz.0/21 is directly connected, Null0 <------ my /21
      aa.bb.cc.0/32 is subnetted, 1 subnets <------ neighbor of provider
S        aa.bb.cc.dd [1/0] via 192.168.100.2 



this is the problem now ... I would give my public interface directly on top of the router ....

so i can connect to my gigabit ethernet0/1 and assign pubblic address aa.bb.cc.4 255.255.248.0 gateway aa.bb.cc.1 and able to internet with that address so i can connect an ASA that will handle the public through NAT and PAT

You can do such a thing?
I apologize if it's a simple thing but it is the first BGP configuration and are a bit in trouble .. I searched around but have not found anything like what I'm looking for ...
thanks to all those who want to answer and help me

1 REPLY

Re: managing bgp pubblic classes

up please ...

181
Views
0
Helpful
1
Replies
CreatePlease login to create content