03-14-2023 10:38 AM
hi I have an ASR1001 pppoe server. If one customer have two connection and only one public ip, i must add static routers for give to customers router public ip for go to internet.
ex
ip route 31.188.188.188 255.255.255.255 10.10.10.12 10
ip route 31.188.188.188 255.255.255.255 10.10.10.13 11
if one main connection fault, customer use backup line.
in this case, doesnt happen. If main go down second static route is not used.
in show ip cef i see that private ip 10.10.10.12 is searching via a bgp connection that have the asr but in the network there is no this ip.
someone had this trouble?
asr1001 v 17.06.03a
thank you
03-14-2023 11:12 AM
if the interface for both static router is same then both static route will failed and remove from RIB.
03-15-2023 01:21 PM
hi no the pppoe client 10.10.10.12 and 10.10.10.13 go to pppoe server in two different vlan. phisical interface 10G port is the same but i have one vlan for each pop
03-15-2023 01:23 PM
here the screen
C 10.10.10.12/32 is directly connected, Virtual-Access2.797
C 10.10.10.13/32 is directly connected, Virtual-Access2.482
S 31.188.188.188/32 [10/0] via 10.10.10.12
03-15-2023 01:41 PM
ip route 31.188.188.188 255.255.255.255 10.10.10.12 10
ip route 31.188.188.188 255.255.255.255 10.10.10.13 11
S 31.188.188.188/32 [10/0] via 10.10.10.12
here I think the static route is push from your SP and it override both your static route.
ppp ipcp route default <<- remove this and your config static route will take effect.
by the way I prefer the ppp ipcp route default.
03-15-2023 02:58 PM
thanks for reply I will do a test in few days.
There is other way for push same loopback ip in two diffent gateway?
have a nice day
03-15-2023 03:47 PM
There is other way for push same loopback ip in two diffent gateway? As I know no, the PPP IPCP push only default route toward client with GW IP of Server.
03-20-2023 08:39 PM
I need that my router push default route to clients. If I remove this command I can do it?
I dont see this command in my show config is correct?
03-21-2023 02:43 AM
sorry can more elaborate I dont get your Q?
03-21-2023 09:08 AM
sorry
I dont have in my show config the command "ppp ipcp route default"
So I use it? If Yes, if I remove, my customers will have dynamic default route?
thankyou
03-21-2023 09:34 AM - edited 03-26-2023 02:40 PM
please check below my comment
03-21-2023 01:33 AM - edited 03-21-2023 01:34 AM
Hello
you can make those static routes conditional
track 1 interface <main interface> ip routing
ip route 31.188.188.188 255.255.255.255 10.10.10.12 10 name Main_ISP track 1
ip route 31.188.188.188 255.255.255.255 10.10.10.13 11 2 name Backup_ISP
03-23-2023 11:10 AM
hi I try with this too but doesnt work. Only main route is working and second one doesnt go up if the main fails.
thank you
03-23-2023 01:26 PM
Hello
@assistenzaelia wrote:
hi I try with this too but doesnt work. Only main route is working and second one doesnt go up if the main fails.
try
track 1 interface <main interface> line-protocol
03-26-2023 02:39 PM
why the second one not down ??
let discuss case
the static route have down if
1- the egress interface is down, this immediate will withdraw the static route
2- next-hop is unreachable, this need IP SLA to detect that the next-hop or IP reach via next-hop is reachable or not
NOW here we are in loop !! Yes Loop
the next-hop is always reachable, but how?
there is default route, this make next-hop always reachable (not totally reachable but the router assume it reachable since there is static or dynamic route that router will use it to reach the next-hop).
how we can solve this case??
first the next-hop is LO or IP address of virtual-template you config in ASR (PPPoE Server)
this next-hop is only appear when the PPPoE is UP
when it down this IP will remove and hence static route will withdraw
we must sure that the PPPoE server not inject default route via second PPPoE, this make router assume that the next-hop is reachable and hence never remove the static route via first PPPoE (first one).
but I need default route n client site ! here we can add the dailer interface of first PPPoE in static route
this also can not help me
you can use IP sla track to detect the next-hop of first PPPoE (please check this solution I am not 100% sure you can use dialer as source-interface in IP SLA command)
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