Commit 2445b209 authored by wangyongshou's avatar wangyongshou

init arp

parent 4c4536d7
Pipeline #33 canceled with stages
EXEFILE ?= setuniarp
all:
rm -rf $(EXEFILE)
gcc -o $(EXEFILE) setuniarp.c -lpcap -g
#!/bin/bash
base=$(cd $(dirname $0); pwd)
UEIP=192.169.0.0
PREFIX=24
INTER=enp3s0f0
MAC=00:1b:21:cb:94:a8
VPPEXPORT=192.168.30.10
echo "$base"
echo "$UEIP"
echo "$PREFIX"
echo "$INTER"
echo "$MAC"
echo "$VPPEXPORT"
#./setuniarp vppout de:dd:91:00:f6:42 192.169.0.0/24
echo "$base"/setuniarp $INTER $MAC "$UEIP/$PREFIX" $VPPEXPORT
"$base"/setuniarp $INTER $MAC "$UEIP/$PREFIX" $VPPEXPORT
#!/bin/bash
rm -rf setuniarp
make
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment