Skip to content

Instantly share code, notes, and snippets.

View nicobrevin's full-sized avatar

Nick Griffiths nicobrevin

  • Catalyst NZ
  • Wellington, New Zealand
View GitHub Profile
$ diff /tmp/sysctl-*
24c24
< net.ipv4.conf..rp_filter = 1
---
> net.ipv4.conf..rp_filter = 0
44c44
< net.ipv6.conf..accept_dad = 0
---
> net.ipv6.conf..accept_dad = 1
0: from all lookup local
32766: from all lookup main
32767: from all lookup default
A $ ip r
default via 10.0.3.1 dev eth0
10.0.3.0/24 dev eth0 proto kernel scope link src 10.0.3.118
10.62.0.0/24 dev eth1 proto kernel scope link src 10.62.0.10
169.254.0.0/16 dev eth0 scope link metric 1013
B $ ip r
default via 10.0.3.1 dev eth0
10.0.3.0/24 dev eth0 proto kernel scope link src 10.0.3.112
169.254.0.0/16 dev eth0 scope link metric 1008