12345678910111213141516171819202122 |
- # This file describes the network interfaces available on your system
- # and how to activate them. For more information, see interfaces(5).
- # The loopback network interface
- auto lo
- iface lo inet loopback
- [% FOREACH if IN interfaces -%]
- auto [% if.name %]
- [% IF if.ip -%]
- iface [% if.name %] inet static
- address [% if.ip %]
- netmask [% if.netmask %]
- gateway [% if.gateway %]
- [%- END %]
- [% IF if.ip6 -%]
- iface [% if.name %] inet6 static
- address [% if.ip6 %]
- netmask [% if.netmask6 %]
- gateway [% if.gateway6 %]
- [%- END %]
- [%- END %]
|