# DO NOT EDIT THIS FILE IN /ETC
#
# EDIT THE ORIGINAL AT:
#
#     /home/marsadmin/etc/hosts
#
# Then distribute using "make dns"
#===============================================================
# Revision History
# 2005-07-27 ARM Recreated file when moved node to MBARI
# 2005-07-28 FNS swapped PMACS servers at 91.15 and 91.27
# 2005-08-01 ARM 10.128.1.x --> 10.1.128.x transliteration
# 2005-08-02 ARM added printer prt91-1
# 2005-08-04 ARM changes for Fritz et al, added ext addrs
# 2005-08-30 FNS added 10.91.128.30 for extra web camera
# 2005-09-22 FNS added 127.0.0.1 local host
# 2005-09-22 FNS renamed this file to etc/hosts
# 2006-05-25 Pete Braccio Added backup server (squid) to list
# 2006-07-06 Aaron Marburg started using DNSMasq and distributing
#		this file using rdist from /home/mars/admin/rdist/etc/...
# 2006-07-12 Added aliases 'marsdcs' and 'mars-npc1'
#
127.0.0.1	localhost.localdomain	localhost
#----------------------------------
# External Addresses
#----------------------------------
134.89.42.15	pmacs91-ext	#	External	interface	on	PMACS	server	(?)
134.89.42.22	tst91-1-ext	lanf91-ext	#	lanforge	(ssh,http)
134.89.10.149	squid	squid.shore.mbari.org	#	Backup	server
134.89.10.150	octopus	octopus.shore.mbari.org	#	Backup	server
#
#----------------------------------
# MARS NODE 1 - Private Addresses
#----------------------------------
# Address Range/Mask: 10.1.254/30
# VLAN: 256
# Type: Inter-node Links
# 4-GBE Etherchannel
#
#
# Node: 01
# Subnet: 10.1.253.x/30
# VLAN: NONE
# Type: Loopbacks-Tunnels
10.1.253.5	mrb01-loop	
10.1.253.133	mrb01-tunnel	
#
# Node: 01
# Address Range/Mask: 10.1.128.x/16
# Type: MARS Management VLAN
# VLAN: 1
10.1.128.13	sia01-v1	#	inner-node	layer-2	switch	(unused	in	mars)
10.1.128.15	npc01	mars-npc1	#	node	power	controller
10.1.128.16	tst01	#	test	device	address	/	also	spare	gyda
10.1.128.21	ha7-01	#	ha7	sensing	device	controller
10.1.128.22	ha7-02	#	dry	side	HA7	1-wire	server
#
# NOTE: 10.1.2.x thru 10.1.10.x range is reserved
#
# Node: 01
# Address Range/mask: 10.1.11.x/24
# Type: Science Port #1 VLAN
# VLAN: 11
10.1.11.101	inst01-v11-1	#	first	inst	attached	to	sciport	1
10.1.11.102	inst01-v11-2	#	second	inst	attached	to	sciport	1
#
# Node: 01
# Subnets: 10.1.12/24
# Type: Science Port #2 VLAN
# VLAN: 12
10.1.12.101	inst01-v12-101	#	first	inst	attached	to	sciport	1
10.1.12.102	inst01-v12-102	#	second	inst	attached	to	sciport	1
#
# etc. through 10.1.18.x
#
#----------------------------------
# MARS NODE 91 - Private Addresses
#----------------------------------
# Node: 91
# Subnets: 10.91.254/30
# Type: Inter-node Links
# VLAN: 256
10.91.254.2	mra91-bia01-01	
#
# Node: 91
# Subnets: 10.91.253/30
# Type: Loopbacks-Tunnels
10.91.253.1	bia91-loop	
10.91.253.5	bib91-loop	
10.91.253.129	bia91-tunnel	
10.91.253.133	bib91-tunnel	
#
# Node: 91
# Address Range/Mask: 10.91.128.x/24
# Type: Mgmt VLAN 
# VLAN: 128
10.91.128.1	mra91-1	hsrp-v128-gw	#	default	gateway	address	for	VLAN	128
10.91.128.12	pix91-1	#	pix	firewall/vpn	appliance
10.91.128.13	sia91-1	#	operations	facility	L2	switch
10.91.128.15	pmacs91-svr	pmacs	pmacs.mars.mbari.org
10.91.128.16	unknown-1	#	????
10.91.128.18	ups91-1	#	DCS	subsystem	UPS	
10.91.128.19	nbb91-1	#	shore	station	boot	bar	1	(AC	power)
10.91.128.20	obc91-1	#	obc	shoreside	mgmt	pc
10.91.128.22	lanforge91-1	lanf91-1	lanf91-5	#	lanforge	testing	device
10.91.128.24	sia91-2	#	L2	switch	for	shore	station
10.91.128.26	pmacs91-cli	#	shore	station	pmacs	client
10.91.128.27	pmacs91-ops	#	pmacs	windoze	operations	console
10.91.128.28	pmacs91-ctr	#	shore	station	10kV	supply	controller
10.91.128.29	prt91-1	#	HP	printer
10.91.128.30	cam91-2	#	web	camera	2
10.91.128.31	nbb91-2	#	shore	station	boot	bar	2	(AC	power)
10.91.128.32	psc91-1	#	Power	supply	controller	(PSC)	pc/104
10.91.128.51	dhcp91-1	#	dhcp	server	#1	(future)
10.91.128.52	dhcp91-2	#	dhcp	server	#2	(future)
10.91.128.53	bootp91-1	#	bootp	server	#1	(future)
10.91.128.54	bootp91-2	#	bootp	server	#2	(future)
10.91.128.55	ntp91-1	#	endrun	ntp	server	#1
10.91.128.56	ntp91-2	#	ntp	server	#2	(on	linux	mgmt	box)
10.91.128.58	nms91-2	dcs91-2	#	marsdcs	eth0	network	mgt	system
10.91.128.59	vpn91-1	#	linksys	vpn	server	(alternate	access)
10.91.128.60	firewall91-2	#	reserved	for	now
10.91.128.61	dns91-1	#	dns	server	#1	(future)
10.91.128.62	dns91-2	#	dns	server	#2	(future)
10.91.128.63	auth91-1	#	authorization	server	#1	(future)
10.91.128.64	auth91-2	#	authorization	server	#2	(future)
10.91.128.65	syslog91-1	#	Syslog	server
10.91.128.66	eth2ser	digi91-1	#	First	DigiTS4	eth-2-ser	converter
10.91.128.67	smtp91-1	#	SMTP	server	#1
10.91.128.68	smtp91-2	#	SMTP	server	#2
10.91.128.69	digi91-2	#	Second	DigiTS4	(shore	station)
10.91.128.91	dcs91-ilo	#	iLO	in	the	DCS	server
10.91.128.92	pmacs91-ilo	#	iLO	in	the	PMACS	server
#
# Node: 91
# Subnets: 10.91.2/24
# Type: External World Subnet (for science hosting)
# Description: Area for Hosting Scientist computers that need to be closeby
# VLAN: 3
10.91.3.1	hsrp91-v3-gw	
10.91.3.12	mgmtfw91-v3	
#
# Node: 91
# Subnets: 10.91.4/24
# Type: Science subnet
# Description: Area for "science" computers hosted at MARS shore station
#      May be redundant with .3 subnet above
10.91.4.1	hsrp91-v4-gw	
10.91.4.13	sia91-3	
# Node: 91
# Subnets: 10.91.3.0
# Netmask: 255.255.255.0
# Type: First Science Hosting Subnet
# VLAN: 11
10.91.11.1	hsrp91-v11-gw	
10.91.11.2	bia91-v11	
10.91.11.3	bib91-v11	
10.91.11.101	daq91-v11-101	
10.91.11.102	daq91-v11-102	
#
#----------------------------------------------
# MARS Observatory Public Addresses and Ports
#----------------------------------------------
#
# External name for only testbed computer connected to WHOInet
# (another name for lanf3 below)
#
#-------------------------------------------------------------------
#134.89.42.11  scmtmp-ext       # external address for scm 
#-------------------------------------------------------------------
# Ext Port(s)       Int IPAddr        Int Port(s)
# null              null              null
#-------------------------------------------------------------------
134.89.42.12	pix91-ext	#	external	address	for	pix
#-------------------------------------------------------------------
# Ext Port(s)       Int IPAddr        Int Port(s)
# 7                 10.91.128.12      7

