📄 readme.iptables
字号:
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 spec_nh --spec_nh 0x8847:<key>** 0x8847 is the ethernet id of unicast MPLSHere 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 spec_nh --spec_nh 0x8847: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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -