https://github.com/fgrehm/pucrs-ping
https://github.com/fgrehm/pucrs-ping
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/fgrehm/pucrs-ping
- Owner: fgrehm
- License: mit
- Created: 2015-09-23T04:05:41.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-10-02T21:17:57.000Z (over 10 years ago)
- Last Synced: 2025-02-05T08:12:43.480Z (over 1 year ago)
- Language: C
- Size: 184 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pucrs-ping
A (rudimentary) `ping` implementation in C built for the PUCRS Networking II 2015.2 course
## Usage
1. Figure out your network's gateway IP, run `arp` and grab its MAC address.
2. Find out what is your IP address, MAC address and network interface index with `ip addr`.
3. Change the interface name and index on the `constants.h` file.
```sh
make && \
sudo ./pucrs-ping \
'e8:b1:fc:00:5d:f2' \
'192.168.0.12' \
'28:32:c5:d4:47:8a' \
'192.168.0.1'
```