- Hello! I'm Julian. I'm a software developer.
- π¨βπ I'm in search for code challenges
- π¨βπ» Contact me @LinkedIn
- π£οΈ I speak German, English and a little bit of Spanish and French
- π You should also definitely check my dev.to profile
The dependancy is snmp
snmpwalk -v 1 -c public 192.168.0.1
snmpget -v 1 -c private 192.168.0.1 iso.3.6.1.2.1.1.6.0
snmpset -v 1 -c private 192.168.0.1 iso.3.6.1.2.1.1.6.0 s setvalue
In order to set the IP adress of a device with the MAC adress 00:19:31:3F:FF:37 run this command
sudo tcpreplay -i eth0 profinet-setip-onepacket.pcap
The dependancy is tcpreplay
If you want to change the MAC adress you can edit the pcap file with a hex editor like hexedit.
In order to find lost devices with the MAC adress you can run a ARP request or send a packet to your subnet ending with .255
With the file profinet-setip-onepacket.pcap the IP adress is set to 192.168.0.3