Setup (r00t)

From d00d3
Revision as of 22:08, 16 October 2013 by Andrenarchy (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

2011-08-07: ipv4+ipv6

Network data as provided by Hetzner:

  • IPs: 2a01:4f8:120:4024:: /64
  • Gateway: 2a01:4f8:120:4020::1 /59

This is how /etc/network/interfaces looks like (thx to http://stbuehler.de/debianserver/kvm.html):

auto lo
iface lo inet loopback 

# device: eth0
auto  eth0
iface eth0 inet static
  address   78.46.73.40
  broadcast 78.46.73.63
  netmask   255.255.255.224
  gateway   78.46.73.33
  # default route to access subnet
  up route add -net 78.46.73.32 netmask 255.255.255.224 gw 78.46.73.33 eth0 

iface eth0 inet6 static
  address   2a01:4f8:120:4024::2
  netmask   128
  # Host-Route, da das Gateway ausserhalb des eigenen /64 Blocks liegt
  up ip -6 route add 2a01:4f8:120:4020::1 dev eth0
  # Host-Route, da das Gateway ausserhalb des eigenen /64 Blocks liegt
  down ip -6 route del 2a01:4f8:120:4020::1 dev eth0
  # Default Route
  up ip -6 route add default via 2a01:4f8:120:4020::1 dev eth0
  down ip -6 route del default via 2a01:4f8:120:4020::1 dev eth0
  # proxy VM ipv6 addr
  post-up   ip -6 neigh add proxy 2a01:4f8:120:4024:1337::2 dev eth0
  post-up   ip -6 neigh add proxy 2a01:4f8:120:4024:1337::3 dev eth0
  post-up   ip -6 neigh add proxy 2a01:4f8:120:4024:1337::4 dev eth0 

auto kvmbr0
iface kvmbr0 inet static
  address   78.46.110.193
  netmask   255.255.255.240
  pre-up    brctl addbr kvmbr0
  up        ip -6 addr add 2a01:4f8:120:4024:1337::2/80 dev kvmbr0
  post-down brctl delbr kvmbr0

2013-10-15: upgrade to Debian 7.2 wheezy

/etc/apt/sources.list

deb     ftp://mirror.hetzner.de/debian/packages  wheezy main contrib non-free
deb     ftp://mirror.hetzner.de/debian/security  wheezy/updates  main contrib non-free

Remove content of /etc/apt/preferences.

apt-get update
apt-get upgrade
apt-get dist-upgrade
Personal tools