📄 readme.ebtables
字号:
MPLS enabled Ebtables---------------------Ebtables is used to do all sorts of "weird" things with Ethernet frames. Withthis patch, traffic you can describe via ebtables, can be mapped onto an LSP.Run it------After compiling and installing the MPLS enabled version of ebtables, you willhave a new target which has the syntax:-j mpls --nhlfe <key>Here is an example of how to redirect ethernet frames from eth1 onto an LSPwith key 0x2:brctl addbr br0brctl addif br0 eth1ip link set eth1 upip link set br0 upebtables -t nat -A PREROUTING -i eth1 -j mpls --nhfle 0x2!!NOTE You MUST use the bridge interface!!The 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 + -