0
Mininet을 사용하고 새로운 호스트 스위치를 사용하여 특정 포트에서 모든 트래픽을 복제하기 위해 Wireshark를 시작할 수 있도록 스위치를 구성하는 방법이 궁금합니다. 모든 교통. 어떤 제안? 와이어 샤크를 가진 (H1 말)Mininet 스위치 포트 미러링 설정
class MyTopo(Topo):
"Simple topology example."
def __init__(self):
"Create custom topo."
# Initialize topology
Topo.__init__(self)
# Add hosts and switches
leftHost = self.addHost('h1')
rightHost = self.addHost('h2')
idsHost = self.addHost('h3')
Switch = self.addSwitch('s1')
# Add links
self.addLink(leftHost,Switch)
self.addLink(rightHost, Switch)
self.addLink(Switch, idsHost)
topos = { 'mytopo': (lambda: MyTopo()) }