![]() ![]() (With a switch you would only see Broadcasts or communication between CPU and your Sniffing PC)įurtheryou will need any communication initiated from or to CPU, so that there´s traffic that you can sniff. Or try to use an ethernet sniffer like wireshark.īut use a Hub Device (not a switch) for sniffing, you then are able to see both - MAC Adress and IP Adress. Step 7 tries to connect to the PLC using ISO protocol, and displays infos of your CP343-1. I think that should work, when you connect to the subnet with any ip-adress. So you could use Step 7 Function target-system - edit ethernet device. You see - thatsmore complex, you need to know mor about IP Adresses and IP subnetting.īuti can imagine what you want - handle a CPU although you don´t have infos or S7-Project! Try it with a Windows XP System with Internet connection These are services for converting MAC Adresses to IP Adresses RARP and IP Adresses to MAC Adresses ARP in an subnet. Its not something that is required (or communicated) by the IP protocol. Or actual RARP (Reverse Adress Resolution Protocol) Why do you think you should be able to get the Mac address of a remote host (thats not on your local subnet, anyway). ![]() The service you need is called ARP (Adress Resolution Protocol) Use the subnet calculator from to plan your network configuration, calculate the number of hosts, subnets and IP addresses, and convert between different formats. If you ping it from a Windows PC, you can use arp -a from the command line to see the mapping. ![]() If you ping it from a router, enter the show arp command to see what its MAC is. You´re able to assign any IP Adress to an ethernet device.īut you should use Private IP Adresses from the Pool of Private Class A (10.0.0.0|8) or Private Class C IP Adresses (192.168.0.0|24) The only way to find that out is to inspect the ARP tables after generating some traffic (e.g. So I´m afraidthere´s no way to CALCULATE an ip adress from mac adress or reverse!Įvery Ethernet device should have a worldwide unique MAC Adress. In Windows, Linux and other operating systems, the command line utility 'arp' shows this information. What if I dont know IP address of CPU315 or CP341 card Most computers allow you to see the list of IP and MAC addresses that ARP has collected there. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |