Here’s how to set both static IPv4 and IPv6 addressing on Debian 11. The new portions are outlined in italics.

First, edit /etc/network/interfaces

auto lo
auto ens192
iface lo inet loopback

# The primary network interface
allow-hotplug ens192
iface ens192 inet static
address {{ ipv4.address }}
gateway {{ ipv4.gateway }}
iface ens192 inet6 static
address {{ ipv6.address }}
gateway {{ ipv6.gateway }}

Then, restart your networking stack:

systemctl restart networking

Originally published at https://blog.engyak.co.

With the previous post, I covered traditional data center networking, and some of the reliability compromises made to accommodate typical workloads. Here I’ll be outlining my take as a series of blog posts on the next iteration of data center network design, Spine and Leaf:
Lab Diagram

Note: This page may change based on content. I’m going to try and keep things generic up until the very end.

Originally published at https://blog.engyak.net.

Nick Schmidt

I am a network engineer based out of Alaska, pursuing various methods of achieving SRE/NRE

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store