Академический Документы
Профессиональный Документы
Культура Документы
Administration
March 2003
Net Admin 1
Objectives
When you have completed this module you will be able
to do the following:
March 2003
Net Admin 2
Interface Names
C1200/2100/6100
NetCache supports these
network types:
- 10 Mbit Ethernet
- 100 Mbit Ethernet
- Gigabit Ethernet (1000 Mbit)
- FDDI (C6100 & C3100)
- CDDI (C6100 & C3100)
March 2003
Net Admin 3
Network General
This page is used to configure port, interface, and IP address settings to control incoming
and outgoing traffic for the NetCache appliance.
Refer to Online Help for specific configuration information.
March 2003
Net Admin 4
March 2003
Net Admin 5
March 2003
Net Admin 6
Configure Interfaces
Network Interfaces
The options on this page are used to view, configure, or change information about each
network interface. This page is also used to create, configure, or destroy a virtual
interface on this NetCache appliance using the Virtual Interfaces tab
Refer to Online Help for specific configuration information.
March 2003
Net Admin 7
Virtual Interface
Aggregate multiple ethernet links into a single
logical channel between two devices
Clients access a single virtual IP address
Etherchannel
Switch
e1
e2
e3
e4
Load Balancing
Virtual IP address
March 2003
Net Admin 8
Single-mode Trunk
Provides fail over capabilities
Switch
Switch
e0 fails
e0
e1
vif0
e0
e1
vif0
Single-mode Trunk
In a single-mode, only one of the interfaces is active. The other interfaces are on standby,
ready to take over if the active interface fails.
In the figure above, e0 and e1 are part of the SingleTrunk1 single-mode trunk. The active
interface, e0, fails. Failure means that the link status of the interface is down, which
signals that the interface has lost connection with the switch. The e1 interface takes over
and maintains the connection. The interface e1 also takes over the MAC address of the e0
interface.
With single-mode trunks, the NetCache performs takeover based on the absence of a link.
March 2003
Net Admin 9
Multi-mode Trunk
Switch
e0
e1 e2 e3
MultiTrunk1
Multiple-mode trunks
In a multiple-mode trunk all the interfaces are active. This provides greater speed than a
single interface if there are multiple hosts accessing the NetCache. This will not improve
performance for a single host.
A multiple-mode trunk requires a switch that supports manually configurable trunking.
The switch determines how the load is balanced among the interfaces.
In the figure above, e0, e1, e2, and e3 are part of the MultiTrunk1 multiple-mode trunk.
All four interfaces in the MultiTrunk1 multiple-mode trunk are active.
March 2003
Net Admin 10
Configuring VIF
Configuring a VIF
This page is used to create, destroy, add physical interfaces to, or to change the mode of,
a virtual interface on the NetCache appliance.
Refer to Online Help for specific configuration information.
March 2003
Net Admin 11
March 2003
Net Admin 12
Network - Routing
Typically, the NetCache Appliance learns explicit routes through the ICMP redirect
messages it receives from the default router. The NetCache Appliance relies on the
default route and explicit routes for routing its own packets. If, for some reason, your
NetCache Appliance cannot learn an explicit route, you can add the route here. If the
NetCache Appliance cannot find an explicit route in the routing table for a particular
destination, it uses the default route.
About routed
Routed is a simple routing daemon that is enabled at boot time. Routed helps manage
multiple routers and enables you to create redundant routing schemes. It listens for
Routing Information Protocol (RIP) packets to determine which routers on the network
are alive. The NetCache Appliance does not rely on routed to construct the routing table.
You can turn off routed on the Network Settings page. If you do so, ensure that a default
router is designated on the Basic Configuration Settings page.
March 2003
Net Admin 13
Configure Routing
Configure Routing
This page is used to configure routing on the NetCache. This tab is accessed at Setup >
Network >Routing.
Refer to Online Help for specific configuration information.
March 2003
Net Admin 14
Viewing Routes
Viewing Routes
This page is used to view routing configurations on the NetCache. This tab is accessed at
Setup > Network >Routing.
Refer to Online Help for specific configuration information.
March 2003
Net Admin 15
CLI:
netcache>config.system.routes = \\
net 10.41.66.1 10.41.6.1 1
\\
March 2003
Net Admin 16
Bandwidth Allocation
Limit bandwidth usage for certain
classes of traffic
Other products classify traffic based on
TCP/IP headers only
NetCache can classify traffic based on
attributes of higher level protocols
Bandwidth Allocation
The NetCache bandwidth allocation feature enables you to control the total bandwidth
capacity that specified categories of connections can collectively consume on the
NetCache appliance. Using the NetCache Manager fields associated with bandwidth
allocation, you can:
Set aside portions of your total NetCache bandwidth capacity into various-size\
capacity bandwidth pipes.
All connections assigned to a specific bandwidth pipe share the total bandwidth space
allocated for that bandwidth pipe. The NetCache appliance enforces the bandwidth limit,
if necessary, by using buffers to space out both incoming and outgoing packets. As a
result, TCP connections, as well as protocol connections based on UDP, gracefully use
the specified bandwidth pipe with a minimum of burstiness, allowing NetCache to
enforce the bandwidth allocation rules efficiently.
March 2003
Net Admin 17
Restrict aggregate bandwidth by single protocol (IP, TCP, UDP, MMS, RTSP,
HTTP) or by a streaming protocol set (both RTSP and MMS)
March 2003
Net Admin 18
Set aside a portion of your total NetCache bandwidth capacity for a specified capacity
"bandwidth pipe."
All connections assigned to a specific bandwidth pipe share the total bandwidth space
assigned to that bandwidth pipe. NetCache enforces the bandwidth limit by using buffers
to "space out" both incoming and outgoing packets in compliance with that pipe's
bandwidth limit.
As a result, TCP connections, as well as protocol connections based on UDP, gracefully
use the specified bandwidth pipe with a minimum of burstiness, allowing NetCache to
enforce the bandwidth allocation rules efficiently.
March 2003
Net Admin 19
config.ipfw.rules
pipe 1 streaming inbound time 9AM-7PM
pipe 2 streaming inbound
config.ipfw.enable
on/off
March 2003
Net Admin 20
March 2003
Net Admin 21
Bandwidth Buckets
Setup > Network > Buckets Tab
config.ipfw.bwmgr.buckets
March 2003
Net Admin 22
March 2003
Net Admin 23
Defining Rules
Defining Riles
Options on the Setup > Network > Bandwidth Allocation page are used to create,
enable, delete, or edit NetCache aggregate bandwidth management rules.
Refer to Online Help for specific configuration information.
March 2003
Net Admin 24
March 2003
Net Admin 25
DNS Caching
DNS Caching
You can expand NetCache DNS capability by configuring a NetCache Appliance to
function as a DNS proxy cache for use by clients. Clients send DNS queries to the
NetCache Appliance. If the appliance has the host name to IP addresses mapping in its
cache, it can resolve the DNS query without contacting the DNS nameserver. If the
appliance cannot resolve a DNS query, it contacts a DNS nameserver to resolve the
query, caches the host name and IP addresses resulting from the query, and returns the
hosts IP addresses to the client.
NetCache always caches the results of lookups that it initiated and sent to a DNS
nameserver. (DNS nameservers are identified in the Nameservers option on the Setup >
DNS > General page in the NetCache Manager utility.) NetCache then serves the hosts
IP address for NetCache internal processes without having to query the DNS nameserver
with subsequent requests for the same host name. This type of DNS caching is not
configurable.
March 2003
Net Admin 26
DNS Configuration
DNS Configuration
Options on the Setup tab > DNS > General page are used to set up the NetCache
appliance to use domain name service (DNS) for host name resolution.
Refer to Online Help for specific configuration information.
March 2003
Net Admin 27
Hosts File
This option allows you to input DNS entries (host names and the associated IP addresses)
that enable NetCache to carry out domain-name resolution locally when it needs tofetch
data from an origin server in response to client requests
March 2003
Net Admin 28
March 2003
Net Admin 29
Asynchronous DNS
Options for retries and retransmit timeouts
are configurable to overcome bottleneck
Now DNS resolution is accomplished
differently in the code to support
Asynchronous DNS
Nothing to configure - Shipped with
Asynchronous DNS enabled
March 2003
Net Admin 30
Iterative DNS
Resolution
get IP from name
get name from IP
Recursive query
Ask that the answer be explicitly returned
Return an answer (or error)
If no answer, do not look for it return an error
Iterative query
Resolve DNS queries through repetitive queries
If the answer is not found, go to another DNS server
March 2003
Net Admin 31
DNS Resolution
B
query
query
referral
C
referral
5
query
A
query
6
answer
1
answer
8
Resolver
Albitz, P. and Liu, C., DNS and BIND 4th Ed., ORielly & Associates, Inc, 2001, pp.31.
Albitz, P. and Liu, C., DNS and BIND 4th Ed., ORielly & Associates, Inc, 2001, pp.31.
March 2003
Net Admin 32
March 2003
Net Admin 33
Examples
Rule
Effect
iterate .192.0.0.0/8
iterate !10.0.0.0/255.255.255.0.
March 2003
Net Admin 34
config.system.dns.domain_ttl=\\
wireless.netapp.com.
0.0.0.10.in-addr.arpa.
\\
March 2003
Net Admin 35
CLI Configuration
netcache>config.system.dns.ires.enable = on
netcache>config.system.dns.ires.forward = \\
netapp.com.
\\
March 2003
Net Admin 36
March 2003
Net Admin 37
30 minutes in length
Utilizing Breakout rooms
Instructor will visit all rooms
Broadcast announcement 5 minutes
prior to regroup
Stay focussed, start telnet, start GUI
Share microphones, or no one else can
be heard
March 2003
Net Admin 38
Split DNS
PC Workstation
NetCache appliance
Software
NetCache 5.4
Netscape Navigator 4.7 (Netscape 6.0 is not compatible with the NetCache
Manager GUI at the date of this publication.)
March 2003
Net Admin 39
2.
3.
Select the Edit link beside e0a and review the parameters.
For a unique IP address, use the following IP address chart for the classroom network.
NetCache Host
Name
Internal IP Address
for e0a
External IP
Address for e0a
netcache101
10.32.69.101
64.94.95.101
netcache102
10.32.69.102
64.94.95.102
netcache103
10.32.69.103
64.94.95.103
netcache104
10.32.69.104
64.94.95.104
netcache105
10.32.69.105
64.94.95.105
netcache106
10.32.69.106
64.94.95.106
netcache107
10.32.69.107
64.94.95.107
netcache108
10.32.69.108
64.94.95.108
4.
Commit Changes.
March 2003
Net Admin 40
You should see all parameters for all network interface cards as configured.
Notice that you can also configure NICs from the command line with the
ifconfig command. Please note that to use the ifconfig command to
configure NICs, you would also need the ifconfig set command to
set the configurations to be persistent across reboots.
6.
To see that both network interface cards are alive on the network, go to the
command prompt of your windows PC and ping the interface card.
Example:
ping 10.32.69.101
You should see a response from the NIC.
March 2003
Net Admin 41
2.
3.
Move to All Routes tab and view the routing table. (note: you can not delete
the entry with the Destination Default)
4.
5.
6.
Does this routing table contain the same information as the NetCache
Manager?
From the workstation command line interface, enter the command:
C:> ping 10.32.70.10
This host is in a different subnet from the NetCache appliance. You should
be able to reach the host through the gateway router.
7.
8.
9.
10.
Is the default route still in the routing table? If yes, wait a few moments and
then run netstat r again.
From the workstation command line interface, enter the command:
C:> ping 10.32.70.10
This host is in a different subnet from the NetCache appliance. This time you
should not be able to reach this 10.32.70.10.
March 2003
Net Admin 42
2.
Verify that the NetCache Domain is the DNS domain is set to the same as the
PC domain. (europe.demo.netapp.com)
3.
4.
5.
6.
Verify that the nameserver is 10.32.70.10 using either the GUI or the CLI
Check the DNS name server configuration. From the NetCache command
line interface, enter the command:
netcache> show config.system.dns.nameservers
7.
Add the default route back into the routing table: From the NetCache
command line interface, enter the command:
netcache> route add default 10.32.69.1 1
netcache> config.system.gateways.ip = 10.32.69.1
8.
Issue the ping command again. You should see different results.
March 2003
Net Admin 43
6.
7.
8.
9.
Open a browser client and ensure that it is configured to use the NetCache as
a proxy.
Go to a few web locations.
Return to NetCache Manager and select Data > DNS > General
Observe the number of DNS lookups that failed and succeeded and compare
them to the number you recorded above.
Failed ______
Succeeded_____
March 2003
Net Admin 44
Configuring DNS
1.
2.
3.
4.
5.
6.
March 2003
Net Admin 45