Professional Documents
Culture Documents
Advances in Solaris
Network
Administration
Rao Shoaib
Solaris Networking, Sun Microsystems,
Inc.
USE IMPROVE EVANGELIZE
Overview
● Make Solaris a more compelling platform for
developers, administrators, and users.
● Reduce barriers to Solaris adoption by:
– Making network configuration easier (Network
Auto-Magic project)
– Providing a uniform set of features on all network
interfaces (project Clearview)
– Simplifying NIC configuration and tuning (project
Brussels)
– Integrating virtualization & resource management
into the network interface (project Crossbow) 2
USE IMPROVE EVANGELIZE
Network Auto-Magic
3
USE IMPROVE EVANGELIZE
Background
● It has long been painful to configure networking on
Solaris. Mobility and security makes it harder:
4
USE IMPROVE EVANGELIZE
5
USE IMPROVE EVANGELIZE
6
USE IMPROVE EVANGELIZE
NWAM
● Network Auto-Magic is an OpenSolaris project to
simplify and automate network configuration
– Basic principle: network configuration just works
– Networking should be easy to use from the
moment Solaris is installed
– System can automatically configure itself for
networks as they become available
– User has the choice to override default system
behavior and set preferences
7
USE IMPROVE EVANGELIZE
Default Behavior
● System automatically chooses an interface and
uses DHCP to configure IP
● Wired is preferred over wireless
● DHCP requests are done in parallel so that delays
are minimized
● If the nwam service is enabled, then
/etc/hostname.<intf> files are ignored
8
USE IMPROVE EVANGELIZE
Phase 0
● Interim fix delivered in build 62 of
Nevada
● See man nwamd(1M)
● Configuration
– svcadm disable svc:/network/physical:default
– svcadm enable svc:/network/physical:nwam
● Limitations
– Only one interface can be active at any time
– Wired interface has preference over wireless
– Can be changed in /etc/nwam/llp
11
USE IMPROVE EVANGELIZE
12
USE IMPROVE EVANGELIZE
Project Clearview
13
USE IMPROVE EVANGELIZE
Project Clearview
● Unify, simplify, and enhance the features provided
by Solaris networking interfaces
– “Network interfaces” as in ce, bge, tun, ...
● Goals:
– Unify network interface feature set
– Simplify network interface administration
– Enhance observability of network interfaces
– Increase interoperability between networking features
– Improve third-party network application capture
16
USE IMPROVE EVANGELIZE
17
USE IMPROVE EVANGELIZE
18
USE IMPROVE EVANGELIZE
19
USE IMPROVE EVANGELIZE
– Link Aggregations
– IP tunnels
– Crossbow VNICs
– IPMP interfaces
● System configuration containing interface names
no longer tied to specific system or hardware
20
USE IMPROVE EVANGELIZE
21
USE IMPROVE EVANGELIZE
22
USE IMPROVE EVANGELIZE
23
USE IMPROVE EVANGELIZE
24
USE IMPROVE EVANGELIZE
Brussels Project
25
USE IMPROVE EVANGELIZE
Brussels Project
● NIC configuration and tuning is a mess:
– /kernel/drv/*.conf
– ndd(1M)
– SPARC OBP
– kstat(1M)
26
USE IMPROVE EVANGELIZE
27
USE IMPROVE EVANGELIZE
Brussels Solution
● All NIC configuration and tuning via dladm(1M)
using “link properties”.
● Common properties in scope:
– Link MTU (including Jumbo Frame configuration)
– Link Speed
– Link Duplex
– Hardware Checksum Offload
– Etc...
● Support for driver specific properties also provided 28
USE IMPROVE EVANGELIZE
29
USE IMPROVE EVANGELIZE
30
USE IMPROVE EVANGELIZE
Project Crossbow
31
USE IMPROVE EVANGELIZE
Crossbow Features
● NIC and network stack virtualization (VNICs)
● Resource partitioning, QoS/Diffserv
● Leverages hardware classification
● Better defense against DDOS attacks
● Real-time usage and history
● Allows VNICs to be plumbed by Solaris zones or
virtual machines running under Solaris
32
USE IMPROVE EVANGELIZE
Virtualized Networking
MAC/virtual switch
aggr0
bge0 bge1
33
USE IMPROVE EVANGELIZE
Virtualized Networking
bge0 bge1
34
USE IMPROVE EVANGELIZE
35
USE IMPROVE EVANGELIZE
37
USE IMPROVE EVANGELIZE
38
USE IMPROVE EVANGELIZE
39
USE IMPROVE EVANGELIZE
Thank you!
Rao Shoaib
rao.shoaib@sun.com