[mpls-linux-general] Mpls installation problems with the new version.
Status: Beta
Brought to you by:
jleu
From: Oliver H. <ho...@tm...> - 2002-07-31 14:35:58
|
Hi, I try to install a mpls network, in a first step with two PCs. I use kernel 2.4.18 and the mpls version 1.152, July 27, 2002. PC1: obiwan (192.168.2.1) <---> PC2: amidala (192.168.2.2) Each PC has a network card with 4 slots (to build up a bigger network later). --- config section start --- Configuration of PC1: Label 21 (push and send) and label 22 (receive and push) [root@obiwan root]# cat /proc/net/mpls_labelspace eth1 0 12 [root@obiwan root]# cat /proc/net/mpls_in 0x40005400 189/21369/0 gen 21 0 1 POP PEEK [root@obiwan root]# cat /proc/net/mpls_out 0x00000004 666/51158/0 2 PUSH(gen 22) SET(eth1,192.168.2.2) [root@obiwan root]# /mnt/image/pkg/ip route add 192.168.2.2/32 via 192.168.2.2 lsp 0x00000004 [root@obiwan root]# netstat -rn Kernel IP Routentabelle Ziel Router Genmask Flags MSS Fenster irtt Iface 192.168.2.2 192.168.2.2 255.255.255.255 UGH 40 0 0 eth1 Configuration of PC2: [root@amidala root]# cat /proc/net/mpls_labelspace eth0 0 11 [root@amidala root]# cat /proc/net/mpls_in 0x40005800 738/59582/0 gen 22 0 1 POP PEEK [root@amidala root]# cat /proc/net/mpls_out 0x00000012 238/25613/0 2 PUSH(gen 21) SET(eth0,192.168.2.1) [root@amidala root]# /mnt/image/pkg/ip route add 192.168.2.1/32 via 192.168.2.1 lsp 0x00000012 [root@amidala root]# netstat -rn Kernel IP Routentabelle Ziel Router Genmask Flags MSS Fenster irtt Iface 192.168.2.1 192.168.2.1 255.255.255.255 UGH 40 0 0 eth0 --- config section stop --- Now I tried to see, that I am really using MPLS. For that reason I have installed ethereal. Now I have the following problems: If I ping obiwan I get the following output of tethereal: 2615.091161 02:01:08:00:36:94 -> c0:a8:02:02:c0:a8 0xb909 Ethernet II 2615.091215 obiwan-2-1 -> amidala ICMP Echo (ping) reply What the hell is 02:01:08:00:36:94? It looks like a MAC address, but we have no cards with these address. The answer of obiwan looks good. I had a look on it with ethereal and it looks like a "normal" mpls header. But the ping request is bad. With ethereal I saw, that there are 6 MPLS-Headers are included. But why? I appended the output of ethereal. The second thing is, that I am able to ping obiwan, but a traceroute to the same IP (only one hop of course) generates no output. I have to press cntl-c. [root@amidala root]# traceroute 192.168.2.1 traceroute to 192.168.2.1 (192.168.2.1), 30 hops max, 38 byte packets [root@amidala root]# So whats wrong? Maybe I have patched the wrong version of iproute2? I hope someone can help me. Thanks. Oliver |