stanfordnetdb.stanford sunia yang sunia@stanford
DESCRIPTION
Stanford NetDB- An Open Source Network Management Application for DNS, DHCP, IP Address Spaces, etc. http://stanfordnetdb.stanford.edu Sunia Yang [email protected] Rob Riepel [email protected]. Summary. Introduction What is Stanford NetDB? Demonstration How do we use NetDB? - PowerPoint PPT PresentationTRANSCRIPT
![Page 1: stanfordnetdb.stanford Sunia Yang sunia@stanford](https://reader033.vdocuments.pub/reader033/viewer/2022042719/56813e70550346895da88140/html5/thumbnails/1.jpg)
Stanford University StanfordNetDB
Stanford NetDB- An Open Source Network Management Application for DNS, DHCP, IP Address Spaces, etc.
http://stanfordnetdb.stanford.eduSunia Yang [email protected] Riepel [email protected]
![Page 2: stanfordnetdb.stanford Sunia Yang sunia@stanford](https://reader033.vdocuments.pub/reader033/viewer/2022042719/56813e70550346895da88140/html5/thumbnails/2.jpg)
Stanford University StanfordNetDB
Summary• Introduction• What is Stanford NetDB?• Demonstration• How do we use NetDB?• Distribution
![Page 3: stanfordnetdb.stanford Sunia Yang sunia@stanford](https://reader033.vdocuments.pub/reader033/viewer/2022042719/56813e70550346895da88140/html5/thumbnails/3.jpg)
Stanford University StanfordNetDB
Introductions• Rob Riepel
– NetDB architect– Architect/programmer/keeper for DNS, DHCP
• Dmitri Priimak– Programmer for middleware and front end
• Sunia Yang– NetDB "user advocate,” tester– Network monitoring– Application bandwidth management
![Page 4: stanfordnetdb.stanford Sunia Yang sunia@stanford](https://reader033.vdocuments.pub/reader033/viewer/2022042719/56813e70550346895da88140/html5/thumbnails/4.jpg)
Stanford University StanfordNetDB
What is Stanford NetDB? • Model of the IP network- 20 years• DNS, DHCP, Whois data source• IP address management• Host information/inventory• Distributed administration• GNU Public License version 2 (2007)
Models how humans think of networks.
![Page 5: stanfordnetdb.stanford Sunia Yang sunia@stanford](https://reader033.vdocuments.pub/reader033/viewer/2022042719/56813e70550346895da88140/html5/thumbnails/5.jpg)
Stanford University StanfordNetDB
DNS Name Space• Supports domains/subdomains• Checks all names for uniqueness• Enforces DNS rules
– e.g. A Name cannot be MX• Authorization of names by domain• 1 min to generate Stanford zone file• Updated hourly at Stanford
![Page 6: stanfordnetdb.stanford Sunia Yang sunia@stanford](https://reader033.vdocuments.pub/reader033/viewer/2022042719/56813e70550346895da88140/html5/thumbnails/6.jpg)
Stanford University StanfordNetDB
DHCP
• Supports static/dynamic dhcp settings• Supports DHCP options• Updated every 10 min at Stanford
![Page 7: stanfordnetdb.stanford Sunia Yang sunia@stanford](https://reader033.vdocuments.pub/reader033/viewer/2022042719/56813e70550346895da88140/html5/thumbnails/7.jpg)
Stanford University StanfordNetDB
IP Address Space Management• Address spaces organized into networks
- “network” maps to layer 2 network
• Easy to split/join/move address spaces• Authorization by address space• Reserved addresses can only be used by gods• Uniqueness enforced• Automatically looks for next available address
![Page 8: stanfordnetdb.stanford Sunia Yang sunia@stanford](https://reader033.vdocuments.pub/reader033/viewer/2022042719/56813e70550346895da88140/html5/thumbnails/8.jpg)
Stanford University StanfordNetDB
Host Inventory
• Nodes show the way humans think of computers
• Associates nodes with people/location/dept• Custom fields allow quick extension of
database
![Page 9: stanfordnetdb.stanford Sunia Yang sunia@stanford](https://reader033.vdocuments.pub/reader033/viewer/2022042719/56813e70550346895da88140/html5/thumbnails/9.jpg)
Stanford University StanfordNetDB
Distributed Administration
• Ease of use allows many users– 900+ at Stanford, 15 minutes of training
• Granular authorization • Choice of interfaces
– Web - general users– CLI - power users, scripting– API - Dorms for custom interface
• Easy import/export (csv)
![Page 10: stanfordnetdb.stanford Sunia Yang sunia@stanford](https://reader033.vdocuments.pub/reader033/viewer/2022042719/56813e70550346895da88140/html5/thumbnails/10.jpg)
Stanford University StanfordNetDB
Demonstration
![Page 11: stanfordnetdb.stanford Sunia Yang sunia@stanford](https://reader033.vdocuments.pub/reader033/viewer/2022042719/56813e70550346895da88140/html5/thumbnails/11.jpg)
Stanford University StanfordNetDB
acme.com
eng.acme.com
10.8.0.0/16
![Page 12: stanfordnetdb.stanford Sunia Yang sunia@stanford](https://reader033.vdocuments.pub/reader033/viewer/2022042719/56813e70550346895da88140/html5/thumbnails/12.jpg)
Stanford University StanfordNetDB
acme.com
eng.acme.com
laptop.eng.acme.com
10.8.0.0/16
![Page 13: stanfordnetdb.stanford Sunia Yang sunia@stanford](https://reader033.vdocuments.pub/reader033/viewer/2022042719/56813e70550346895da88140/html5/thumbnails/13.jpg)
Stanford University StanfordNetDB
acme.com
eng.acme.com
server.eng.acme.com
laptop.eng.acme.com
10.8.0.0/16
![Page 14: stanfordnetdb.stanford Sunia Yang sunia@stanford](https://reader033.vdocuments.pub/reader033/viewer/2022042719/56813e70550346895da88140/html5/thumbnails/14.jpg)
Stanford University StanfordNetDB
acme.com
eng.acme.com
laptop.eng.acme.com
10.8.0.0/16
server.eng.acme.com
10.16.16.0/24
![Page 15: stanfordnetdb.stanford Sunia Yang sunia@stanford](https://reader033.vdocuments.pub/reader033/viewer/2022042719/56813e70550346895da88140/html5/thumbnails/15.jpg)
Stanford University StanfordNetDB
acme.com
eng.acme.com
laptop.eng.acme.com
10.8.0.0/16
10.16.16.0/23
marketing.acme.com
server.eng.acme.com
![Page 16: stanfordnetdb.stanford Sunia Yang sunia@stanford](https://reader033.vdocuments.pub/reader033/viewer/2022042719/56813e70550346895da88140/html5/thumbnails/16.jpg)
Stanford University StanfordNetDB
acme.com
eng.acme.com
laptop.eng.acme.com
10.8.0.0/16
10.16.16.0/23
marketing.acme.com
server.eng.acme.com
George Rosie
![Page 17: stanfordnetdb.stanford Sunia Yang sunia@stanford](https://reader033.vdocuments.pub/reader033/viewer/2022042719/56813e70550346895da88140/html5/thumbnails/17.jpg)
Stanford University StanfordNetDB
acme.com
eng.acme.com
laptop.eng.acme.com
10.8.0.0/16
marketing.acme.com
server.eng.acme.com
George Rosie
10.16.17.0/2410.16.16.0/24
![Page 18: stanfordnetdb.stanford Sunia Yang sunia@stanford](https://reader033.vdocuments.pub/reader033/viewer/2022042719/56813e70550346895da88140/html5/thumbnails/18.jpg)
Stanford University StanfordNetDB
acme.com
eng.acme.com
laptop.eng.acme.com
10.8.0.0/16
marketing.acme.com
server.eng.acme.com
George Rosie
10.16.17.0/2410.16.16.0/24
router.acme.com
![Page 19: stanfordnetdb.stanford Sunia Yang sunia@stanford](https://reader033.vdocuments.pub/reader033/viewer/2022042719/56813e70550346895da88140/html5/thumbnails/19.jpg)
Stanford University StanfordNetDB
How do we use NetDB?- Data Flow
NetDB
DNS
DHCP
ReportsWhois
IPM
Cfg Mgmt
Self-Registration
Firewalls
Monitoring
Sys AdminsDesktop AdminsNetwork AdminsNetworking
SUNet
![Page 20: stanfordnetdb.stanford Sunia Yang sunia@stanford](https://reader033.vdocuments.pub/reader033/viewer/2022042719/56813e70550346895da88140/html5/thumbnails/20.jpg)
Stanford University StanfordNetDB
StatisticsRecord Registered ActiveNode 112344 58839Network (Address Space) 748(2631) 579(1350)User 980 724Admin Team 175Domain 414Group 199Department 257Location 678Make 118Model 625OS 110State 6
![Page 21: stanfordnetdb.stanford Sunia Yang sunia@stanford](https://reader033.vdocuments.pub/reader033/viewer/2022042719/56813e70550346895da88140/html5/thumbnails/21.jpg)
Stanford University StanfordNetDB
CodeArchitecture
Other
NetDB
Web browserCGI scripts
StanfordWho
whois server
rmi_server.jar
netdb.jar
Database
NetDB GUIrmi_client.jar
http servernetdb_server.jar
html librarynetdb_html.ja
r
Other clients
DNS scripts DHCP scripts
BIND dhcpd
CLI
![Page 22: stanfordnetdb.stanford Sunia Yang sunia@stanford](https://reader033.vdocuments.pub/reader033/viewer/2022042719/56813e70550346895da88140/html5/thumbnails/22.jpg)
Stanford University StanfordNetDB
Servers used at Stanford
• Web/middleware– Dell 1850, dual 2.8Ghz, 4GB RAM– Linux Debian
• Database– Dell 2650, 4 x 3Ghz, 7GB RAM– Linux Redhat 2.4.21-37.ELsmp
![Page 23: stanfordnetdb.stanford Sunia Yang sunia@stanford](https://reader033.vdocuments.pub/reader033/viewer/2022042719/56813e70550346895da88140/html5/thumbnails/23.jpg)
Stanford University StanfordNetDB
Platform Dependencies
• Oracle 10G database – works with Express version
• Java 1.6• Debian Linux
– probably works on any Unix with Java 1.6• Perl DBD::Oracle for reporting
![Page 24: stanfordnetdb.stanford Sunia Yang sunia@stanford](https://reader033.vdocuments.pub/reader033/viewer/2022042719/56813e70550346895da88140/html5/thumbnails/24.jpg)
Stanford University StanfordNetDB
NetDB at Your Site
• External pieces required:– Directory provider (e.g. LDAP)
• Seed data + sample directory provider included– Web login requires webauth– CLI requires Kerberos
• Sample DNS/DHCP generation scripts included
![Page 25: stanfordnetdb.stanford Sunia Yang sunia@stanford](https://reader033.vdocuments.pub/reader033/viewer/2022042719/56813e70550346895da88140/html5/thumbnails/25.jpg)
Stanford University StanfordNetDB
Futures
• IPv6
![Page 26: stanfordnetdb.stanford Sunia Yang sunia@stanford](https://reader033.vdocuments.pub/reader033/viewer/2022042719/56813e70550346895da88140/html5/thumbnails/26.jpg)
Stanford University StanfordNetDB
More Information
• http://stanfordnetdb.stanford.edu– Demo version- data refreshed daily– Download files– Documentation
• Contact Us!– [email protected]
![Page 27: stanfordnetdb.stanford Sunia Yang sunia@stanford](https://reader033.vdocuments.pub/reader033/viewer/2022042719/56813e70550346895da88140/html5/thumbnails/27.jpg)
Stanford University StanfordNetDB
The NetDB Team
• Dmitri Priimak - software developer • Joel Lidtke - software developer • Rob Riepel - architect• Sunia Yang - QA, user advocate