# need to decide which we really want to open to outside and which
# we don't

#------------------------------------------------------------------
# Private Observatory IP Subnet Rules
#------------------------------------------------------------------
# These are the rules we use to determine what a private IP address
# will be (ip addresses starting with 10.)
# General Format is A.B.C.D
#
#--------------------
# A is always 10
#--------------------
#
#--------------------
# B between 1 and 89
#--------------------
# if     C/mask is 1/24  its for the vlan inside a node (VLAN=1)
# elseif C/mask is 11/24 its for instruments on sci port 1 (VLAN = 11) and:
#   if D < 100 it is a reserved address (used for auxillary switches, etc.)
#   if D > 100 it is a science instrument
# elseif C/mask = 12-18/24 its for instruments on sciports 2-8 
# elseif C/mask = 253/30   its for loopback or tunned addresses on node sw
# elseif C/mask = 254/30   its an inter-node link
# endif
#
#--------------------
# B between 90 and 99
#--------------------
#   if   C/mask = 1/24 its reserved
#   if   C/mask = 11/24 --> 18/24  Science Ports #1 thru #8 (VLAN=11-18)
#   19/24 --> 252/24 Reserved
#   253/30 
#   elseif C/mask = 254/30   its an inter-node link
10.1.128.20	obc01	#	obc	xbar	ip	address
10.1.128.14	gyda01	#	gyda	controller
10.91.128.57	nms91-1	dcs91-1	marsdcs	#	marsdcs	eth1	network	mgt	system
10.91.128.23	cam91-1	#	web	camera
10.91.128.14	gyda91-1	#	shoreside	node	gyda	controller
10.91.128.17	scm91-1	#	secure	console	monitor
10.1.128.1	mra01	#	default	gateway	address
10.1.12.1	mra01-v12-gw	#	default	gateway	address
10.1.11.1	mra01-v11-gw	#	default	gateway	address
