From 3ab5964e910ab24e84720da0051cfd7ac5651bec Mon Sep 17 00:00:00 2001 From: Patrick Neumann Date: Wed, 30 Jan 2019 13:37:35 +0100 Subject: [PATCH] deactivate ipv6 --- kali/wireshark_with_no_ip | 3 +++ 1 file changed, 3 insertions(+) diff --git a/kali/wireshark_with_no_ip b/kali/wireshark_with_no_ip index bb3b3e1..f8238fd 100755 --- a/kali/wireshark_with_no_ip +++ b/kali/wireshark_with_no_ip @@ -31,6 +31,9 @@ ip addr flush dev "${NIC}" ip route flush dev "${NIC}" echo > /etc/resolv.conf +# deactivate ipv6 +echo 1 > /proc/sys/net/ipv6/conf/all/disable_ipv6 + # configure nic without ip address and without arp ip addr add 0.0.0.0/32 dev "${NIC}" ip link set "${NIC}" arp off up