OpenSolaris
Collectives
Discussions
Documentation
Download
Source Browser
Free CD
Log-in
|
en
Project nwam
:
Phase 0
>
Prototype
Top Menu
Show
:
Comments
Attachments
History
Information
Print
:
Print
Print preview
Export as PDF
Export as RTF
Export as HTML
Export as XAR
Wiki code for
Prototype
Hide Line numbers
1: We spent May implementing a reduced-scope prototype, to provide broader exposure for what we are doing, to get feedback on our work so far, and to get ideas about how people will use this, which will help inform our design decisions about more advanced features. By "reduced-scope" we mean that this prototype intentionally makes a simplifying assumption: that only one network interface will ever be active at any given time; this makes the prototype especially useful for laptops, which often have this usage model. This limitation will **not** be present in the final product, however, which will scale as Solaris does from the laptop to the enterprise server. 2: 3: See below for 4: 5: * [[target system requirements>>#requirements]] 6: * [[how to download>>#download]] the source and the binaries 7: * [[a list of shortcomings>>#shortcomings]] (known bugs, missing features, planned enhancements) 8: * [[usage caveats>>#caveats]] 9: * [[instructions and examples>>#instructions]] for required manual configuration 10: 11: == Requirements == 12: 13: The ON (OS/Networking) portion of your target machine must be running build 36 or later of Solaris Nevada (SunOS 5.11). For builds 36 - 51, use version 0.3; for builds 52 & 53, version 0.3 can be used but may cause problems because it still refers to the {{code}}network/pfil{{/code}} SMF service, which went away in build 52; for builds 54 and later, use version 0.4. 14: 15: == Downloads == 16: 17: * Package 18: ** This is only available for i386, at least for now; if anyone has a SPARC laptop on which you wish to try this, let us know and we will see about building it for you. 19: ** Note that when you install it, you will likely get a warning: 20: 21: 22: \\\\\\\\\\\\\\ 23: 24: {{{The following files are already installed on the system and are beingused by another package: /lib/svc/method/net-svc /var/svc/manifest/milestone/network.xml /var/svc/manifest/network/ipfilter.xml /var/svc/manifest/network/pfil.xml /var/svc/manifest/network/ssh.xml /var/svc/manifest/system/identity.xmlDo you want to install these conflicting files [y,n,?,q]}}} 25: 26: This is expected; answer ’{{code}}y{{/code}}’. Note that the {{code}}network/pfil{{/code}} line will only appear when installing version 0.3; version 0.4 will show the other lines but not that one. 27: 28: * 29: ** [[Download package version 0.3 here>>attach:SUNWnwam.pkg.bz2]] 30: ** [[Download package version 0.4 here>>attach:SUNWnwam-0.4.pkg.bz2]] 31: * Source 32: ** Extracting this {{code}}tar{{/code}} file will generate a {{code}}netprofd{{/code}} directory, which (as noted in the comments in its Makefile) should be placed under {{code}}usr/src/cmd/cmd-inet/usr.lib/{{/code}}. 33: ** [[Download here>>attach:netprofd.tar.bz2]] 34: 35: == Shortcomings == 36: 37: * The driver for your network device must support sending {{code}}DL_NOTE_LINK_UP{{/code}} and {{code}}DL_NOTE_LINK_DOWN{{/code}} to IP when a cable is plugged and unplugged for the "auto-magic" part to work. The {{code}}bge{{/code}} driver on Ferrari 3400s is known to do this properly; the {{code}}bcme{{/code}} driver on Ferrari 4000s appears not to. Note that there is a difference between the driver logging a message on the console and notifying IP, as some drivers do the former, but the latter is needed. We have verified that starting with Nevada build 43 (specifically, ON nightly builds which include putbacks from 2006-Jun-07 or later), Ferrari 4000s can use {{code}}bge{{/code}}, and the "auto-magic" works as expected. More details can be found on the [[DL_NOTE_LINK_{UP,DOWN}>>dl_note_link]] page. 38: * At present, the only way to go ’stand-alone’ is {{code}}svcadm disable [-t] profiled{{/code}}. 39: * There is no good way at present to get status beyond the usual {{code}}ifconfig -a{{/code}}. 40: * Insertion/removal of PCMCIA cards is not yet supported 41: * The code uses {{code}}wificonfig{{/code}} 42: 43: ; once libwladm becomes available, its APIs will be used directly. 44: 45: * The scan of available wireless networks is only done once, when the daemon starts. If this is a problem, {{code}}svcadm restart profiled{{/code}} will force a rescan, albeit at the cost of tearing down whatever interfaces are currently active. We intend to address this. 46: * IPv6 is not supported yet. 47: * Ferrari 3400 laptops with a bge interface, when plugged and unplugged multiple times, and the other end is plugged into a Netgear switch, result in the link light no longer being activated on either end. A manual {{code}}ifconfig bge0 unplumb ; ifconfig bge0 plumb{{/code}} seems to fix this most of the time. We plan to file a bug once we characterize the problem more completely. 48: * Punchin users: when punching out, {{code}}punchctl{{/code}} (from SUNW0punchin versions prior to 1.3.0) restores your old default route, but the interface (in {{code}}netstat -r{{/code}} output) is unspecified, so you can end up in a situation with two default routes. You can work around this by manually deleting the old one. Alternatively, upgrading SUNW0punchin to version 1.3.0 fixes the problem. 49: 50: == Caveats == 51: 52: * Interface (in the {{code}}attributes(5){{/code}} sense) Stability 53: ** This is a prototype. 54: ** It is not yet part of Solaris. 55: ** Until it appears in a release it is subject to change without notice. 56: * Network Interface (in the {{code}}ifconfig(1M){{/code}} sense) Configuration 57: ** Neither {{code}}/etc/hostname.*{{/code}} files nor {{code}}/etc/dhcp.*{{/code}} files are used. Instead, the netprofd daemon will detect all available links; it will store information about these links in the file {{code}}/etc/nwam/llp{{/code}}. This file will be automatically created by the daemon; or it may be created/modified by the user. 58: ** See the [[Link-Layer Profiles>>#llp]] § in the [[Instructions>>#instructions]] section below for details on this configuration file. 59: * So far, almost all of our testing has been on Acer Ferrari 3400 laptops. We look forward to hearing about your experiences on other configurations! 60: * There is no real user interface: see the [[Instructions>>#instructions]] below for how to roll your own versions of the scripts which are needed to make the profiles work, and for samples of such scripts. 61: 62: == Instructions == 63: 64: === Link-Layer Profiles === 65: 66: * The format of an entry in {{code}}/etc/nwam/llp{{/code}} is: 67: 68: {{{link_name static|dhcp [ipaddr or hostname]}}} 69: 70: If the second field is {{code}}dhcp{{/code}}, then DHCP will be used to obtain an IP address. If the second field is {{code}}static{{/code}}, then the IP address specified by the third field will be assigned to the interface. As an example, the following is common: 71: 72: \\ 73: 74: {{{bge0 dhcpath0 dhcp}}} 75: 76: * Only one link will be active at any given time. If more than one link is available, the active one will be selected based on the order in which links appear in the {{code}}/etc/nwam/llp{{/code}} file: in the above example, {{code}}bge0{{/code}} is preferred over {{code}}ath0{{/code}}. An important implication of this is that if a lower-preference link is running at start-up, and a higher-preference link is available ({{code}}IFF_RUNNING{{/code}}), the lower-preference link will be taken down, and the higher-preference link will be brought up. 77: 78: === Upper-Layer Profiles === 79: 80: Once an interface is brought up and an IP address is configured for it, {{code}}/etc/nwam/ulp/check-conditions{{/code}} is run if it exists and is executable. This is expected to print a single line of output, which is the name of the upper-layer profile which the user wishes to be activated based on the current conditions. If such a line is read successfully ({{code}}foo{{/code}} in this example), then {{code}}/etc/nwam/ulp/foo/bringup{{/code}} is executed. Likewise, when the interface gets torn down for whatever reason, {{code}}/etc/nwam/ulp/foo/teardown{{/code}} is executed. Below are samples for the {{code}}check-conditions{{/code}}, {{code}}bringup{{/code}} and {{code}}teardown{{/code}} scripts. 81: 82: * [[check-conditions>>attach:check-conditions]] 83: * [[bringup>>attach:bringup]] 84: * [[teardown>>attach:teardown]] 85: 86: For the curious, {{code}}/usr/local/bin/punchctl{{/code}} is the script which activates and deactivates the (Sun internal, as yet) IPsec-based VPN which many of us use.
Search
Collectives
Community Group
Academic and Research
Accessibility
Advocacy
Appliances
Approachability
Architecture Process and Tools
BrandZ
Chinese Users
Community Advisory Board
Databases
Desktop
Device Drivers
Distribution
Documentation
DTrace
Emerging Platforms
Fault Management
Games on OpenSolaris
HA Clusters
HPC Developer
Installation and Packaging
Internationalization and Localization
Laptop
Logical Domains
Modular Debugger (MDB)
Networking
NFS
Observability
OpenSolaris Governing Board (OGB)
OpenSolaris Printing
OS/Net (ON)
Performance
Power Management
PowerPC
Security
Service Management Facility (smf(5))
Software Porters
Solaris Volume Manager
Storage
Systems Administration Community Group
Testing
Tools Home
Unix File Systems (UFS)
Website Community
X Window System
Xen
ZFS
Zones
Project
ADSL Modem Enhancement
ARC Process Definition
ARM Platform Port
Automatic Data Migration
BIND Update
Bluetooth Stack & Drivers
Brocade FC HBA - Initiator
Brocade FC HBA - Target
Brussels - unified network link configuration
Caiman, Solaris Install Revisited
Celeste
Český portál
Chime Visualization Tool for DTrace
CIFS client for Solaris
CIFS Server
Clearview: Network Interface Coherence
Cluster Agent: Informix Dynamic Server
Cluster Agent: OpenSolaris Container
Cluster Agent: OpenSolaris xVM
Cluster Agent: Oracle E-Business Suite
Cluster agent: PostgreSQL
Cluster Agent: Samba
Cluster Agent: Tomcat
CMT
Coarse Data Flow Parallelism
Colorado: Open HA Cluster on OpenSolaris
Command Assistant
Common Array Manager
Companion - /opt/sfw: Free and Open Source software
COMSTAR: Common Multiprotocol SCSI Target
Content
Contest
CPU Observability
Credentials Process Groups
Crossbow: Network Virtualization and Resource Control
Crypto KMS Agent Toolkit
Cryptographic Framework
Data Migration Manager
Data Tethers
Deutsches Portal
Device Detection Tool
Device Driver Utility
Device Manager
Device Mapper
Direct Rendering Infrastructure & 3D drivers
DTrace Guide
Duckwater: Simplified name services management
Easy Tools
Emancipation
Emulex Fibre Channel Device Driver
Emulex Advanced Ethernet Device Driver
Enable/Enhance Solaris support for Intel Platform
Enhance the support of USB webcams
Enhanced SMF Profiles
Enhancements for AMD-based Platforms
Erlang DTrace Integration
Ethernet bridge module for Solaris
Evaluate Conary
Events Registry
Ext3 file system support
F/OSS Package Base
Facilitation
Fibre Channel over Ethernet
Fine Grained Access Policy (FGAP)
Fingerprint Authentication
Flexible Mandatory Access Control
Forensic Tools
Fully Open X Project
Fuse on Solaris
gcore
Generic Machine Check Architecture Improvements
Google SOC
HA-JBoss
HA-MySQL
Hadoop Live CD
Hitachi
HoneyComb Fixed Content Storage
HPC Stack
Image Packaging System
Improved Performance MIB
Indiana
Innovation Awards
Input Method
Intel Graphics
Interrupt Resource Management
IP Datapath Refactoring
IP over Infiniband
IPsec Tunnel Reform
iSCSI Extensions for Remote DMA (iSER)
iSNS Server
JeOS - Just enough Operating System
JKstat - a java binding for libkstat
Journaled File System (JFS)
K Desktop Environment
Kerberos
Kernel Sockets
Kernel SSL Enhancements
Key Management Framework
Korn Shell 93 integration/migration project
Labeled IPsec
LatencyTOP
Layer 2 Filtering
LDoms Manager
Lending
libMicro - portable microbenchmarks
Link Layer Discovery
Live Media: Technologies for distributions running from CD and other media
Locale Data
lofi compression and cryptography support
lx64 brand
Media Management System
Mega_sas
Mexico
MilaX minimal Live Distribution
MIPS Platform Port
Mozilla DTrace
MRSL.NONsharedDevice
Multi-lingual Glossary
Multi-pathing software (MPxIO)
Multiple disk sector size support
Multiple DOI
Muskoka: An open repository for OpenSolaris technical content
Navigator
Nemo: A Framework for High-Performance Networking
Network Auto-Magic
Network Data Management Protocol
Network MIBs
Network Storage
Network Time Protocol (NTP)
Nevada Globalization
New Design of 4over6 Mechanism Based on OpenSolaris
NFS RDMA transport update and performance analysis
NFS Server in non-Global Zones
NFS version 4.1 pNFS
NFSv4 namespace extensions
Nightingale: Port Songbird to OpenSolaris
NPort ID Virtualization (NPIV)
NUMA
Object Storage Device (OSD) support for Solaris
OHACGE Script Based Plug-in
ON/Nevada (ONNV) Project
Open Development Infrastructure
Open HA Cluster Utilities
Open Sound System
OpenGrok
OpenPegasus CIM Server
OpenRTI
OpenSolaris Busybox
OpenSolaris Desktop
OpenSolaris Hispano
OpenSolaris Security Audit
OpenSolaris support for the QEMU processor emulator: host and guest
PEF: Packet Event Framework
Performance Wrappers
Pkgfactory
Polski Portal
Portail Francophone
Portal Brasil
Portals
Power Management Usability Interfaces
Presto: Automatic Printing Configuration
Printable Many Page Solaris Manuals
Promise SuperTrak RAID HBA Driver
QLogic Converged Network Adapter GLDv3 NIC Driver
Quagga Routing Protocol Suite Integration
RAID Configuration Utility
RBridge (IETF TRILL) support
RDMA Offload Framework
Reno: Login Process Enhancements for Interop
Resource Management
s10brand
SAM/QFS
SCM Migration Project
SCSI RDMA Protocol
SDcard Drivers
Sensor Abstraction Layer
Session Initiation Protocol
SFW
Shell: bourne shell, korn shell, C shell, etc.
Sierra: Intel WiFi Chipsets Support
Simple Panels
SM-HBA Based SAS HBA Management
SMF Documentation
Solaris iSCSI Target
Solaris PowerPC Port
SourceJuicer
Sparks: name service switch/nscd enhancements
Squashfs
Star integration/migration project
Starfish
Starter Kit
Storage Power Management
Sun Security Toolkit
Sun StorageTek Availability Suite
Support for OpenFabrics User Verbs / API on OpenSolaris OS
Support gcc4/GCCfss in Solaris
Suspend/Resume
SVR4 Packaging
Systemz
Tamarack: Removable Media Enhancements in Solaris
Tesla: OpenSolaris Enhanced Power Management
Test Development
Tickless Kernel Architecture
TIPC
Trademarks
Trusted networking interface policy database for Trusted Extensions
Trusted Platform Module support
Use Case
Validated Execution Project
Virtual Console
Virtual Network Machines
Visual Panels
Visualization for HPC
Volo
VRRP: Virtual Router Redundancy Protocol Implementation
VSCAN service
Web Stack
Website
Winchester: Schema mapping and ID mapping for AD Interoperability
Wireless USB Support
Wireless Wide Area Network
X Consolidation
x86 Generic FMA Topology Enumerator
Xen Gate
Xfce: A lightweight desktop environment
ZFS Boot and Install
ZFS on disk encryption support
Zone Manager
Zone Statistics
Русский портал
البوابة العربية
भारतीय पोर्टल
中国门户
日本ポータル
한국 포탈
User Group
Adelaide
Argentina
Arizona
Atlanta
Baltimore-Washington
Bangalore
Bangkok
Bangladesh
Beijing
Bélem
Berlin
Bhimavaram
Bloomington
Campus Ambassadors
Capital Region
Cardiff
Charlotte
Chengdu
Chennai
Chihuahua
Chile
Cleveland
Colombia
Columbus
Connecticut
Cracow
Czech
Dallas/Ft. Worth
Danish
Delaware
Edinburgh
Egypt
Finland
Florida
Front Range
FuZhou
Great Lakes
Greece
Hangzhou
Hawaii
HeFei
Houston
Hyderabad
Indonesia
Irish
Israel
Italian
Jinan
Kabul
Kansas City
Latvia
London
Madurai
Manchester
Mato Grosso
Melbourne
Minas Gerais
Minnesota
Montreal
Moscow
Mumbai
Munich
NEA
Netherlands
New England
New York City
New Zealand
NIT Hamirpur
Noroeste
Oklahoma City
Osnabrück
Peru
Philadelphia
Piaski
Pittsburgh
Porto Alegre
Puget Sound
Pune
Queensland
Research Triangle Park
Romania
Russia
San Antonio
San Diego
San Francisco
São Paulo
Scottish
Serbia
Shanghai
Shenzhen
Silicon Valley
Singapore
Slovak
South African
Southern Connecticut
St. Louis
Sweden
Switzerland
Sydney
Szczecin
Taiwan
Tecum
Thames Valley
Tokyo
Toronto
Trondheim
Tulsa
Turkey
Ukraine
University of Melbourne
Vale do Paraíba
Vancouver
Venezuela
Welsh - Cymru
Wisconsin
Xi'an
Subsites
Code Reviews
Code Repositories
Package Search
Bugster
Bugzilla
Test Machines
Planet
Mailing Lists
Elections & Polls
ARC Case Logs
Source Juicer
Package Factory
User Authentication
Project nwam Pages
Foundation
Story Boards
Requirements
Architecture
Design
Phase 0
Interface Configuration Policy
Prototype
Phase 0.5
Phase 1 Early Access
Phase 1 Repository
Phase 1 Spec
TOC
Draft Man Pages
Glossary
Phase 1 GUI Design
GUI Spec
GUI Spec
User Tasks for NWAM Configuration
User Tasks for NWAM Status Notification
GUI Research & Futures
UI Spec - Phase 2
UI Sketches/Prototypes
State of the Art
Terminology Study: Location vs. Environment
User Scenarios
Service Discovery
Applications
mdnsd(1M)
nsswitch.dns