泛光灯开流NAT

问题描述 投票:0回答:1

我试图改变从端口1流向端口3的数据包的源IP和MAC地址。我已经用Java编写了代码来创建这个流量规则,它应该成功创建,如下图所示。

enter image description here

但是,当使用Wireshark在eth3端口捕捉数据包时,也就是在3端口。数据包的源IP和MAC地址并没有被改变,如图所示。enter image description here

我之前试过setSourceAddress()和setDestinationMACAddress()方法 但也没有改变数据包的内容

有什么办法可以改变数据包的源IP和MAC地址?

networking nat openflow
1个回答
© www.soinside.com 2019 - 2024. All rights reserved.