diff options
author | 2015-12-23 14:27:50 +0000 | |
---|---|---|
committer | 2015-12-23 14:27:50 +0000 | |
commit | 65720b8b578758512761c88ed48c72c9723d54ec (patch) | |
tree | eed1fb5e5beded621aee46ce4f2ed21543ee274f | |
parent | Simplify things by using grep -q. (diff) | |
download | wireguard-openbsd-65720b8b578758512761c88ed48c72c9723d54ec.tar.xz wireguard-openbsd-65720b8b578758512761c88ed48c72c9723d54ec.zip |
Add my machines' configuration files as an example to the readme.
That should make it easier for others to set up the test.
-rw-r--r-- | regress/sys/netinet/arp/README | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/regress/sys/netinet/arp/README b/regress/sys/netinet/arp/README index 2f44956ff16..ebcff169a9f 100644 --- a/regress/sys/netinet/arp/README +++ b/regress/sys/netinet/arp/README @@ -14,3 +14,49 @@ ARP input code has different cases for that. So all possible log messages from ARP input can be triggered by a subtest. Additionally check that REMOTE can answer a Proxy ARP Requests. + +EXAMPLE + +To run this test I use the following configuration files. +You should choose a different set of MAC and IP addresses. + +- My local machine where I run the regression test: + +/etc/hosts +# to login to qemu with SSH via IPv6 link-local +fe80::725f:caff:fe21:8d70%tap0 q70 + +/etc/hostname.tap0 +lladdr fe:e1:ba:d0:d5:6d up +inet 10.188.70.17 255.255.255.0 +inet6 eui64 + +/etc/hostname.tap1 +up + +- My qemu where the kernel under test is running + +/etc/hostname.vio0 +lladdr 70:5f:ca:21:8d:70 +inet 10.188.70.70 255.255.255.0 +inet6 eui64 + +/etc/hostname.vio1 +inet 10.188.211.70 255.255.255.0 + +- My environment when executing the test + +LOCAL_IF=tap0 +LOCAL_MAC=fe:e1:ba:d0:d5:6d +REMOTE_MAC=70:5f:ca:21:8d:70 +FAKE_MAC=12:34:56:78:9a:bc +REMOTE_SSH=q70 + +LOCAL_ADDR=10.188.70.17 +REMOTE_ADDR=10.188.70.70 +FAKE_ADDR=10.188.70.188 +OTHER_ADDR=10.188.211.70 +OTHERFAKE_ADDR=10.188.211.188 + +export LOCAL_IF LOCAL_MAC REMOTE_MAC FAKE_MAC REMOTE_SSH LOCAL_ADDR REMOTE_ADDR +export FAKE_ADDR OTHER_ADDR OTHERFAKE_ADDR |