• No results found

Network Management: - SNMP - Software Defined networking

N/A
N/A
Protected

Academic year: 2021

Share "Network Management: - SNMP - Software Defined networking"

Copied!
20
0
0

Loading.... (view fulltext now)

Full text

(1)

9-1

Christian Tschudin

Departement Mathematik und Informatik, Universität Basel

Internet-Technologien (CS262)

Network Management:

- SNMP

- Software Defined networking

23.4.2014 Network Management 9-2

Chapter 9

Network

Management

A note on the use of these ppt slides:

We’re making these slides freely available to all (faculty, students, readers). They’re in PowerPoint form so you can add, modify, and delete slides (including this one) and slide content to suit your needs. They obviously represent a lot of work on our part. In return for use, we only ask the following:

If you use these slides (e.g., in a class) in substantially unaltered form,

that you mention their source (after all, we’d like people to use our book!)

If you post any slides in substantially unaltered form on a www site, that

you note that they are adapted from (or perhaps identical to) our slides, and note our copyright of this material.

Thanks and enjoy! JFK/KWR All material copyright 1996-2010

J.F Kurose and K.W. Ross, All Rights Reserved

Computer

Networking: A Top Down Approach ,

5th edition.

(2)

Network Management

9-3

Chapter 9: Network Management

Chapter goals:

 introduction to network management

motivation

major components

 Internet network management framework

MIB: management information baseSMI: data definition language

SNMP: protocol for network managementsecurity and administration

 presentation services: ASN.1

Network Management

9-4

Chapter 9 outline

 What is network management?

 Internet-standard management framework

Structure of Management Information: SMIManagement Information Base: MIB

SNMP Protocol Operations and Transport MappingsSecurity and Administration

(3)

Network Management

9-5

What is network

management?

 autonomous systems (aka “network”): 100s or

1000s of interacting hardware/software components

 other complex systems requiring monitoring,

control:

jet airplane

nuclear power plantothers?

"Network management includes the deployment, integration and coordination of the hardware, software, and human

elements to monitor, test, poll, configure, analyze, evaluate, and control the network and element resources to meet the real-time, operational performance, and Quality of Service requirements at a reasonable cost."

Network Management

9-6

Infrastructure for network management

(4)

Network Management

9-7

Network Management standards

OSI CMIP  Common Management Information Protocol  designed 1980’s: the unifying net management standard  too slowly standardized SNMP: Simple Network Management Protocol  Internet roots (SGMP)  started simple  deployed, adopted rapidly

 growth: size, complexity  currently: SNMP V3  de facto network management standard Network Management 9-8

Chapter 9 outline

 What is network management?

 Internet-standard management framework

Structure of Management Information: SMIManagement Information Base: MIB

SNMP Protocol Operations and Transport

Mappings

Security and Administration

(5)

Network Management

9-9

SNMP overview: 4 key parts

 Management information base (MIB):

distributed information store of network

management data

 Structure of Management Information (SMI):

data definition language for MIB objects

 SNMP protocol

convey manager<->managed object info,

commands

 security, administration capabilities

major addition in SNMPv3

Network Management

9-13

MIB example: UDP module

Object ID Name Type Comments

1.3.6.1.2.1.7.1 UDPInDatagrams Counter32 total # datagrams delivered at this node

1.3.6.1.2.1.7.2 UDPNoPorts Counter32 # underliverable datagrams no app at portl

1.3.6.1.2.1.7.3 UDInErrors Counter32 # undeliverable datagrams all other reasons

1.3.6.1.2.1.7.4 UDPOutDatagrams Counter32 # datagrams sent

1.3.6.1.2.1.7.5 udpTable SEQUENCE one entry for each port

(6)

Network Management

9-14

SNMP Naming

question: how to name every possible standard object (protocol, data, more..) in every possible network standard??

answer: ISO Object Identifier tree:

hierarchical naming of all objects

each branchpoint has name, number

(7)

Network Management

9-16

SNMP protocol

Two ways to convey MIB info, commands:

agent data Managed device managing entity response agent data Managed device managing entity trap msg request

request/response mode trap mode

Network Management

9-17

SNMP protocol: message types

GetRequest

GetNextRequest GetBulkRequest

Mgr-to-agent: “get me data” (instance,next in list, block) Message type Function

InformRequest Mgr-to-Mgr: here’s MIB value

SetRequest Mgr-to-agent: set MIB value

Response Agent-to-mgr: value, response to Request

(8)

Network Management

9-19

SNMP security and administration

 encryption: DES-encrypt SNMP message  authentication: compute, send MIC(m,k):

compute hash (MIC) over message (m), secret shared key (k)

 protection against playback: use nonce  view-based access control

SNMP entity maintains database of access

rights, policies for various users

database itself accessible as managed

object!

Software Defined

Networking

Jennifer Rexford

COS 461: Computer Networks

