diff options
author | Christian Pointner <equinox@spreadspace.org> | 2019-06-20 05:34:53 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2019-06-20 05:34:53 +0200 |
commit | b9fc07d1d12fb31fb9e86cc2cf3347672461d3b0 (patch) | |
tree | da6bba755170a71df174e379ece0a23487ba7308 /roles/dellos6/bootstrap/templates | |
parent | disable TCP Sack (diff) |
chaos-at-home net-config
Diffstat (limited to 'roles/dellos6/bootstrap/templates')
-rw-r--r-- | roles/dellos6/bootstrap/templates/init.j2 | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/roles/dellos6/bootstrap/templates/init.j2 b/roles/dellos6/bootstrap/templates/init.j2 index 2435c738..8a0c1ae4 100644 --- a/roles/dellos6/bootstrap/templates/init.j2 +++ b/roles/dellos6/bootstrap/templates/init.j2 @@ -3,12 +3,17 @@ configure no ip domain-lookup hostname {{ host_name }} -{# TODO: hardcoded address and vlan tag! #} -interface vlan 1 -ip address 192.168.42.200 255.255.255.0 + +vlan 42 +name mgmt +exit +interface vlan {{ dellos6_mgmt_vlan }} +ip address {{ dellos6_mgmt_ipaddr }} {{ dellos6_mgmt_netmask }} exit no spanning-tree +{# TODO: configure management port #} + crypto key generate rsa crypto key generate dsa ip ssh server |