Re: Distribute Loopback1 with 255.255.255.255 mask in BGP

From: Ming Ki Au (aurmkstr@gmail.com)
Date: Tue Jan 09 2007 - 03:50:27 ART


Dear Xiangling,

I forget the platform and IOS version as I tried it at a trial lab before.
Now I re-do it in another lab environment and it works? Is there some
platform / IOS version that do not support this?

On 1/9/07, Xiangling <xianglingzj@gmail.com> wrote:
>
> Sorry but what platform and IOS version are you using? It works find for
> me on Dynamips,
>
> R1#conf t
> Enter configuration commands, one per line. End with CNTL/Z.
> R1(config)#no ip routing
> R1(config)#ip routing
> R1(config)#int loopback200
> R1(config-if)#ip address 200.101.3.1 255.255.255.255
> R1(config-if)#
> R1(config-if)#router bgp 1
> *Mar 1 04:02:52.114: %LINEPROTO-5-UPDOWN: Line protocol on Interface
> Loopback200, changed state to up3
> R1(config-router)#bgp router-id 13.13.1.1
> R1(config-router)#no synchronization
> R1(config-router)#no auto-summary
> R1(config-router)#network 200.101.3.1 mask 255.255.255.255
> R1(config-router)#^Z
> R1#sh
> *Mar 1 04:03:00.406: %SYS-5-CONFIG_I: Configured from console by console
> R1#sh ip bgp
> BGP table version is 2, local router ID is 13.13.1.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
> *> 200.101.3.1/32 0.0.0.0 0 32768 i
> R1#
>
>
> On 1/9/07, Ming Ki Au <aurmkstr@gmail.com> wrote:
> >
> > Hi,
> >
> > My configuration is as follows.
> >
> > int loopback200
> > ip address 200.101.3.1 255.255.255.255
> >
> > router bgp 13
> > bgp router-id 13.13.1.1
> > no synchronization
> > no auto-summary
> > network 200.101.3.1 mask 255.255.255.255
> >
> > I think there is no problem with the above configuration right? But it
> > cannot distribute the loopback200. But wonderful is when I change the mask
> > both in the interface and inside the router bgp, it works!!
> >
> > Anybody can help?
> >
> >
> > On 1/7/07, Xiangling <xianglingzj@gmail.com > wrote:
> > >
> > > Please attach your configuration and output of "show ip route" command
> > > here.
> > >
> > >
> > >
> > > On 1/7/07, Ming Ki Au <aurmkstr@gmail.com> wrote:
> > > >
> > > > Dear,
> > > >
> > > > Yes, my mask is exactly the same but still cannot advertise. Any
> > > > idea?
> > > >
> > > >
> > > > On 1/7/07, Xiangling <xianglingzj@gmail.com > wrote:
> > > > >
> > > > > Your net...mask... statement must match your routing table.
> > > > > Neither subnet nor supernet is considered "match". Thus your mask used must
> > > > > be the same as the one you put on the interface.
> > > > >
> > > > > On 1/7/07, Ming Ki Au < aurmkstr@gmail.com > wrote:
> > > > >
> > > > > > Dear all,
> > > > > >
> > > > > > I have tried the following, both of them are not work. But when
> > > > > > I change the
> > > > > > loopback interface to
> > > > > > lo0 Ip address
> > > > > >
> > > > > > Ip addr 1.1.1.1 255.255.255.0 it can be distributed
> > > > > > immediately. Can
> > > > > > anybody tell me why?
> > > > > >
> > > > > > On 1/7/07, Narbik Kocharians < narbikk@gmail.com> wrote:
> > > > > > >
> > > > > > > There are may be many ways to accomplish that task
> > > > > > (advertising a host
> > > > > > > route
> > > > > > > in BGP) here is two:
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > 1- To advertise the loopback interface as follows:
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > Int lo0
> > > > > > >
> > > > > > > Ip addr 1.1.1.1 255.255.255.255
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > Router bgp 100
> > > > > > >
> > > > > > > Network 1.1.1.1 mask 255.255.255.255
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > 1. To redistribute:
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > Int lo1
> > > > > > >
> > > > > > > Ip address 10.1.1.1 255.255.255.255
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > Access-list 1 permit host 10.1.1.1
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > Route-map TST per 10
> > > > > > >
> > > > > > > Match ip addr 1
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > Router bgp 100
> > > > > > >
> > > > > > > Redistribute connected route-map TST
> > > > > > >
> > > > > > >
> > > > > > > On 1/6/07, Ricky MK Au < aurmk@hk1.ibm.com> wrote:
> > > > > > > >
> > > > > > > > Dear all,
> > > > > > > >
> > > > > > > > I would like to redistribute the Loopback1 address (
> > > > > > 200.101.3.1 mask
> > > > > > > > 255.255.255.255) into BGP but fail. Is there a special
> > > > > > method to
> > > > > > > > redistribute the loopback with host address into BGP? FYI, I
> > > > > > can
> > > > > > > > redistribute another loopback with mask 255.255.255.0.
> > > > > > > >
> > > > > > > >
> > > > > > _______________________________________________________________________
> > > > > > > > Subscription information may be found at:
> > > > > > > > http://www.groupstudy.com/list/CCIELab.html
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > Narbik Kocharians
> > > > > > > CCIE# 12410 (R&S, SP, Security)
> > > > > > > CCSI# 30832
> > > > > > > Network Learning, Inc. (CCIE class Instructor)
> > > > > > > www.ccbootcamp.com (CCIE Training)
> > > > > > >
> > > > > > >
> > > > > > _______________________________________________________________________
> > > > > > > Subscription information may be found at:
> > > > > > > http://www.groupstudy.com/list/CCIELab.html
> > > > > >
> > > > > > _______________________________________________________________________
> > > > > >
> > > > > > Subscription information may be found at:
> > > > > > http://www.groupstudy.com/list/CCIELab.html
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Thanks & Regards,
> > > > > Xiangling
> > > > > |-------------------------|
> > > > > | |
> > > > > \ I Love You All /
> > > > > \ /
> > > > > \___________/
> > > >
> > > >
> > > >
> > >
> > >
> > > --
> > > Thanks & Regards,
> > > Xiangling
> > > |-------------------------|
> > > | |
> > > \ I Love You All /
> > > \ /
> > > \___________/
> > >
> >
> >
>
>
> --
> Thanks & Regards,
> Xiangling
> |-------------------------|
> | |
> \ I Love You All /
> \ /
> \___________/



This archive was generated by hypermail 2.1.4 : Thu Feb 08 2007 - 23:46:56 ART