readme.iptables
来自「一个可以实现MPLS实验的linux源代码.你不仅可以实现单层标签的转发,还可以」· IPTABLES 代码 · 共 26 行
IPTABLES
26 行
MPLS enabled IPTables---------------------Iptables is used to do all sorts of "weird" things with IP traffic. Withthis patch, traffic you can describe via iptables, can be mapped onto an LSP.Run it------After compiling and installing the MPLS enabled version of iptables, you willhave a new target which has the syntax:-j mpls --nhlfe <key>Here is an example of how to redirect 128.104.17.130/32 onto an LSPwith key 0x2:iptables -A OUTPUT -d 128.104.17.130/32 -j mpls --nhlfe 0x2The key 0x2 comes from the output of 'mpls' when creating a NHLFE (seeREAME.iproute2 for more info)------------------------------------------------------------------------------Copyright by James R. Leu <jleu@mindspring.com> 1999-2005
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?