06-16-2022
02:45 AM
- last edited on
06-18-2022
02:34 AM
by
Translator
I am new to cisco and here is my question
I have a branch router which is connected to MPLS and Internet. A tunnel uses the internet and connects to my main office.
The configuration is
interface Tunnel1
ip address 10.2.1.41 255.255.255.0 (This is tunnel IP)
interface FastEthernet8 (This is My Internet Interface)
ip address 192.168.8.2 255.255.255.0 (This is Internet IP)
ip nat outside
interface GigabitEthernet0 (This is My MPLS Interface)
ip address 192.168.20.218 255.255.255.252 (This is my MPLS)
ip nat outside
interface Vlan1 (This is my Local Lan)
description $ETH-SW-LAUNCH$$INTF-INFO-FE 1$
ip address 172.20.41.1 255.255.255.0
ip nat inside
router eigrp 10 (Protocol for Tunnel Connectivity)
network 10.2.1.0 0.0.0.255
network 172.20.41.0 0.0.0.255
passive-interface Vlan1
eigrp stub connected
router bgp 64525 (Configuration for MPLS)
bgp log-neighbor-changes
network 172.20.41.0 mask 255.255.255.0
neighbor 192.168.20.2 remote-as 64525
neighbor 192.168.20.217 remote-as 38264
ip route 0.0.0.0 0.0.0.0 192.168.8.1 50
ip route 8.8.4.4 255.255.255.255 192.168.8.1
ip route 192.168.20.2 255.255.255.255 192.168.20.217
ip sla 50 (Ip sla for MPLS)
icmp-echo 192.168.20.2 source-interface GigabitEthernet0
threshold 1000
timeout 1000
frequency 5
ip sla schedule 50 life forever start-time now
ip sla 8844 (Ip sla for Internet)
icmp-echo 8.8.4.4 source-interface FastEthernet8
threshold 1000
timeout 1000
frequency 5
ip sla schedule 8844 life forever start-time now
now the question is, how will i know whether the traffic is going through tunnel or MPLS.
Presently after tracer, traffic is going through MPLS.
which line in configuration is telling traffic to go through MPLS. Configuration for IP SLA is same for both connections.
Solved! Go to Solution.
06-16-2022
02:53 AM
- last edited on
06-18-2022
02:36 AM
by
Translator
Show ip route
will give you more information, what path is prefered here, since you running EIGRP and BGP,
Technically eBGP is prefered here
you will see
show ip route
(why that is using MPLS, if you looking to use Tunnel then you need to play with Traffic engineering with costing).
06-16-2022
03:27 AM
- last edited on
06-18-2022
02:38 AM
by
Translator
Hi
Looking your config, your traffic should go to the internet due this line right here:
ip route 0.0.0.0 0.0.0.0 192.168.8.1 50
However, you have a eBGP with the MPLS:
router bgp 64525 (Configuration for MPLS)
bgp log-neighbor-changes
network 172.20.41.0 mask 255.255.255.0
neighbor 192.168.20.2 remote-as 64525
neighbor 192.168.20.217 remote-as 38264
So, you need to run the command "show ip route". Probably you are receiving a default route from ISP via MPLS. "show ip route" command, will show the complete routing table, which is not shown on "show run" command.
The default route present on the "show run" have Administrative Distance of 50, which is higher the the eBGP Administrative distance which is 20. Lower Administrative Distance wins.
Conclusion, your traffic is using MPLS due this eBGP and you can check it by using "show ip route" command.
06-16-2022 03:45 AM
Hello
Can you elaborate on what you are trying to achieve?
06-16-2022
02:53 AM
- last edited on
06-18-2022
02:36 AM
by
Translator
Show ip route
will give you more information, what path is prefered here, since you running EIGRP and BGP,
Technically eBGP is prefered here
you will see
show ip route
(why that is using MPLS, if you looking to use Tunnel then you need to play with Traffic engineering with costing).
06-16-2022
03:27 AM
- last edited on
06-18-2022
02:38 AM
by
Translator
Hi
Looking your config, your traffic should go to the internet due this line right here:
ip route 0.0.0.0 0.0.0.0 192.168.8.1 50
However, you have a eBGP with the MPLS:
router bgp 64525 (Configuration for MPLS)
bgp log-neighbor-changes
network 172.20.41.0 mask 255.255.255.0
neighbor 192.168.20.2 remote-as 64525
neighbor 192.168.20.217 remote-as 38264
So, you need to run the command "show ip route". Probably you are receiving a default route from ISP via MPLS. "show ip route" command, will show the complete routing table, which is not shown on "show run" command.
The default route present on the "show run" have Administrative Distance of 50, which is higher the the eBGP Administrative distance which is 20. Lower Administrative Distance wins.
Conclusion, your traffic is using MPLS due this eBGP and you can check it by using "show ip route" command.
06-16-2022 04:47 AM
Thanks Flavio Miranda. very well taught.
now my second questions is
i want to send my CCTV traffic only through mpls and stop it from passing through internet. what i will do next. do i have to make adjustments in configuration.
06-16-2022 03:45 AM
Hello
Can you elaborate on what you are trying to achieve?
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