08-28-2023
02:04 PM
- last edited on
08-28-2023
11:51 PM
by
Translator
Hey guys.
I need help configuring a
Cisco 899G-LTE
for two incoming internet connections.
1st VIVO Fiber (Primary)
A network cable will come out of the modem and connect to the WAN interface of the
899G-LTE router (GigabitEthernet9)
Local IPv4 address: 192.168.15.1
Public IPv4 address: 201.68.175.151
Default Gateway: 187.100.231.14
____________________________________________________________________
2nd 4G / LTE Cellular Operator (Secondary)
It will assume as soon as the disconnection/lack of internet of the
GigabitEthernet9
interface is identified.
____________________________________________________________________
I've already looked for several alternatives in forums but I haven't found any that suit me exactly this way.
I'm reading some docs about IP SLA but I still don't understand much.
This is my configuration:
cellular 0 lte profile create 1 zap.vivo.com.br pap vivo vivo |
! |
ip dhcp excluded-address 192.168.200.1 192.168.200.6 |
! |
ip dhcp pool LAN_POOL |
network 192.168.200.0 255.255.255.0 |
default-router 192.168.200.1 |
dns-server 8.8.8.8 8.8.4.4 |
domain-name Home |
! |
ip cef |
ipv6 unicast-routing |
ipv6 cef |
! |
multilink bundle-name authenticated |
! |
chat-script lte "" "AT!CALL" TIMEOUT 20 "OK" |
! |
license udi pid C899G-LTE-LA-K9 sn FJC2249L1H3 |
! |
spanning-tree portfast bpduguard |
! |
redundancy |
! |
controller Cellular 0 |
lte sim data-profile 1 attach-profile 1 slot 0 |
lte sim fast-switchover enable |
lte sim max-retry 60 |
lte modem link-recovery disable |
! |
! |
interface Cellular0 |
description Conexao 4G |
ip address negotiated |
ip nat outside |
ip virtual-reassembly in |
encapsulation slip |
ip tcp adjust-mss 1460 |
dialer in-band |
dialer string lte |
dialer-group 1 |
! |
interface Cellular1 |
no ip address |
encapsulation slip |
shutdown |
! |
interface range GigabitEthernet0-7 |
description LAN Ports |
switchport access vlan 10 |
switchport mode access |
no ip address |
spanning-tree portfast |
! |
! |
interface GigabitEthernet8 |
no ip address |
shutdown |
duplex auto |
speed auto |
! |
interface GigabitEthernet9 |
no ip address |
duplex auto |
speed auto |
! |
interface Vlan1 |
no ip address |
shutdown |
! |
interface Vlan10 |
ip address 192.168.200.1 255.255.255.0 |
ip nat inside |
ip virtual-reassembly in |
! |
ip forward-protocol nd |
no ip http server |
no ip http secure-server |
! |
ip nat inside source list BKP interface Cellular0 overload |
ip route 0.0.0.0 0.0.0.0 Cellular0 |
! |
ip access-list extended BKP |
permit ip 192.168.200.0 0.0.0.255 any |
! |
dialer-list 1 protocol ip permit |
ipv6 ioam timestamp |
! |
control-plane |
! |
mgcp behavior rsip-range tgcp-only |
mgcp behavior comedia-role none |
mgcp behavior comedia-check-media-src disable |
mgcp behavior comedia-sdp-force disable |
! |
mgcp profile default |
! |
line con 0 |
exec-timeout 0 0 |
no modem enable |
line aux 0 |
line 2 |
no activation-character |
no exec |
transport preferred none |
stopbits 1 |
line 3 |
script dialer lte |
no exec |
rxspeed 150000000 |
txspeed 50000000 |
line 8 |
no exec |
line vty 0 4 |
login |
transport input none |
! |
scheduler allocate 20000 1000 |
! |
end |
Solved! Go to Solution.
08-28-2023 05:19 PM
Hi @balaji.bandi .
I got Failover working thanks to your help!
I'm adding my current settings for others to use in their future projects.
If you have any observations that can improve the script in any way, I'll be grateful!
once again thank you very much for your help!
08-28-2023 02:18 PM
IP SLA Track with Failover is the option for you
couple of reference which was working as expected :
https://community.cisco.com/t5/routing/load-balancing-and-failover-for-isp-links/td-p/4037409
08-28-2023 05:19 PM
Hi @balaji.bandi .
I got Failover working thanks to your help!
I'm adding my current settings for others to use in their future projects.
If you have any observations that can improve the script in any way, I'll be grateful!
once again thank you very much for your help!
08-29-2023 08:32 AM
glad all working good as expected/.
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