Network and Storage Protocols

How to delete WINS IP-addresses?

sanadmin_stadtdo
9,244 Views

Hi,

in our environment WINS server were used in the past, which are already deleted and do no longer exist. In the existing CIFS-vFiler these IP-addresses are still included and causes the following warnings in the syslog: "NBT: No WINS server are responding The filer will continue to try to register with WINS.." (nearly every minute)

options cifs.wins_servers supplies the two IP-addresses 172.17.40.2,172.17.40.3.

a) How to delete these IP-addresses?

b) Do I have to rerun the CIFS-Setup on the vFiler?

c) It's a reboot or cifs shutdown required?

Thank you very much.

Regards.

Michael

1 ACCEPTED SOLUTION

warrenb
9,053 Views

Hi Michael,

I wasn't aware of that, but after a little digging I've found that whilst you can only view cifs.wins_servers from vfiler0 you can still set it in a vfiler. See here: https://library.netapp.com/ecmdocs/ECMM1278014/html/vfiler/basica18.htm#1155735

Whilst you cannot use cifs.wins_servers to view the information you should be able to use nbtstat to list WINS servers: -

labstorage*> vfiler run vf_warrenb options cifs.wins_servers 10.68.30.56

labstorage*> vfiler run vf_warrenb nbtstat

===== vf_warrenb

interfaces:    

         10.68.30.127

broadcast interfaces:

         10.68.30.255

servers:

         10.68.30.56 (active)

NBT scope []; NBT mode [H]; NBT names:

         VF_WARRENB      <00> ( Broadcast ) ( )

         VF_WARRENB      <03> ( Broadcast ) ( )

         VF_WARRENB      <20> ( Broadcast ) ( )

         COV-LAB         <00> ( Broadcast ) ( group )

labstorage*> vfiler run vf_warrenb options cifs.wins_servers ""

labstorage*> vfiler run vf_warrenb nbtstat

===== vf_warrenb

interfaces:   

         10.68.30.127

broadcast interfaces:

         10.68.30.255

servers:

NBT scope []; NBT mode [H]; NBT names:

         VF_WARRENB      <00> ( Broadcast ) ( )

         VF_WARRENB      <03> ( Broadcast ) ( )

         VF_WARRENB      <20> ( Broadcast ) ( )

         COV-LAB         <00> ( Broadcast ) ( group )

Regards,

Warren

View solution in original post

3 REPLIES 3

warrenb
9,053 Views

Hi Michael,

You should be able to clear the option using an empty string: -

options cifs.wins_servers ""

Regards,

Warren

sanadmin_stadtdo
9,053 Views

Hallo Warren,

I forgot: options cifs.wins servers provides the IP addresses 172.17.40.2,172.17.40.3 only on the filer0 and not to the respective vFiler.

It seems that there is no such option on the vFiler (eg fsdeg006😞

     fsdeg006@NA325012> options cifs.wins_servers

     No such option cifs.wins_servers

     fsdeg006@NA325012>

     fsdeg006 @ NA325012>
     fsdeg006 @ NA325012> options cifs
     cifs.LMCompatibilityLevel 2
     :
     cifs.universal_nested_groups.enable on
     cifs.widelink.ttl 10m
     fsdeg006 @ NA325012>

Where are these IP addresses stored in the vFiler (which were registered with the CIFS Setup)?
Do the IP addresses will be deleted only on the filer0?

Thank you.

Regards,

Michael

warrenb
9,054 Views

Hi Michael,

I wasn't aware of that, but after a little digging I've found that whilst you can only view cifs.wins_servers from vfiler0 you can still set it in a vfiler. See here: https://library.netapp.com/ecmdocs/ECMM1278014/html/vfiler/basica18.htm#1155735

Whilst you cannot use cifs.wins_servers to view the information you should be able to use nbtstat to list WINS servers: -

labstorage*> vfiler run vf_warrenb options cifs.wins_servers 10.68.30.56

labstorage*> vfiler run vf_warrenb nbtstat

===== vf_warrenb

interfaces:    

         10.68.30.127

broadcast interfaces:

         10.68.30.255

servers:

         10.68.30.56 (active)

NBT scope []; NBT mode [H]; NBT names:

         VF_WARRENB      <00> ( Broadcast ) ( )

         VF_WARRENB      <03> ( Broadcast ) ( )

         VF_WARRENB      <20> ( Broadcast ) ( )

         COV-LAB         <00> ( Broadcast ) ( group )

labstorage*> vfiler run vf_warrenb options cifs.wins_servers ""

labstorage*> vfiler run vf_warrenb nbtstat

===== vf_warrenb

interfaces:   

         10.68.30.127

broadcast interfaces:

         10.68.30.255

servers:

NBT scope []; NBT mode [H]; NBT names:

         VF_WARRENB      <00> ( Broadcast ) ( )

         VF_WARRENB      <03> ( Broadcast ) ( )

         VF_WARRENB      <20> ( Broadcast ) ( )

         COV-LAB         <00> ( Broadcast ) ( group )

Regards,

Warren

Public