Link to home
Start Free TrialLog in
Avatar of jskfan
jskfanFlag for Cyprus

asked on

Configuring OSPF on MPLS enabled interfaces

User generated image
on the topology above MPLS IP command is enabled on all physical interfaces of the routers. OSPF is configured on all physical and Loopback interfaces of the routers.
I would like to know if  IP packets from end to end get Tunneled through MPLS "Tunnel" ?


PE1#sh run | beg router ospf
router ospf 1
 log-adjacency-changes
 network 2.2.2.2 0.0.0.0 area 0
 network 192.168.23.0 0.0.0.255 area 0

interface FastEthernet0/1
 ip address 192.168.23.2 255.255.255.0
 mpls ip
 
P#sh run | beg router ospf
router ospf 1
 log-adjacency-changes
 network 0.0.0.0 255.255.255.255 area 0

interface FastEthernet0
interface FastEthernet0/0
 ip address 192.168.23.3 255.255.255.0
 mpls ip
 !
!
interface FastEthernet0/1
 ip address 192.168.34.4 255.255.255.0
 mpls ip

PE2#sh run | beg router ospf
router ospf 1
 log-adjacency-changes
 network 4.4.4.4 0.0.0.0 area 0
 network 192.168.34.0 0.0.0.255 area 0

interface FastEthernet0/0
 ip address 192.168.34.4 255.255.255.0
  mpls ip


PE1#traceroute 4.4.4.4 source loopback 0            

Type escape sequence to abort.
Tracing the route to 4.4.4.4

  1 192.168.23.3 [MPLS: Label 17 Exp 0] 48 msec 20 msec 20 msec
  2 192.168.34.4 44 msec 44 msec 20 msec
PE1#
Avatar of Predrag Jovic
Predrag Jovic
Flag of Poland image

Egress router (PE2) advertise label 3 (implicit null- reserved MPLS value). Penultimate router (P) knows that way that it is connected to egress router and that it suppose to pop label and send IP packet to egress router.
You can find more details in presentation - MPLS for Dummies
Avatar of jskfan

ASKER

what I am trying to understand is  the Traceroute  will work even if I did not configure MPLS IP on the physical interfaces.

Now that I have configured MPLS IP on the interfaces, will this serve as a tunnel for Traceroute to go through ?.
or the Traceroute will use OSPF ?


if I an not wrong MPLS  is a Tunnel, in this case it goes between Layer 2 and IP (OSPF)
ASKER CERTIFIED SOLUTION
Avatar of Predrag Jovic
Predrag Jovic
Flag of Poland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jskfan

ASKER

OK so the Packet went through MPLS tunnel, and as you said MPLS relies on IGP (in our case it is OSPF)
Avatar of jskfan

ASKER

Thank you
You're welcome.