Hi, i was playing around with
ovs-appctl dpctl/dump-flows and other commands. But i could not find any command, that would tell me what IP Addresses are actually used on which MAC addresses. IF a flow exist, and was added via ovs-ofctl THEN you will get an output like: recirc_id(0),in_port(1),eth(src=44:ec:ce:4f:18:1b,dst=16:f9:22:83:c4:1d),eth_type(0x0800),ipv4(src=0.0.0.0/192.0.0.0,dst=43.54.111.54,frag=no), packets:16, bytes:2237, used:4.432s, flags:SFPR., actions:sample(sample=0.5%,actions(userspace(pid=2791693591,sFlow(vid=0,pcp=0,output=211),actions))),58 recirc_id(0),in_port(58),eth(src=16:f9:22:83:c4:1d,dst=44:ec:ce:4f:18:1b),eth_type(0x0800),ipv4(src=43.63.231.33,frag=no), packets:3710, bytes:833420, used:0.233s, flags:SFPR., actions:sample(sample=0.5%,actions(userspace(pid=3122871473,sFlow(vid=0,pcp=0,output=2),actions))),1 So there, you could get the dst and src of the two 43.x.x.x IPs so you know that on 16:f9:22:83:c4:1d this two IPs are running. But if you didnt define any flow, then you will just get something like: recirc_id(0),in_port(49),eth(src=16:15:6c:b6:07:50,dst=44:ec:ce:4f:18:1b),eth_type(0x0800),ipv4(frag=no), packets:7215, bytes:664147, used:0.232s, flags:SFPR., actions:sample(sample=0.5%,actions(userspace(pid=3547120171,sFlow(vid=0,pcp=0,output=2),actions))),1 recirc_id(0),in_port(1),eth(src=44:ec:ce:4f:18:1b,dst=16:15:6c:b6:07:50),eth_type(0x0800),ipv4(frag=no), packets:9360, bytes:666327, used:0.242s, flags:SFPR.EC, actions:sample(sample=0.5%,actions(userspace(pid=2791693591,sFlow(vid=0,pcp=0,output=259),actions))),49 So thre you see that 16:15:6c:b6:07:50 is connected, but which IPs exactly are using this mac ? Yes, you could get the informations via sflow and thats some kind of last resort actually. But i hoped i could just get the data directly from ovs. So is there actually something available that will show the arp ? Thank you! -- Mit freundlichen Gruessen / Best regards Oliver Dzombic Layer7 Networks mailto:[email protected] Anschrift: Layer7 Networks GmbH Zum Sonnenberg 1-3 63571 Gelnhausen HRB 96293 beim Amtsgericht Hanau Geschäftsführung: Oliver Dzombic UST ID: DE259845632 _______________________________________________ discuss mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-discuss
