ONTAP Discussions

Add IP Address to VIF - Ontap 7 mode controller

tripplexp
1,122 Views

I need to add an ip address to the interface group. Everytime I try to add the configuration I get an error

 

mvif0: flags=0xa2d08863<BROADCAST,RUNNING,MULTICAST,TCPCKSUM,VLAN> mtu 1500

ether 02:a0:98:27:de:14 (Enabled virtual interface)

mvif0-444: flags=0x6948863<UP,BROADCAST,RUNNING,MULTICAST,TCPCKSUM,NOWINS> mtu 1500

inet 172.31.232.5 netmask-or-prefix 0xffffff00 broadcast 172.31.232.255

inet x.x.x.x netmask-or-prefix 0xffffff00 broadcast 172.31.232.255

inet x.x.x.x netmask-or-prefix 0xffffff00 broadcast 172.31.232.255




ifconfig -a

e0a: flags=0x6d48867<UP,BROADCAST,RUNNING,MULTICAST,TCPCKSUM,NOWINS> mtu 1500 PRIVATE

inet 198.15.1.96 netmask-or-prefix 0xffffff00 broadcast 198.15.1.255 noddns

ether 00:a0:98:27:de:14 (auto-100tx-fd-up) flowcontrol full

e0b: flags=0x8ad08867<BROADCAST,RUNNING,MULTICAST,TCPCKSUM,VLAN> mtu 1500

ether 02:a0:98:27:de:14 (auto-1000t-fd-up) flowcontrol full

trunked mvif0

e4a: flags=0x2508866<BROADCAST,RUNNING,MULTICAST,TCPCKSUM> mtu 1500

ether 00:15:17:ef:76:c8 (auto-unknown-cfg_down) flowcontrol full

e4b: flags=0x8ad08867<BROADCAST,RUNNING,MULTICAST,TCPCKSUM,VLAN> mtu 1500

ether 02:a0:98:27:de:14 (auto-1000t-fd-up) flowcontrol full

trunked mvif0

e4c: flags=0x8ad08867<BROADCAST,RUNNING,MULTICAST,TCPCKSUM,VLAN> mtu 1500

ether 02:a0:98:27:de:14 (auto-1000t-fd-up) flowcontrol full

trunked mvif0

e4d: flags=0x8ad08867<BROADCAST,RUNNING,MULTICAST,TCPCKSUM,VLAN> mtu 1500

ether 02:a0:98:27:de:14 (auto-1000t-fd-up) flowcontrol full

trunked mvif0

e0M: flags=0x2948867<UP,BROADCAST,RUNNING,MULTICAST,TCPCKSUM> mtu 1500

inet 172.31.232.4 netmask-or-prefix 0xffffff00 broadcast 172.31.232.255

partner e0M (not in use)

ether 00:a0:98:27:de:16 (auto-100tx-fd-up) flowcontrol full

lo: flags=0x1948049<UP,LOOPBACK,RUNNING,MULTICAST,TCPCKSUM> mtu 8160

inet 127.0.0.1 netmask-or-prefix 0xff000000 broadcast 127.0.0.1

ether 00:00:00:00:00:00 (VIA Provider)

mvif0: flags=0xa2d08863<BROADCAST,RUNNING,MULTICAST,TCPCKSUM,VLAN> mtu 1500

ether 02:a0:98:27:de:14 (Enabled virtual interface)

mvif0-444: flags=0x6948863<UP,BROADCAST,RUNNING,MULTICAST,TCPCKSUM,NOWINS> mtu 1500

inet 172.31.232.5 netmask-or-prefix 0xffffff00 broadcast 172.31.232.255

inet x.x.x.x netmask-or-prefix 0xffffff00 broadcast 172.31.232.255

inet x.x.x.x netmask-or-prefix 0xffffff00 broadcast 172.31.232.255

partner mvif0-444 (not in use)

ether 02:a0:98:27:de:14 (Enabled virtual interface)

nfo enabled

mvif0-445: flags=0x6948863<UP,BROADCAST,RUNNING,MULTICAST,TCPCKSUM,NOWINS> mtu 1500

inet 172.31.233.4 netmask-or-prefix 0xffffff00 broadcast 172.31.233.255

partner mvif0-445 (not in use)

ether 02:a0:98:27:de:14 (Enabled virtual interface)

mvif0-446: flags=0x6948863<UP,BROADCAST,RUNNING,MULTICAST,TCPCKSUM,NOWINS> mtu 1500

inet 172.31.234.4 netmask-or-prefix 0xffffff00 broadcast 172.31.234.255

partner mvif0-446 (not in use)

ether 02:a0:98:27:de:14 (Enabled virtual interface)

mvif0-447: flags=0x6948863<UP,BROADCAST,RUNNING,MULTICAST,TCPCKSUM,NOWINS> mtu 1500

