09-05-2014 09:50 PM - edited 03-04-2019 11:42 PM
Hi all,
On the 1841 router (site Lot210) I would like to configure IP SLA for my WAN secondary line which is using ADSL.
Existing primary line is using BGP and connect to the HQ.
Now i want if the BGP interface is down, the secondary ADSL line take over.
Please see below,
09-05-2014 10:44 PM
I think it is better to configure second BGP neibor throw adsl line
if you can share config I will do detailed instructions
09-06-2014 01:08 AM
is that possible?
here i attached the existing running-config without the IP SLA
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=
sh run
Building configuration...
Current configuration : 4019 bytes
!
version 12.4
!
!
interface FastEthernet0/0
description ADSL WAN Interface
no ip address
no ip redirects
no ip unreachables
no ip proxy-arp
no ip mroute-cache
duplex auto
speed auto
pppoe enable group global
pppoe-client dial-pool-number 1
no cdp enable
!
interface FastEthernet0/1.3
description $ETH-LAN$
encapsulation dot1Q 10 native
ip address 172.7.100.254 255.255.0.0
!
interface FastEthernet0/1.4
description VLAN for Naraya
encapsulation dot1Q 400
ip address 172.47.100.254 255.255.0.0
!
interface Serial0/1/0
description Primary Line IPVPN
ip address 58.139.x.x 255.255.255.252
no fair-queue
!
interface Dialer1
ip address negotiated
encapsulation ppp
shutdown
dialer pool 1
ppp authentication pap callin
ppp pap sent-username ise@com.my password 7 055A545C7519
!
router bgp 65322
no synchronization
bgp log-neighbor-changes
network 172.7.0.0
network 172.17.0.0
network 172.27.0.0
network 172.47.0.0
network 172.57.0.0
network 172.67.0.0
neighbor 58.139.x.xy remote-as 23736
no auto-summary
!
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 172.27.17.100
!
09-06-2014 01:54 AM
probably BGP must be like this
router bgp 65322
no synchronization
bgp log-neighbor-changes
network 172.7.0.0 mask 255.255.0.0
network 172.17.0.0 mask 255.255.0.0
network 172.27.0.0 mask 255.255.0.0
network 172.47.0.0 mask 255.255.0.0
network 172.57.0.0 mask 255.255.0.0
network 172.67.0.0 mask 255.255.0.0
and your advertised networks only 2 now
network 172.7.0.0 mask 255.255.0.0
network 172.47.0.0 mask 255.255.0.0
is this provider AS 23736 ?
you need to ask provider to give you static ip address on adsl link
and BGP neibor address on adsl link
and you will configure second BGP neighbor a.b.x.xy remote-as 23736
after that make
sh bgp nei det
I will do next config
09-06-2014 02:32 AM
Thanks for the response,
Please see below for the static IP of the Dialer 1, it is 114.133.141.63
LOT_10#sh ip int brie
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 unassigned YES NVRAM up up
FastEthernet0/1 unassigned YES NVRAM up up
FastEthernet0/1.1 172.17.100.254 YES NVRAM up up
FastEthernet0/1.2 172.27.100.254 YES NVRAM up up
FastEthernet0/1.3 172.7.100.254 YES NVRAM up up
FastEthernet0/1.4 172.47.100.254 YES NVRAM up up
FastEthernet0/1.5 172.57.100.254 YES NVRAM up up
FastEthernet0/1.6 172.67.100.254 YES NVRAM up up
Serial0/1/0 58.139.168.170 YES NVRAM up up
Virtual-Access1 unassigned YES unset up up
Virtual-Access2 unassigned YES unset up up
Dialer1 114.133.141.63 YES IPCP up up
09-06-2014 04:37 AM
only provider knows is it static or dynamic ip address 114.133.141.63
and they can do it static
after that they can use it as bgp neidbor
09-06-2014 05:15 AM
Hi,
yes,it is confirm static address.
so does below config OK?
How it should know preference primary and secondary?
router bgp 65322
no synchronization
bgp log-neighbor-changes
network 172.7.0.0
network 172.17.0.0
network 172.27.0.0
network 172.47.0.0
network 172.57.0.0
network 172.67.0.0
neighbor 58.139.168.169 remote-as 23736
neighbor 114.133.141.63 remote-as 23736
no auto-summary
09-06-2014 05:48 AM
no. it is not.
this is yours address 114.133.141.63
provider should give you corresponding peering BGP neigbor addres
just like
Serial0/1/0 58.139.168.170 (your side)
neighbor 58.139.168.169 remote-as 23736 (provider side)
preference primary and secondary can be made by weight from your side and provider side
and dont forget to rate posts
09-06-2014 08:04 AM
How about the routing?
Should I put routing as below,
ip route 0.0.0.0 0.0.0.0 58.139.168.169 210
ip route 0.0.0.0 0.0.0.0 Dialer 1 230
09-06-2014 09:29 AM
now you have
ip route 0.0.0.0 0.0.0.0 172.27.17.100
I think you dont need
ip route 0.0.0.0 0.0.0.0 58.139.168.169 210
ip route 0.0.0.0 0.0.0.0 Dialer 1 230
and you will get routes to 172.9.0.0/16 throw BGP (serial or adsl)
copy paste here
sh ip route
sh ip bgp
09-07-2014 12:14 PM
Ok, no need the route
ip route 0.0.0.0 0.0.0.0 58.139.168.169 210
ip route 0.0.0.0 0.0.0.0 Dialer 1 230
because route will go through BGP
but because the dialer 1 is ip negotiated, is it possible to configure BGP on using interface dialer??
by the way, attached is the log.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide