RE: hsrp with ebgp

From: Vishal Patel (vpatel@accessproviders.com.au)
Date: Thu Jan 19 2006 - 02:49:36 GMT-3


The configs:

R1-

interface FastEthernet0
 ip address 192.168.0.25 255.255.255.0
 duplex auto
 speed auto
 no cdp enable
 standby ip 192.168.0.1
 standby priority 120
 standby preempt

router bgp 65001
 no synchronization
 bgp router-id 192.168.0.1
 bgp log-neighbor-changes
 network 2.2.2.0 mask 255.255.255.0
 neighbor 192.168.0.15 remote-as 65000
 neighbor 192.168.0.35 remote-as 65001
 no auto-summary
!

R1#sh standby
FastEthernet0 - Group 0
  State is Active
    17 state changes, last state change 00:21:17
  Virtual IP address is 192.168.0.1
  Active virtual MAC address is 0000.0c07.ac00
    Local virtual MAC address is 0000.0c07.ac00 (v1 default)
  Hello time 3 sec, hold time 10 sec
    Next hello sent in 0.436 secs
  Preemption enabled
  Active router is local
  Standby router is 192.168.0.35, priority 110 (expires in 8.148 sec)
  Priority 120 (configured 120)
  IP redundancy name is "hsrp-Fa0-0" (default)
R1#

R1# sh ip bgp
BGP table version is 2, local router ID is 192.168.0.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
*> 2.2.2.0/24 0.0.0.0 0 32768 i
R1#
R1#

R2 -

interface FastEthernet0
 ip address 192.168.0.35 255.255.255.0
 duplex auto
 speed auto
 no cdp enable
 standby ip 192.168.0.1
 standby priority 110
 standby preempt

router bgp 65001
 no synchronization
 bgp log-neighbor-changes
 neighbor 192.168.0.15 remote-as 65000
 neighbor 192.168.0.25 remote-as 65001
 no auto-summary

R2#sh standby
FastEthernet0 - Group 0
  State is Standby
    4 state changes, last state change 00:11:15
  Virtual IP address is 192.168.0.1
  Active virtual MAC address is 0000.0c07.ac00
    Local virtual MAC address is 0000.0c07.ac00 (v1 default)
  Hello time 3 sec, hold time 10 sec
    Next hello sent in 2.516 secs
  Preemption enabled
  Active router is 192.168.0.25, priority 120 (expires in 8.496 sec)
  Standby router is local
  Priority 110 (configured 110)
  IP redundancy name is "hsrp-Fa0-0" (default)
R2#

R2#sh ip bgp
BGP table version is 6, local router ID is 192.168.0.35
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
*>i2.2.2.0/24 192.168.0.25 0 100 0 I

Service provider router:

interface Ethernet0/0
 ip address 192.168.0.15 255.255.255.0
 half-duplex

router bgp 65000
 bgp log-neighbor-changes
 network 192.168.1.0
 neighbor 192.168.0.1 remote-as 65001
!

SP#sh ip bgp
BGP table version is 12, local router ID is 192.168.1.15
Status codes: s suppressed, d damped, h history, * valid, > best, i -
internal
Origin codes: i - IGP, e - EGP, ? - incomplete

   Network Next Hop Metric LocPrf Weight Path
*> 2.2.2.0/24 192.168.0.1 0 0 65001 i
SP#

-----Original Message-----
From: easyman [mailto:easyman@primetek.com.tw]
Sent: Thursday, 19 January 2006 4:32 PM
To: 'Vishal Patel'
Subject: RE: hsrp with ebgp

Hi, vishal

Could you paste your configuration?
It seem very interesting, I haven't done this on my lab before.
If your peer the other with your standby ip address.
How do you issue the neighbor x.x.x.x update interface-type/number command?
The only parameter we are allowed to use is interface name and number.
That will be your "physical ip" address not your "standby ip" address.

Regards,
Lin
-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
Vishal Patel
Sent: Thursday, January 19, 2006 1:15 PM
To: ccielab@groupstudy.com
Subject: hsrp with ebgp

hi,
 
iam trying to have a e-bgp peering with the standby ip address.
 
The bgp neighbor establishment works perfectly ok with the primary standby
ip address , but when i disconnect the primary router , the neigbour doesn't
re-establish with the secondary router's standby ip.
 
All the three routers are on same vlan.
 
Any ideas ?
 
thanks
 
vishal



This archive was generated by hypermail 2.1.4 : Wed Feb 01 2006 - 07:45:49 GMT-3