ā07-27-2023 08:25 AM
How can I make default route via interface with loopback in bind mode?
interface Loopback1 tunnel-interface encapsulation ipsec color red bind GigabitEthernet1 no allow-service bgp allow-service dhcp allow-service dns allow-service icmp no allow-service sshd no allow-service netconf no allow-service ntp no allow-service ospf no allow-service stun allow-service https no allow-service snmp exit exit
ip route 0.0.0.0 0.0.0.0 GigabitEthernet1
Solved! Go to Solution.
ā07-29-2023 06:15 AM
It is not so similar.
In legacy case, you have physical port which inherits loopback IP.
In SD-WAN you have separate IPs in loopback and physical. So, return route is needed.
Plus, it is not recommended to have static route with exit interface it if is multiaccess based (ethernet is and requires arp). For each remote destination, router will generate arp and proxy-arp should help from ISP side.
In short, configure normal L3 interconnection with loopback having separate IP and return route in ISP side.
ā07-27-2023 08:44 AM - edited ā07-27-2023 08:45 AM
I think no need
Under vpn0
There are interface use to connect to MPLS or internet
And there is lo use only for TLOC.
So defualt route use WAN and tloc use lo
ā07-27-2023 05:23 PM
Of course I bind loopback to interface which is transport. It's GigabitEthernet1, and my route on the vpn0 via ip doesn't work, for legacy scheme I use route via interface.
My task is using /32 ip address as transport
ā07-27-2023 05:28 PM
It's place where we want to use cisco sdwan instead of vmware because of we need to increase performance. New vmware edge will arrived in 4 month and before it we want to move to cisco sdwan.
ā07-28-2023 10:51 PM
Hi,
did you configure default route for next-hop over Gig1 on your SD-WAN router and respective return route on upstream device (ISP, if it is production ask ISP to do it) for loopback interface?
ā07-28-2023 11:21 PM - edited ā07-28-2023 11:22 PM
route via Gig 1 I did, but return no, because I thought that it will be work without it as in legacy scheme (non sdwan)
For example - it works
edge#sh run int gi0/0.936
Building configuration...
Current configuration : 99 bytes
!
interface GigabitEthernet0/0.936
encapsulation dot1Q 936 native
ip unnumbered Loopback936
end
edge#sh run int lo936
Building configuration...
Current configuration : 70 bytes
!
interface Loopback936
ip address 192.168.20.2 255.255.255.255
end
edge#sh run | i ip route
ip route 0.0.0.0 0.0.0.0 GigabitEthernet0/0.936
edge#
interface GigabitEthernet0/0
ip address 192.168.20.1 255.255.255.248
duplex auto
speed auto
media-type rj45
end
isp#sh run int lo1
Building configuration...
Current configuration : 63 bytes
!
interface Loopback1
ip address 1.1.1.1 255.255.255.255
end
isp#sh run | i ip route
isp#
edge#ping 1.1.1.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 1.1.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/5/7 ms
edge#tra
edge#traceroute 1.1.1.1
Type escape sequence to abort.
Tracing the route to 1.1.1.1
VRF info: (vrf in name/id, vrf out name/id)
1 192.168.20.1 6 msec 4 msec 5 msec
edge#
ā07-29-2023 06:15 AM
It is not so similar.
In legacy case, you have physical port which inherits loopback IP.
In SD-WAN you have separate IPs in loopback and physical. So, return route is needed.
Plus, it is not recommended to have static route with exit interface it if is multiaccess based (ethernet is and requires arp). For each remote destination, router will generate arp and proxy-arp should help from ISP side.
In short, configure normal L3 interconnection with loopback having separate IP and return route in ISP side.
ā07-29-2023 07:29 AM
So we don't use cisco sdwan in that case too, it's very inconvenient and doesn't flexible, because I need to use ip /32. will wait new vmware edge
ā07-29-2023 07:32 AM
return route in google cloud isn't possible
ā07-29-2023 10:28 AM
Legacy or sd-wan you can use lo'
In sd-wan using lo as tloc if lo is public and reachable by internet.
Here trick' lo must public and you get it from ISP
ā07-29-2023 10:47 AM
What is your exact scenario? Could you describe it? It may be useful to help as possible as I can
ā07-29-2023 10:30 PM
It's simple scheme.
I have two providers with public ip for example 10.10.10.1/32 and 20.20.20.1/32. Now it works as vmware sdwan edge, but it has small performance (100mb). we wanted to change edge to cisco isr4431 but on the cisco our scheme doesn't work because of it needs reverse route from provider. Provider said that they don't add reverse routes.
On vmware edge my route looks like:
0.0.0.0/0 GE1 10.10.10.254
0.0.0.0/0 GE2 20.20.20.254
ā07-29-2023 10:52 PM - edited ā07-29-2023 10:52 PM
oh, I realized another one problem we can't use separate ip to make a nat for different vpn
Ge1
10.10.10.2 255.255.255.255 secondary
10.10.10.1 255.255.255.255
nat for 192.168.100.0/24 via 10.10.10.1
nat for 192.168.200.0/24 via 10.10.10.2
I remember that for nat dia it doesn't work
Teoretically I can use it thorugh Loopback interface which is binded to physical, but provider rejected to configure reverse route
ā07-29-2023 11:11 PM
How will you use it for loopback? It will have the same issue interface or loopback, you will not able to choose exact external IP for source IP portion.
ā07-29-2023 11:55 PM
it's true for cisco sdwan because it isn't flexible. For velocloud it works perfectly.
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