[mpls-linux-general] why no label distribution
Status: Beta
Brought to you by:
jleu
|
From: Zahra F. <mar...@ya...> - 2003-08-11 11:49:00
|
Hi james,
Thanks alot for your help,
I did all of you said step by step:
at first remove all routes and interfaces addresses on
both machines:
[root@laleh root]# ip route flush scope global type
unicast
[root@laleh root]# ip addr flush eth0
are these command are enough?
I started zebra,ospf and mplsd on each machine:
on comp A(192.168.2.207)
[root@laleh sbin]# ./zebra -f /etc/zebra.conf -P 1024
-d
[root@laleh sbin]# ./ospfd -f /etc/ospfd.conf -P 1025
-d
[root@laleh sbin]# ./mplsd -f /etc/mplsd.conf -P 1026
rsvpte_vty_init
2003/08/11 02:25:51 MPLS: MPLSd (0.94) starts
2003/08/11 02:25:51 MPLS: interface add lo index 1
flags 73 metric 1 mtu 16436
2003/08/11 02:25:51 MPLS: address add 127.0.0.1 to
interface lo
2003/08/11 02:25:51 MPLS: interface add dummy0 index 2
flags 195 metric 1 mtu 1500
2003/08/11 02:25:51 MPLS: address add 192.168.50.1 to
interface dummy0
2003/08/11 02:25:51 MPLS: interface add eth0 index 3
flags 4163 metric 1 mtu 1500
2003/08/11 02:25:51 MPLS: address add 192.168.2.207 to
interface eth0
2003/08/11 02:25:51 MPLS: router-id change
192.168.50.1
2003/08/11 02:25:51 MPLS: router-id update
192.168.50.1
2003/08/11 02:25:51 MPLS: route add 192.168.2.0/24
2003/08/11 02:25:51 MPLS: ifindex 3
2003/08/11 02:25:51 MPLS: route add 192.168.50.1/32
2003/08/11 02:25:51 MPLS: ifindex 2
on comp B(192.168.2.213)
[root@laleh sbin]# ./zebra -f /etc/zebra.conf -P 1024
-d
[root@laleh sbin]# ./ospfd -f /etc/ospfd.conf -P 1025
-d
[root@laleh sbin]# ./mplsd -f /etc/mplsd.conf -P 1026
rsvpte_vty_init
2003/08/11 02:53:06 MPLS: MPLSd (0.94) starts
2003/08/11 02:53:06 MPLS: interface add lo index 1
flags 73 metric 1 mtu 16436
2003/08/11 02:53:06 MPLS: address add 127.0.0.1 to
interface lo
2003/08/11 02:53:06 MPLS: interface add eth0 index 2
flags 4163 metric 1 mtu 1500
2003/08/11 02:53:06 MPLS: address add 192.168.2.231 to
interface eth0
2003/08/11 02:53:06 MPLS: interface add dummy0 index 3
flags 195 metric 1 mtu 1500
2003/08/11 02:53:06 MPLS: address add 192.168.50.3 to
interface dummy0
2003/08/11 02:53:06 MPLS: router-id change
192.168.50.3
2003/08/11 02:53:06 MPLS: router-id update
192.168.50.3
2003/08/11 02:53:06 MPLS: route add 192.168.2.0/24
2003/08/11 02:53:06 MPLS: ifindex 2
2003/08/11 02:53:06 MPLS: route add 192.168.50.3/32
2003/08/11 02:53:06 MPLS: ifindex 3
connect: Network is unreachable
OUT: ldp_session_attempt_setup: MPLS_FAILURE
connect: Network is unreachable
OUT: ldp_session_attempt_setup: MPLS_FAILURE
I telnet to zebra, ospf and mplsd for each machine.
In zebra I did a 'show ip route' and 'show router-id'
on each machine:
on comp A:
uml-1# sho ip route
Codes: K - kernel route, C - connected, S - static, R
- RIP, O - OSPF,
B - BGP, > - selected route, * - FIB route
K * 127.0.0.0/8 is directly connected, lo
C>* 127.0.0.0/8 is directly connected, lo
C>* 192.168.2.0/24 is directly connected, eth0
O 192.168.50.1/32 [110/10] is directly connected,
dummy0, 00:01:00
C>* 192.168.50.1/32 is directly connected, dummy0
uml-1# sho router-id
router-id: 192.168.50.1
on comp B:
uml-1# sho ip route
Codes: K - kernel route, C - connected, S - static, R
- RIP, O - OSPF,
B - BGP, > - selected route, * - FIB route
K * 127.0.0.0/8 is directly connected, lo
C>* 127.0.0.0/8 is directly connected, lo
C>* 192.168.2.0/24 is directly connected, eth0
O 192.168.50.3/32 [110/10] is directly connected,
dummy0, 00:02:15
C>* 192.168.50.3/32 is directly connected, dummy0
uml-1# sho router-id
router-id: 192.168.50.3
At the linux shell I can ping across the ethernet
subnet.
In ospfd I did a 'sho ip ospf nei':
on comp A:
uml-1-ospf# sho ip ospf nei
Neighbor ID Pri State Dead Time
Address Interface
RXmtL RqstL DBsmL
on comp B:
uml-1-ospf# sho ip ospf nei
Neighbor ID Pri State Dead Time
Address Interface
RXmtL RqstL DBsmL
From the linux shell I can't ping the router-id th
other machine:
[root@laleh root]# ping 192.168.50.3
connect: Network is unreachable
But before starting zebra, ospf and mplsd, when I
ping, there were responses:
[root@laleh root]# ping 192.168.50.1
PING 192.168.50.1 (192.168.50.1) from 192.168.2.231 :
56(84) bytes of data.
From 217.218.158.42 icmp_seq=1 Time to live exceeded
From 217.218.158.42 icmp_seq=2 Time to live exceeded
From 217.218.158.42 icmp_seq=4 Time to live exceeded
From 217.218.158.42 icmp_seq=5 Time to live exceeded
In mplsd, I did a 'sho ldp' and 'sho ldp nei':
comp A:
uml-1# sho ldp
LSR-ID: c0a83201 Admin State: ENABLED
Transport Address: c0a83201
Control Mode: ORDERED Repair Mode: GLOBAL
Propogate Release: TRUE Label Merge: TRUE
Retention Mode: LIBERAL Loop Detection Mode: NONE
TTL-less-domain: FALSE
Local TCP Port: 646 Local UDP Port: 646
Keep-alive Time: 45 Keep-alive Interval: 15
Hello Time: 15 Hello Interval: 5
uml-1# sho ldp nei
Peer LDP Ident: 192.168.50.3:0; Local LDP Ident:
192.168.50.1:0
TCP connection: n/a
State: discovery; Msgs sent/recv: -/-;
Up time: -
LDP discovery sources:
eth0
uml-1# sho ldp session
no established sessions
uml-1# sho ldp database
no labeling info has been exchanged
comp B:
uml-1# sho ldp
LSR-ID: c0a83203 Admin State: ENABLED
Transport Address: c0a83203
Control Mode: ORDERED Repair Mode: GLOBAL
Propogate Release: TRUE Label Merge: TRUE
Retention Mode: LIBERAL Loop Detection Mode: NONE
TTL-less-domain: FALSE
Local TCP Port: 646 Local UDP Port: 646
Keep-alive Time: 45 Keep-alive Interval: 15
Hello Time: 15 Hello Interval: 5
uml-1# sho ldp nei
Peer LDP Ident: 192.168.50.1:0; Local LDP Ident:
192.168.50.3:0
TCP connection: 0.0.0.0.646 - 192.168.50.1.646
State: NON-EXIST; Msgs sent/recv: 0/0;
UNSOLICITED
Up time: 12275d 07:03:59
LDP discovery sources:
eth0
Addresses bound to peer:
uml-1# sho ldp session
1 192.168.50.1 0 NON-EXIST
uml-1# sho ldp database
no labeling info has been exchanged
I don't know how to redirect the output of mplsd to a
file(it's very simple question, sorry)
Why there is no label distributed?!
I really appreciate your help.
Thanking in advance.
Regards,
Z-Farahmand
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
|