blackhole://nilFM

linux networking

My little cheatsheet for static and virtual networking:

# accept ipv6 icmp packets
ip6tables -I INPUT -j ACCEPT -p icmpv6

# setup a bridge for VMs
ip link add name mbr0 type bridge
ip link set eth0 master mbr0
ip link set eth0 up

# if you're not using DHCP, configure static networking
ip addr add 10.0.0.69/24 brd 255.255.255.0 scope global dev mbr0
ip addr add default via 10.0.0.1 dev mbr0
ip addr add 00ff:8c3:857c:1270.1345:aa60:eeee:1337/64 scope global dev mbr0

ip link set mbr0 up