17 lines
424 B
Bash
Executable File
17 lines
424 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Dummy "arp -an" emulator
|
|
|
|
# Linux
|
|
echo "? (0.0.0.0) at 00:00:00:00:00:00 [ether] on eth0"
|
|
|
|
# FreeBSD
|
|
echo "? (0.0.0.0) at 11:11:11:11:11:11 on bge0 expires in 5 seconds [ethernet]"
|
|
|
|
# Solaris
|
|
cat <<EOF
|
|
Device IP Address Mask Flags Phys Addr
|
|
------ -------------------- --------------- -------- ---------------
|
|
ce0 0.0.0.0 255.255.255.255 o 22:22:22:22:22:22
|
|
EOF
|