Re: [mpls-linux-general] why no label distribution?
Status: Beta
Brought to you by:
jleu
|
From: James R. L. <jl...@mi...> - 2003-08-10 19:17:07
|
Here is how I would debug the problem. Open up windows to the linux
shell on each machine.
At the linux shell remove all routes and interfaces address,
except lo/127.0.0.1/8. (it looks like you're already doing this).
Start zebra, ospfd. mplsd (make sure to redirect the output of
mplsd to a file).
Start windows with sessions to zebra, ospfd, and mplsd for each machine.
In zebra add the IP interfaces to eth0 and dummy0 (yes dummy0 should have
a /32 that is not a member of the subnet used on eth0).
In zebra do a 'show ip route' and 'show router-id' on each machine.
At the linux shell make sure you can ping across the ethernet subnet.
In ospfd, add the 'router ospf' config. Check for OSPF adjecencies to
by typing 'sho ip ospf nei'. Wait util they reach full state.
From the linux shell make sure you can ping the router-id of the other
machine.
In add the global ldp config ('mpls ldp'). Do a 'show ldp', then add the
interface ldp config ('int eth0'\n'mpls ldp'). Check for LDP adj by doing
a 'show ldp neighbor'. If you do not see an adj form, configure
ldp tracing:
conf t
mpls ldp
trace all
end
Look at the output from mplsd for the LDP tracing.
I hope this helps to start you out on debugging. Send me the output
of the above steps if you need more assistance.
PS I would avoid configuring lo via zebra. The rest of you configs look
good.
On Sun, Aug 10, 2003 at 04:10:35AM -0700, Zahra Farahmand wrote:
> Hi all,
> I've installed RedHat8.0 and all related RPMs from http://mpls-linux.sf.net, I'm working with a simple setup of two hosts. Host A ==> 192.168.2.207 and Host B ==> 192.168.2.152. I have setup and configured zebra, ospfd and mplsd on both these machines.
> My config files are:
> --------------zebra.conf--------------------
> !
> hostname zebra
> password root
> enable password root
> !
> interface lo
> ip address 127.0.0.1/8
> !
> interface eth0
> ip address 192.168.2.207/24
> !
> interface dummy0
> ip address 192.168.0.2/32
> !
> !
> line vty
> exec-timeout 0 0
> !
> --------------ospfd.conf--------------------
> !
> hostname ospfd
> password root
> enable password root
> !
> interface lo
> !
> interface eth0
> !
> interface dummy0
> !
> router ospf
> passive-interface dummy0
> network 192.168.0.0/24 area 0
> !
> log stdout
> --------------mplsd.conf--------------------
> !
> hostname mplsd
> password root
> enable password root
> !
> mpls ldp
> egress connected
> !
> interfase lo
> no mpls labelspace
> !
> interface eth0
> mpls labelspace 0
> mpls ldp
> !
> interface dummy0
> no mpls labelspace
> !
> line vty
> exec-timeout 0 0
> !
> Having done this, when I check up the command "show ldp neighbor" after telnetting to mplsd, I can't see that it has recognized the other machine as the neighbor , I try to run the command "show ldp database", all I get is "no label info has been exchanged".
>
> I am guessing that this means that the LSPs haven't been set up since no label info was exchanged.
>
> Is there something wrong in my config files? ...
> I think maybe I've assigned wrong ip addresses to dummy interfaces or network statement in ospfd daemon is wrong, I don't know what adrresses must be assigned to dummy interfaces.
> When I ping from one machine to another by using dummy0 interface ip address, for example: ping 192.168.0.3, this message appears: connect:Network is unreachable
> alternatively could you direct me as to how to ensure that the label info is exchanged between the two hosts. and what is wrong.
>
> Any help would be greatly appreciated.
>
> Thanking in advance!
>
> Regards,
> Z-Farahmand
>
>
>
>
> ---------------------------------
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site design software
--
James R. Leu
|