Re: [mpls-linux-general] Test IPv6 forwarding problem
Status: Beta
Brought to you by:
jleu
From: <tr...@ya...> - 2008-06-04 05:22:46
|
Thank you first. --- 08/6/4 (星期三),James R. Leu <jl...@mi...> 寫道: > 寄件者: James R. Leu <jl...@mi...> > 主旨: Re: [mpls-linux-general] Test IPv6 forwarding problem > 收件者: tr...@ya... > 副本: mpl...@li... > 日期: 2008 6 4 星期三 上午 9:54 > Hello, > > On Wed, Jun 04, 2008 at 09:46:55AM +0800, > tr...@ya... wrote: > > Hello there, > > > > I try to add nhlfe for eth0 which using this command. > > > > # mpls nhlfe add key 0 instructions push gen 1001 > nexthop eth0 ipv6 3ffe:b00:3::1 > > > > NHLFE entry key 0x0000003d mtu 0 propagate_ttl > > (0 bytes, 0 pkts) > > > > > > Then I use "mpls nhlfe show" command to > check the configuration. > > > > # mpls nhlfe show > > > > NHLFE entry key 0x0000003d mtu 1496 propagate_ttl > > push gen 1001 set eth0 ipv6 3ffe:b00:3:: (0 > bytes, 0 pkts) > > > > > > but, the ipv6 address of nexthop is incorrect. > > Please let me know if I am missing any step or any > thing is incorrect. > > I've had people attempt to map IPv6 onto a LSP, but I > do not recall > anyone trying to build the LSP with IPv6 nexthop addresses, > so I think > your in uncharted territory. > > I'm surprised it got as far as it did. I'm > wondering if there is just > a display error in the 'mpls' code. I'm a > total noob when it comes to > IPv6. If you can provide a quick set of steps I can use to > reproduce > this I will try to fix it. > My testbed is as follows: (pc 2)------(LER 2)--------(LER 1)--------(pc 1) eth0 eth1 eth0 eth0 eth1 eth0 PC 1 ------ ifconfig eth0 inet6 add 3ffe:b00:1::1/48 LER 1 ------ ifconfig eth0 inet6 add 3ffe:b00:3::1/48 ifconfig eth1 inet6 add 3ffe:b00:1::2/48 echo "1" >/proc/sys/net/ipv6/conf/all/forwarding mpls nhlfe add key 0 instructions push gen 1001 nexthop eth0 ipv6 3ffe:b00:3::2 (returns key 0x3d) ip route add 3ffe:b00:6::/48 via 3ffe:b00:3::2 mpls 0x3d mpls labelspace set dev eth0 labelspace 0 mpls ilm add label gen 2001 labelspace 0 LER 2 ------ ifconfig eth0 inet6 add 3ffe:b00:3::2/48 ifconfig eth1 inet6 add 3ffe:b00:6::2/48 echo "1" >/proc/sys/net/ipv6/conf/all/forwarding mpls nhlfe add key 0 instructions push gen 2001 nexthop eth0 ipv6 3ffe:b00:3::1 (returns key 0x3) ip route add 3ffe:b00:1::/48 via 3ffe:b00:3::1 mpls 0x3 mpls labelspace set dev eth0 labelspace 0 mpls ilm add label gen 1001 labelspace 0 PC 2 ------ ifconfig eth0 inet6 add 3ffe:b00:6::1/48 Test LER 1 ------ Try again and look the nexthop of nhlfe after each command. # mpls nhlfe show NHLFE entry key 0x0000003d mtu 1496 propagate_ttl push gen 1001 set eth0 ipv6 3ffe:b00:3:: (0 bytes, 0 pkts) # mpls nhlfe show NHLFE entry key 0x0000003d mtu 1496 propagate_ttl push gen 1001 set eth0 ipv6 3ffe:b00:3:: (0 bytes, 0 pkts) # mpls nhlfe show NHLFE entry key 0x0000003d mtu 1496 propagate_ttl push gen 1001 set eth0 ipv6 3ffe:b00:3:: (0 bytes, 0 pkts) # mpls nhlfe show NHLFE entry key 0x0000003d mtu 1496 propagate_ttl push gen 1001 set eth0 ipv6 3ffe:b00:3:0:8b02:0:38a1:3408 (0 bytes, 0 pkts) # mpls nhlfe show NHLFE entry key 0x0000003d mtu 1496 propagate_ttl push gen 1001 set eth0 ipv6 3ffe:b00:3:0:8b02:0:38a1:3408 (0 bytes, 0 pkts) # mpls nhlfe show NHLFE entry key 0x0000003d mtu 1496 propagate_ttl push gen 1001 set eth0 ipv6 3ffe:b00:3:0:fb11:d08:fb11:d08 (0 bytes, 0 pkts) # mpls nhlfe show NHLFE entry key 0x0000003d mtu 1496 propagate_ttl push gen 1001 set eth0 ipv6 3ffe:b00:3:0:fb11:d08:fb11:d08 (0 bytes, 0 pkts) # mpls nhlfe show NHLFE entry key 0x0000003d mtu 1496 propagate_ttl push gen 1001 set eth0 ipv6 3ffe:b00:3:0:fb11:d08:fb11:d08 (0 bytes, 0 pkts) # mpls nhlfe show NHLFE entry key 0x0000003d mtu 1496 propagate_ttl push gen 1001 set eth0 ipv6 3ffe:b00:3:0:fb11:d08:fb11:d08 (0 bytes, 0 pkts) # mpls nhlfe show NHLFE entry key 0x0000003d mtu 1496 propagate_ttl push gen 1001 set eth0 ipv6 3ffe:b00:3:0:c310:d08:da10:d08 (0 bytes, 0 pkts) # mpls nhlfe show NHLFE entry key 0x0000003d mtu 1496 propagate_ttl push gen 1001 set eth0 ipv6 3ffe:b00:3:0:c310:d08:da10:d08 (0 bytes, 0 pkts) # mpls nhlfe show NHLFE entry key 0x0000003d mtu 1496 propagate_ttl push gen 1001 set eth0 ipv6 3ffe:b00:3:0:fb11:d08:fb11:d08 (0 bytes, 0 pkts) # mpls nhlfe show NHLFE entry key 0x0000003d mtu 1496 propagate_ttl push gen 1001 set eth0 ipv6 3ffe:b00:3:0:fb11:d08:fb11:d08 (0 bytes, 0 pkts) I had tried "IPv4 over MPLS: two LER example for mpls-linux-1.95x", but I really don't understand what's the IPv6 problem. Thank you very much > > > > Thanks & Regards. > > > > > > > ______________________________________________________________________________________________________ > > > 付費才容量無上限?Yahoo!奇摩電子信箱2.0免費給你,信件永遠不必刪! > http://tw.mg0.mail.yahoo.com/dc/landing > > > > > > ------------------------------------------------------------------------- > > Check out the new SourceForge.net Marketplace. > > It's the best place to buy or sell services for > > just about anything Open Source. > > http://sourceforge.net/services/buy/index.php > > _______________________________________________ > > mpls-linux-general mailing list > > mpl...@li... > > > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general > > > -- > James R. Leu > jl...@mi... ______________________________________________________________________________________________________ 付費才容量無上限?Yahoo!奇摩電子信箱2.0免費給你,信件永遠不必刪! http://tw.mg0.mail.yahoo.com/dc/landing |