Professional Documents
Culture Documents
Module Objectives
By the end of this module, you should be able to: Identify the configuration of network settings and components in Data ONTAP Explain the main features and uses of naming services Explain the function of /etc/hosts, NIS, and DNS
Configure Data ONTAP for name resolution in /etc/nsswitch.conf Use host files to troubleshoot name resolution Explain routing tables in Data ONTAP Identify how a FAS system routes packets Define and create virtual interfaces (VIFs) Discuss the operation and method for routing in VLANs
2
Interface Configuration
Interface Configuration
Initial interface configuration
Configured by the setup command
After initial setup, you can create and modify the interface configuration using:
CLI with the ifconfig command FilerView
Interface configuration is stored in the /etc/rc file, which is read when the storage system boots
Port Number 1 2 3 4
Letter a b c d
Ethernet
Ethernet Ethernet
3
3 3
2
3 4
e3b
e3c e3d
Interface configuration changes are not permanent until entered into the /etc/rc file
2008 NetApp. All rights reserved. 7
Command overwrites the existing file Existing information can be cut and pasted Press Control-C to save changes and exit To activate changes to the /etc/rc file, reboot or issue source /etc/rc
10
Name Resolution
11
Host-Name Resolution
A storage system must be able to resolve host names to valid IP addresses. Host-name resolution is commonly used in:
Processing CIFS requests Processing NFS requests Authenticating RSH sessions Many other services
12
13
/etc/hosts Configuration
Local IP and name resolution is provided by /etc/hosts. To modify /etc/hosts, use:
The rdfile and wrfile commands in CLI adminhost FilerView
14
15
DNS Configuration
The DNS provides a centralized mechanism for host-name resolution in Windows and UNIX environments.
To configure the DNS: In FilerView, use the Host Name Resolution Policy Wizard In the CLI, use:
setup command options dns.* dns command
2008 NetApp. All rights reserved. 16
NIS
In UNIX environments, NIS provides: A centralized mechanism for host-name resolution User authentication
The storage system can participate as an NIS client or server. To configure NIS: In FilerView, use the Host Name Resolution Policy Wizard In the CLI, use:
setup command options nis.* nis command
2008 NetApp. All rights reserved. 17
18
19
20
21
22
23
24
25
Route Resolution
26
Route Information
A route defines the direction to a network or host. To display the current routing table: In CLI, use netstat -r
system> netstat -r Routing tables Internet: Destination Gateway Flags default 66.166.149.161 UGS 66.166.149.160/2 link#1 UC 66.166.149.161 0:20:6f:10:25:7a UHL Refs 14 0
FilerView
27
28
29
Virtual Interfaces
30
Virtual Interfaces
Virtual interfaces (VIFs) allow: Trunking of one or more Ethernet interfaces Increased throughput to and from the storage system Virtual IP Ether Channel Switch
Load Balancing
Single-Mode VIF
In single mode, only one interface is active. The other interface is on standby.
x
e0 e1
32
Multimode VIF
In multimode, all interfaces are active and share a MAC address.
Provides multiplex capability
e0 e1 e2
33
Second-Level VIF
Defining a virtual interface at this level provides resilience for a Quad NIC failure.
Switch X
Vif_XA Vif_YA
Switch Y
Super Vif_A
Vif_YB
Vif_XB Super Vif_B
Quad Quad
Quad Quad
Final step: Active-Active Switch and NIC failures are transparent to clients when communicating to system A through the Vif_A super virtual interface.
34
Load Balancing
Load balancing is supported for multimode VIFs only: IP-based (default) MAC-based Round-robin (not recommended)
Load balancing assumes an even distribution of IP addresses, such as the following:
e0 10.10.10.1 10.10.10.5 10.10.10.9 10.10.10.13 e1 10.10.10.2 10.10.10.6 10.10.10.10 10.10.10.14 e2 10.10.10.3 10.10.10.7 10.10.10.11 10.10.10.15 e3 10.10.10.4 10.10.10.8 10.10.10.12 10.10.10.16
35
36
37
38
vif Commands
vif create [single|multi] <vif_name> [-b [rr|ip|mac]] [<interface_list>] vif delete <vif_name> [interface_list] vif destroy <vif_name> vif add <vif_name> <interface_list> vif [favor|nofavor] <interface> vif status [<vif_name>] vif stat vif_name [interval]
2008 NetApp. All rights reserved. 39
40
Virtual LANs
41
Virtual LANs
Virtual LANs (VLANs) provide: Increased IP network security Optimized packet routing
VLAN 0 VLAN 1 0 1 2 VLAN 2 Floor 1
0 1 2
Floor 2
42
43
vlan Commands
Use the following commands for VLANs:
vlan vlan vlan vlan vlan create g on <ifname> <vlanid > delete [-q] <ifname> <vlanid> add <ifname> <vlanid [vlanid ]> stat <ifname> <vlanid> modify g [on|off] <ifname>
VLANs over VIFs are supported Use the /etc/rc file to persist configurations during reboot
44
Module Summary
In this module, you should have learned to: Use the ifconfig command to configure interfaces Identify host-name resolution methods:
/etc/hosts file DNS NIS
Explain how a VIF is a single virtual interface created from multiple physical interfaces Identify trunking modes supported on the storage system:
Single modefailover Multimodeincreased bandwidth
Explain how VLANs increase IP network security by tagging specific packets with the appropriate VLAN ID
2008 NetApp. All rights reserved. 45
Exercise
Module 5: Networking Estimated Time: 45 minutes
Answers
Module 5: Networking
49