ONTAP Discussions

Adding an additional VLAN to FAS 2240 (Ontap 8.2.5 7-mode)

gmurison07
3,921 Views

Based on research here and documentation I have a plan from adding a VLAN to our 2-node HA cluster.

I just wanted a sanity check if possible. I have changed some values to protect the innocent.

 

Add an entry to /etc/hosts:

172.201.10.15 node-a-vif1-201

 

Add an entries to /etc/rc:

vlan create vif1 201

ifconfig vif1-201 `hostname`-vif1-201 netmask 255.255.255.0 partner vif1-201 mtusize 9000 nfo

Full config:
=============================
etc/hosts
=============================
127.0.0.1 localhost localhost-stack
127.0.10.1 localhost-10 localhost-bsd
127.0.20.1 localhost-20 localhost-sk
192.196.0.64 node-a storage01-a-vif1-1
172.22.1.10 node-a-vif1-2
172.201.10.15 node-a-vif1-201
# 0.0.0.0 node-a-e0M
# 0.0.0.0 storage01-a-e0P
=============================
/etc/rc
=============================
#Generated by Graham Murison 2020-06-10 14:33:00
hostname node-a
ifgrp create lacp vif1 -b ip e0b e0c e0d e0a
vlan create vif1 2
vlan create vif1 201
ifconfig vif1 `hostname` netmask 255.255.240.0 partner vif1 mtusize 9000 nfo
ifconfig vif1-2 `hostname`-vif1-2 netmask 255.255.255.0 partner vif1-2 mtusize 9000 nfo
ifconfig vif1-201 `hostname`-vif1-201 netmask 255.255.255.0 partner vif1-201 mtusize 9000 nfo
route add default 192.196.1.112 1
routed on
options dns.enable on
options dns.domainname internal.ca
options nis.enable off
savecore

1 ACCEPTED SOLUTION

TMACMD
3,867 Views

Yeah...to be safe place the interface to be routed first, then the routed line then the remaining ifconfig lines.

 

View solution in original post

4 REPLIES 4

Ontapforrum
3,909 Views

Hi,

Looks absolutely ok.

Thanks!

bmccullough
3,902 Views

Since you are adding a new network to your controllers you may want to review the routed on entry in your /etc/rc file.   This command enables a routing daemon which you (and or your network engineers) may not want running in your environment now storage is connecting to multiple networks.

 

 

 

TMACMD
3,868 Views

Yeah...to be safe place the interface to be routed first, then the routed line then the remaining ifconfig lines.

 

gmurison07
3,838 Views

Thanks all, this was originally setup by a VAR so I am not sure why the routing daemon was enable since have a small network with no dynamic routing in place.

Public