Re: How to advertise ethernet IP as /32 in BGP

From: Mathew <mathewfer_at_gmail.com>
Date: Thu, 31 Mar 2011 06:49:13 +1100

Hi Sadiq,

First thank you for the reply

I tried this when you enter static, it takes into the configuration
but when this /32 will NOT be in the routing table.
When you do "show ip route" to this /32 IP without specifying the
mask, it will show it with the /24 (mask of LAN interface).
When you do "show ip route" to this /32 IP with specifying the mask,
it will not show a route.

Because it is NOT in the routing table as a static, BGP does not advertise.

It looks to me this is a IOS limitation but I can not believe this is
difficult/impossible.

Any more ideas are welcome.

Mathew

On Wed, Mar 30, 2011 at 10:22 PM, Sadiq Yakasai <sadiqtanko_at_gmail.com> wrote:
> What happens when you do a /32 static out the ethernet interface and then
> use a network statement in BGP to inject the prefix?
>
> On Wed, Mar 30, 2011 at 6:59 AM, Mathew <mathewfer_at_gmail.com> wrote:
>>
>> Hi All,
>>
>> First, thank you for all the replies.
>>
>> Unfortunately, I still could not get that to work.
>>
>> 1. The NAT option did not work as I have the below entry.
>> ip nat inside source list TRAFFIC-ACL interface FastEthernet0/0 overload
>>
>> 2. With BGP route injection, it did not work as it is not possible to
>> match source of IP - in this case locally generated from Ethernet. I
>> think it is not possible to identify the source of the router when the
>> /24 mask on Ethernet interface.
>>
>> Any more ideas to get this done are welcome & thanks in advance.
>>
>> Mathew
>>
>> On Wed, Mar 30, 2011 at 8:16 AM, Bobola Oke <okebobola_at_gmail.com> wrote:
>> > Wow,
>> >
>> > I was thinking about this all day.....
>> >
>> > PPPoE is the way to go here. Thanks Narbik
>> >
>> > Will lab this up later.
>> >
>> > Regards
>> >
>> > On 3/29/11, Narbik Kocharians <narbikk_at_gmail.com> wrote:
>> >> Mathew,
>> >>
>> >> Does it have to be advertised in BGP?
>> >>
>> >> Because you can run PPP and the other router will have a /32 route for
>> >> your
>> >> Ethernet's IP address.
>> >>
>> >> On Tue, Mar 29, 2011 at 10:51 AM, stephen okoye <tosco12_at_yahoo.co.uk>
>> >> wrote:
>> >>
>> >>> hi,
>> >>>
>> >>> have you tried advertising into an IGP, say ospf as /32, then
>> >>> redistribute the
>> >>> IGP into bgp?
>> >>>
>> >>>
>> >>>
>> >>> ________________________________
>> >>> From:
>> >>> garry baker <baker.garry_at_gmail.com>
>> >>> To: Mathew <mathewfer_at_gmail.com>
>> >>> Cc:
>> >>> Nadeem Rafi <nrafia_at_gmail.com>; Cisco certification <
>> >>> ccielab_at_groupstudy.com>
>> >>> Sent: Tue, 29 March, 2011 8:49:57
>> >>> Subject: Re: How to advertise ethernet IP as
>> >>> /32 in BGP
>> >>>
>> >>> not sure the complete scenario but how about using 'bgp
>> >>> inject-map'
>> >>>
>> >>>
>> >>> http://www.cisco.com/en/US/docs/ios/iproute_bgp/configuration/guide/irg_basic
>> >>> _net_ps6441_TSD_Products_Configuration_Guide_Chapter.html#wp1055919
>> >>>
>> >>> --
>> >>> Garry
>> >>> L. Baker
>> >>>
>> >>> "With sufficient thrust, pigs fly just fine..." - RFC 1925
>> >>>
>> >>>
>> >>>
>> >>> On
>> >>> Tue, Mar 29, 2011 at 10:30 AM, Mathew <mathewfer_at_gmail.com> wrote:
>> >>>
>> >>> > Hi
>> >>> Nadeem,
>> >>> >
>> >>> > Thanks for the quick reply. It is not possible. Also I want to
>> >>> keep
>> >>> > tha mask as /24 on Ethernet & find a way to advertise it also as /32
>> >>> >
>> >>> for NAT/PAT purpose.
>> >>> >
>> >>> > Any more ideas???
>> >>> >
>> >>> > R2#int FastEthernet0/0
>> >>> >
>> >>> R2(config-if)#
>> >>> > R2(config-if)#ip address 1.1.1.1 255.255.255.255
>> >>> > Bad mask
>> >>> /32 for address 1.1.1.1
>> >>> > R2(config-if)#
>> >>> >
>> >>> > Mathew
>> >>> >
>> >>> > On Tue, Mar 29, 2011
>> >>> at 6:19 PM, Nadeem Rafi <nrafia_at_gmail.com> wrote:
>> >>> > > simple way is to change
>> >>> ip address on ethernet from x.x.x.x 255.255.255.0
>> >>> > to
>> >>> > > 255.255.255.255 and
>> >>> then advertise this address in BGP.
>> >>> > > HTH
>> >>> > >
>> >>> > > On Tue, Mar 29, 2011 at
>> >>> 10:15 AM, Mathew <mathewfer_at_gmail.com> wrote:
>> >>> > >>
>> >>> > >> Hi All,
>> >>> > >>
>> >>> > >> Is
>> >>> there a way to advertise Ethernet IP as /32 route in BGP?
>> >>> > >>
>> >>> > >> I have a
>> >>> requirement to advertise Ethernet IP as /32 (host route) in
>> >>> > >> BGP so other
>> >>> routers will see it as a host route.
>> >>> > >>
>> >>> > >> In fact, I tried many way
>> >>> (static to null, loopback - not possible
>> >>> > >> etc) without a success & I
>> >>> believe there is a simple way to do that.
>> >>> > >>
>> >>> > >> Any suggestions/workaround
>> >>> is appreciated.
>> >>> > >>
>> >>> > >> R2#sho runn int fast 0/0
>> >>> > >> Building
>> >>> configuration...
>> >>> > >>
>> >>> > >> Current configuration : 530 bytes
>> >>> > >> !
>> >>> > >>
>> >>> interface FastEthernet0/0
>> >>> > >> ip address 10.100.40.2 255.255.255.0
>> >>> > >> !
>> >>> >
>> >>> >> .
>> >>> > >> .
>> >>> > >>
>> >>> > >> --
>> >>> > >> Thanks
>> >>> > >>
>> >>> > >> Mathew
>> >>> > >>
>> >>> > >>
>> >>> > >> Blogs and
>> >>> organic groups at http://www.ccie.net
>> >>> > >>
>> >>> > >>
>> >>>
>> >>> _______________________________________________________________________
>> >>> > >>
>> >>> Subscription information may be found at:
>> >>> > >>
>> >>> http://www.groupstudy.com/list/CCIELab.html
>> >>> > >>
>> >>> > >>
>> >>> > >>
>> >>> > >>
>> >>> > >>
>> >>> > >>
>> >>> > >>
>> >>> > >
>> >>> > >
>> >>> >
>> >>> >
>> >>> >
>> >>> > --
>> >>> > Thanks
>> >>> >
>> >>> > Mathew
>> >>> >
>> >>> >
>> >>> > Blogs and organic groups at
>> >>> http://www.ccie.net
>> >>> >
>> >>> >
>> >>>
>> >>> _______________________________________________________________________
>> >>> >
>> >>> Subscription information may be found at:
>> >>> >
>> >>> http://www.groupstudy.com/list/CCIELab.html
>> >>>
>> >>>
>> >>> Blogs and organic groups at
>> >>> http://www.ccie.net
>> >>>
>> >>> _______________________________________________________________________
>> >>> Subscription information may be found at:
>> >>> http://www.groupstudy.com/list/CCIELab.html
>> >>>
>> >>>
>> >>> Blogs and organic groups at http://www.ccie.net
>> >>>
>> >>>
>> >>> _______________________________________________________________________
>> >>> Subscription information may be found at:
>> >>> http://www.groupstudy.com/list/CCIELab.html
>> >>>
>> >>>
>> >>>
>> >>>
>> >>>
>> >>>
>> >>>
>> >>>
>> >>
>> >>
>> >> --
>> >> *Narbik Kocharians
>> >> *CCSI#30832, CCIE# 12410 (R&S, SP, Security)
>> >> www.MicronicsTraining.com <http://www.micronicstraining.com/>
>> >> Sr. Technical Instructor
>> >> *Ask about our FREE Lab Voucher with our Boot Camps*
>> >> YES! We take Cisco Learning Credits!
>> >> Training & Remote Racks available
>> >>
>> >>
>> >> Blogs and organic groups at http://www.ccie.net
>> >>
>> >> _______________________________________________________________________
>> >> Subscription information may be found at:
>> >> http://www.groupstudy.com/list/CCIELab.html
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >
>> >
>> > --
>> > Bobola Oke
>> >
>>
>>
>>
>> --
>> Thanks
>>
>> Mathew
>>
>>
>> Blogs and organic groups at http://www.ccie.net
>>
>> _______________________________________________________________________
>> Subscription information may be found at:
>> http://www.groupstudy.com/list/CCIELab.html
>>
>>
>>
>>
>>
>>
>>
>
>
>
> --
> CCIEx2 (R&S|Sec) #19963
>

-- 
Thanks
Mathew
Blogs and organic groups at http://www.ccie.net
Received on Thu Mar 31 2011 - 06:49:13 ART

This archive was generated by hypermail 2.2.0 : Fri Apr 01 2011 - 06:35:42 ART