Re: [mpls-linux-devel] mpls-linux on 64 bit kernel
Status: Beta
Brought to you by:
jleu
From: Jorge B. [DTI2] <jo...@dt...> - 2010-05-18 15:04:06
|
El 18/05/2010 16:48, Chris Robson escribió: > > Hi Jorge > > Good and bad news. > > Good news is the lock up is fixed. I can see, via wireshark and debug, > ping packets being received without the system locking. > > Bad news is, the reply is not going out. Although, I'm not sure the > back-to-back host configuration is correct so that maybe the reason. > ergo here is what is configured: > > > Host A: eth1 - 10.50.1.1/24 > eth0:1 - 10.50.210.1/24 > /sbin/mpls labelspace set dev eth1 labelspace 0 > LSPKey=`/sbin/mpls nhlfe add key 0 instructions push gen > 1000 nexthop eth1 ipv4 10.50.1.2 | grep key | cut -c 17-26` > /sbin/ip route add 10.50.110.0/24 via 10.50.1.2 mpls $LSPKey > /sbin/mpls ilm add label gen 2000 labelspace 0 > > Host B: eth1 - 10.50.1.2/24 > eth0:1 - 10.50.110.1/24 > /sbin/mpls labelspace set dev eth1 labelspace 0 > LSPKey=`/sbin/mpls nhlfe add key 0 instructions push gen > 2000 nexthop eth1 ipv4 10.50.1.1 | grep key | cut -c 17-26` > /sbin/ip route add 10.50.210.0/24 via 10.50.1.1 mpls $LSPKey > /sbin/mpls ilm add label gen 1000 labelspace 0 > > +++++++++++++++++++++++++++++++++++++++++++ > +++++++++++++++++++++++++++++++++++++++++++ > Host A configuration info: > > eth0 Link encap:Ethernet HWaddr 00:21:86:52:8D:E4 > inet addr:10.128.112.6 Bcast:10.128.112.255 Mask:255.255.255.0 > inet6 addr: fe80::221:86ff:fe52:8de4/64 Scope:Link > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:512 errors:0 dropped:0 overruns:0 frame:0 > TX packets:666 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:1000 > RX bytes:70643 (68.9 KiB) TX bytes:84260 (82.2 KiB) > Memory:fa200000-fa220000 > > eth0:1 Link encap:Ethernet HWaddr 00:21:86:52:8D:E4 > inet addr:10.50.110.1 Bcast:10.50.110.255 Mask:255.255.255.0 > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > Memory:fa200000-fa220000 > > eth1 Link encap:Ethernet HWaddr 00:05:1B:00:47:5E > inet addr:10.50.1.2 Bcast:10.50.1.255 Mask:255.255.255.0 > inet6 addr: fe80::205:1bff:fe00:475e/64 Scope:Link > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:19 errors:0 dropped:0 overruns:0 frame:0 > TX packets:31 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:1000 > RX bytes:3469 (3.3 KiB) TX bytes:5209 (5.0 KiB) > > # mpls nhlfe show > NHLFE entry key 0x00000002 mtu 1496 propagate_ttl > push gen 2000 set eth1 ipv4 10.50.1.1 (0 bytes, 0 pkts) > # mpls ilm show > ILM entry label gen 1000 labelspace 0 proto ipv4 > pop peek (0 bytes, 0 pkts) > # ip route show > 10.50.210.0/24 via 10.50.1.1 dev eth1 mpls 0x2 This is wrong... shouldn't it be 10.50.1.2? > > ++++++++++++++++++++++++++++++++++++++++++++ > ++++++++++++++++++++++++++++++++++++++++++++ > > Host B configuration dump: > > eth0 Link encap:Ethernet HWaddr 00:21:86:52:8D:E4 > inet addr:10.128.112.6 Bcast:10.128.112.255 Mask:255.255.255.0 > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:947 errors:0 dropped:0 overruns:0 frame:0 > TX packets:1293 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:1000 > RX bytes:141125 (137.8 KiB) TX bytes:156121 (152.4 KiB) > Memory:fa200000-fa220000 > > eth0:1 Link encap:Ethernet HWaddr 00:21:86:52:8D:E4 > inet addr:10.50.110.1 Bcast:10.50.110.255 Mask:255.255.255.0 > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > Memory:fa200000-fa220000 > > eth1 Link encap:Ethernet HWaddr 00:05:1B:00:47:5E > inet addr:10.50.1.2 Bcast:10.50.1.255 Mask:255.255.255.0 > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:20 errors:0 dropped:0 overruns:0 frame:0 > TX packets:31 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:1000 > RX bytes:3551 (3.4 KiB) TX bytes:5209 (5.0 KiB) > > # mpls nhlfe show > NHLFE entry key 0x00000002 mtu 1496 propagate_ttl > push gen 2000 set eth1 ipv4 10.50.1.1 (1260 bytes, 15 pkts) > [root@FARP ~]# mpls ilm show > ILM entry label gen 1000 labelspace 0 proto ipv4 > pop peek (0 bytes, 0 pkts) Have you copy&pasted the configuration because it looks the same. -- ============================================================== Jorge Boncompte - Ingenieria y Gestion de RED DTI2 - Desarrollo de la Tecnologia de las Comunicaciones -------------------------------------------------------------- C/ Abogado Enriquez Barrios, 5 14004 CORDOBA (SPAIN) Tlf: +34 957 761395 / FAX: +34 957 450380 ============================================================== - Sin pistachos no hay Rock & Roll... - Without wicker a basket cannot be made. ============================================================== |