| windows | linux |
renew ip address | ipconfig /renew | dhclient -r eth0 dhclient eth0 |
show arp cache | arp -a | arp -n |
dele arp cache | arp -d | arp -d 192.168.10.1 |
flush dns cache | ipconfig /flushdns | (sudo apt-get install nscd) service nscd reload |
disable offload |
| ethtool --offload eth0 rx off tx off |
disable ipv6 |
| sysctl -w net.ipv6.conf.all.disable_ipv6=1 sysctl -w net.ipv6.conf.default.disable_ipv6=1 |
How to configure default gateway
sudo route add default gw 10.0.0.1 eth0
https://help.ubuntu.com/lts/serverguide/network-configuration.html
How to changing device number(e.g. wlan2 > wlan1) on Ubuntu.
Delete /etc/udev/rules.d/70-persistent-net.rules
Reboot
How to disable ipv6 permanently on Linux.
In "/etc/sysctl.conf", add the following options.
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1