inet 172.31.235.4 netmask-or-prefix 0xffffff00 broadcast 172.31.235.255

partner mvif0-447 (not in use)

ether 02:a0:98:27:de:14 (Enabled virtual interface)

 

 

/etc/rdfile

 

hostname dcnas01

vif create lacp mvif0 -b ip e0b e4b e4c e4d

vlan create mvif0 444 445 446 447

ifconfig mvif0-444 `hostname`-cifs netmask 255.255.255.0 -wins partner mvif0-444 nfo

route add default x.x.x.x 1 # Placing here ensures DG is on mvif0-444

ifconfig mvif0-445 `hostname`-av netmask 255.255.255.0 -wins partner mvif0-445

ifconfig mvif0-446 `hostname`-snap netmask 255.255.255.0 -wins partner mvif0-446

ifconfig mvif0-447 `hostname`-nfs netmask 255.255.255.0 -wins partner mvif0-447

ifconfig e0a -wins no_ddns # Disable WINS, DNS on ACP NIC

ifconfig e0M `hostname`-e0M netmask 255.255.255.0 partner e0M # This is the 100Mb mgmt interface used by SCOM, DFM i.e. dcnas01

ifconfig mvif0-444 alias x.x.x.x netmask 255.255.255.0

ifconfig mvif0-444 alias x.x.x.x netmask 255.255.255.0

route add net x.x.x.x/24 172.31.234.3 1 # Force snapmirror traffic over snap VIFs

route add host x.x.x.x 172.31.232.4 0 # Force DFM traffic to talk over e0M

route add host x.x.x.x 172.31.232.4 0 # ASUP Mail Gateway

route add host x.x.x.x 172.31.233.4 0 # Force AV traffic over AV VIF

route add host x.x.x.x 172.31.233.4 0 # Force AV traffic over AV VIF

routed on

options dns.domainname abc.abc.com

options dns.enable on

options nis.enable off

savecore

priv set diag

setflag smb_vscan_delay_close_resp 1

--------------------------

 

We are running OnTap 7.3.6 - so instead of ifgrp, the command is 'vif status'

 

 

vif status

default: transmit 'IP Load balancing', VIF Type 'multi_mode', fail 'log'

mvif0: 4 links, transmit 'IP Load balancing', VIF Type 'lacp' fail 'default'

     VIF Status    Up     Addr_set

    up:

        e4b: state up, since 07Jun2012 23:06:33 (227+12:04:57)

                mediatype: auto-1000t-fd-up

                flags: enabled

                active aggr, aggr port: e0b

                input packets 78519800731, input bytes 18829470990123

                input lacp packets 708256, output lacp packets 655228

                output packets 35442257716, output bytes 28314866613817

                up indications 3, broken indications 1

                drops (if) 0, drops (link) 0

                indication: up at 07Jun2012 23:06:33

                        consecutive 0, transitions 4

        e4c: state up, since 07Jun2012 23:06:32 (227+12:04:58)

                mediatype: auto-1000t-fd-up

                flags: enabled

                active aggr, aggr port: e0b

                input packets 64972455447, input bytes 32931226412620

                input lacp packets 708301, output lacp packets 655225

                output packets 55403116031, output bytes 44959698565653

                up indications 2, broken indications 0

                drops (if) 0, drops (link) 0

                indication: up at 07Jun2012 23:06:32

                        consecutive 0, transitions 2

        e4d: state up, since 07Jun2012 23:06:32 (227+12:04:58)

                mediatype: auto-1000t-fd-up

                flags: enabled

                active aggr, aggr port: e0b

                input packets 78114188849, input bytes 19886216266101

                input lacp packets 708177, output lacp packets 655226

                output packets 120974124979, output bytes 95015729900386

                up indications 2, broken indications 0

                drops (if) 0, drops (link) 0

                indication: up at 07Jun2012 23:06:32

                        consecutive 0, transitions 2

        e0b: state up, since 07Jun2012 23:06:30 (227+12:05:00)

                mediatype: auto-1000t-fd-up

                flags: enabled

                active aggr, aggr port: e0b

                input packets 45787764701, input bytes 12578313299938

                input lacp packets 708285, output lacp packets 655225

                output packets 90200167276, output bytes 66721850583072

                up indications 2, broken indications 0

                drops (if) 0, drops (link) 0

                indication: up at 07Jun2012 23:06:30

                        consecutive 0, transitions 2

1 ACCEPTED SOLUTION

Ontapforrum
926 Views

What is the error ?

 

Are you trying to add an alias or alternative IP to existing vif_vlan ?

Can I add an alias or alternate IP to a vif (ifgrp)? - NetApp Knowledge Base

View solution in original post

1 REPLY 1

Ontapforrum
927 Views

What is the error ?

 

Are you trying to add an alias or alternative IP to existing vif_vlan ?

Can I add an alias or alternate IP to a vif (ifgrp)? - NetApp Knowledge Base

Public