Lectures: MW 10-10:50am in Architecture N101

(9)

Networks are Hard to Manage

• Operating a network is expensive

– More than half the cost of a network

– Yet, operator error causes most outages

• Buggy software in the equipment

– Routers with 20+ million lines of code

– Cascading failures, vulnerabilities, etc.

• The network is “in the way”

– Especially a problem in data centers

– … and home networks

Rethinking the “Division of Labor”

(10)

Traditional Computer Networks

Data plane:

Packet streaming

Forward, filter, buffer, mark,

rate-limit, and measure packets

Traditional Computer Networks

Track topology changes, compute

routes, install forwarding rules

Control plane:

(11)

Traditional Computer Networks

Collect measurements and

configure the equipment

Management plane: Human time scale

Death to the Control Plane!

• Simpler management

– No need to “invert” control-plane operations

• Faster pace of innovation

– Less dependence on vendors and standards

• Easier interoperability

– Compatibility only in “wire” protocols

• Simpler, cheaper equipment

(12)

Software Defined Networking

(SDN)

(13)

Data-Plane: Simple Packet

Handling

• Simple packet-handling rules

– Pattern: match packet header bits

– Actions: drop, forward, modify, send to controller

– Priority: disambiguate overlapping patterns

– Counters: #bytes and #packets

1. src=1.2.*.*, dest=3.4.5.* ➝ drop 2. src = *.*.*.*, dest=3.4.*.* ➝ forward(2)

3. src=10.1.2.3, dest=*.*.*.* ➝ send to controller

1. src=1.2.*.*, dest=3.4.5.* ➝ drop 2. src = *.*.*.*, dest=3.4.*.* ➝ forward(2)

3. src=10.1.2.3, dest=*.*.*.* ➝ send to controller

Unifies Different Kinds of Boxes

• Router

– Match: longest destination IP prefix

– Action: forward out a link • Switch

– Match: destination MAC address

– Action: forward or flood

• Firewall

– Match: IP addresses and TCP/UDP port numbers – Action: permit or deny • NAT

– Match: IP address and port

– Action: rewrite address and port

(14)

Controller: Programmability

44

Network OS

Controller Application

Events from switches Topology changes, Traffic statistics, Arriving packets Commands to switches (Un)install rules, Query statistics, Send packets

Example OpenFlow Applications

• Dynamic access control

• Seamless mobility/migration

• Server load balancing

• Network virtualization

• Using multiple wireless access points

• Energy-efficient networking

• Adaptive traffic monitoring

• Denial-of-Service attack detection

(15)

E.g.: Dynamic Access Control

• Inspect first packet of a connection

• Consult the access control policy

• Install rules to block or route traffic

E.g.: Seamless Mobility/Migration

(16)

E.g.: Server Load Balancing

• Pre-install load-balancing

policy

• Split traffic based on source IP

48

src=0*

src=1*

E.g.: Network Virtualization

49

Partition the space of packet headers

(17)

A Helpful Analogy

From Nick McKeown’s talk “Making SDN

Work” at the Open Networking Summit,

(18)
(19)

Heterogeneous Switches

• Number of packet-handling rules

• Range of matches and actions

• Multi-stage pipeline of packet processing

• Offload some control-plane functionality (?)

55 access control MAC look-up IP look-up

Controller Delay and Overhead

• Controller is much slower the the switch

• Processing packets leads to delay and

overhead

• Need to keep most packets in the “fast path”

56

(20)

Distributed Controller

57 Network OS Controller Application Network OS Controller Application

For scalability and reliability

Partition and replicate state

Testing and Debugging

• OpenFlow makes programming possible

– Network-wide view at controller

– Direct control over data plane

• Plenty of room for bugs

– Still a complex, distributed system

• Need for testing techniques

– Controller applications

– Controller and switches

– Rules installed in the switches

References

Related documents

An agent (such as SNMP) residing on each managed device translates local management information data, such as performance information or event and error information caught in

Architecture for device management agent data managing entity t d t agent data agent managed device managed device managing entity data network management protocol. managed

SNMP is based on the manager/agent model consisting of a manager, an agent, a database of management information, managed objects and the network protocol.. The

22/04/2015 NWEN403: Advanced Network Engineering 8 agent data agent data agent data agent data managed device managed device managed device managed device managing entity data

Messages sent from the managing entity to an agent to request the value of one or more MIB objects at the agent’s managed device. The three messages differ in the granularity

The agent is the software component in a managed object, for example, workstation or router, that sends network performance data to the network management station.. The

27 SNMP Architecture Network Management Station Managed Nodes SNMP Device Link layer IP UDP SNMP manager Management Application Link layer IP UDP SNMP Agent Managed resources

• Using the Printer Data Collection Agent • Managing local devices with Local Print Agent • Printer DCA Settings in PrintFleet Optimizer This chapter discusses:.. •