Thank you, James.
Now I can operate ebtables with mpls.
When I operating ebtables,
I found something strange.
One computer has MAC address "A",
it connect to a LER.
In LER,
I type commands according to the page
http://sourceforge.net/docman/display_doc.php?docid=31115&group_id=15443
After that,
packet can transmit with MAC address "A" through network.
But In LER,
I can't see the MAC address "A" record in LER's bridge MAC table.
Is this correct?
If I want to record "A" in LER's bridge table,
how should I make command?
I had tried "ebtables -t nat -A PREROUTING -i br0 -j mpls --nhlfe 0x2",
although "A" will be recorded in table,
but packet can not forward to the mpls interface.
Also, I had tried "ebtables -t nat -A PREROUTING --logical-in br0 -j mpls
--nhlfe 0x2",
but it's the same with above page.
|