소스 검색

initial commit

Maximilian Ronniger 7 년 전
커밋
ae78176be1
5개의 변경된 파일241개의 추가작업 그리고 0개의 파일을 삭제
  1. 87 0
      firewall/nirmalprasth.fwb
  2. BIN
      network/Patchpannel-DG.xls
  3. BIN
      network/Patchpannel-EG.xls
  4. 113 0
      orangepi/etc/dhcp/dhcpd.conf
  5. 41 0
      orangepi/etc/network/interfaces

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 87 - 0
firewall/nirmalprasth.fwb


BIN
network/Patchpannel-DG.xls


BIN
network/Patchpannel-EG.xls


+ 113 - 0
orangepi/etc/dhcp/dhcpd.conf

@@ -0,0 +1,113 @@
+#
+# ISC dhcpd config file for NP 
+#
+#
+
+# The ddns-updates-style parameter controls whether or not the server will
+# attempt to do a DNS update when a lease is confirmed. We default to the
+# behavior of the version 2 packages ('none', since DHCP v2 didn't
+# have support for DDNS.)
+ddns-update-style none;
+
+# option definitions common to all supported networks...
+option domain-name "np.sahajayoga.at";
+option domain-name-servers 8.8.8.8, 8.8.4.4;
+
+default-lease-time 600;
+max-lease-time 7200;
+
+# If this DHCP server is the official DHCP server for the local
+# network, the authoritative directive should be uncommented.
+authoritative;
+
+# Use this to send dhcp log messages to a different log file (you also
+# have to hack syslog.conf to complete the redirection).
+log-facility local7;
+
+lease-file-name "/var/lib/dhcp/dhcpd.leases";
+
+# np-technik Subnetz
+subnet 10.21.0.0 netmask 255.255.255.0 {
+        range 10.21.0.10 10.21.0.250;
+	option broadcast-address 10.21.0.255;
+	option routers 10.21.0.254;
+	default-lease-time 3600;
+	max-lease-time 10800;
+	option domain-name "technik.np.sahajayoga.at";
+	#option domain-name-servers 10.21.1.254;
+	#interface "eth0.211";
+}
+# np-technik Subnetz
+subnet 10.21.1.0 netmask 255.255.255.0 {
+        range 10.21.1.10 10.21.1.250;
+	option broadcast-address 10.21.1.255;
+	option routers 10.21.1.254;
+	default-lease-time 3600;
+	max-lease-time 10800;
+	option domain-name "technik.np.sahajayoga.at";
+	#option domain-name-servers 10.21.1.254;
+	#interface "eth0.211";
+}
+# np-media Subnetz
+subnet 10.21.2.0 netmask 255.255.255.0 {
+        range 10.21.2.20 10.21.2.250;
+	option broadcast-address 10.21.2.255;
+	option routers 10.21.2.254;
+	default-lease-time 3600;
+	max-lease-time 10800;
+	option domain-name "media.np.sahajayoga.at";
+	#option domain-name-servers 10.21.2.254;
+	#interface "eth0.212";
+
+	host streamingPC {
+                hardware ethernet 00:26:c7:77:4a:62;
+		fixed-address 10.21.2.160;
+	}
+}
+# nirmalprasth Subnetz
+subnet 10.21.4.0 netmask 255.255.254.0 {
+        range 10.21.4.10 10.21.5.200;
+	option broadcast-address 10.21.5.255;
+	option routers 10.21.5.254;
+	default-lease-time 3600;
+	max-lease-time 10800;
+	option domain-name "lan.np.sahajayoga.at";
+	#option domain-name-servers 10.21.5.254;
+	#interface "eth0.214";
+	#next-server 10.21.4.2;
+}
+# Ashram Subnet
+	subnet 10.0.0.0 netmask 255.255.255.0 {
+		range 10.0.0.140 10.0.0.250;
+		option broadcast-address 192.168.0.255;
+		option routers 10.0.0.138;
+		default-lease-time 3600;
+		max-lease-time 10800;
+		option domain-name "ashram.np.sahajayoga.at";
+		#option domain-name-servers 10.0.0.254;
+		#interface eth0.210;
+		# only allow known clients
+		# deny unknown-clients;
+		# install ubuntu
+		#filename "/pxelinux";
+
+###############################################################################
+#  Mac addresses of all collective items 
+###############################################################################
+		host router_anand {
+                        hardware ethernet 58:6d:8f:a5:24:c1;
+			fixed-address 10.0.0.240;
+		}
+		host a1modem {
+                        hardware ethernet 38:22:9d:7b:b1:c5;
+			fixed-address 10.0.0.138;
+		}
+		host npcoreswitch {
+                        hardware ethernet 44:d9:e7:f5:50:7b;
+			fixed-address 10.0.0.251;
+		}
+}
+
+###############################################################################
+#  Mac addresses of all devices from the ashramites
+###############################################################################

+ 41 - 0
orangepi/etc/network/interfaces

@@ -0,0 +1,41 @@
+auto lo
+iface lo inet loopback
+
+auto eth0
+allow-hotplug eth0
+iface eth0 inet manual
+        address 10.0.0.254
+        netmask 255.255.255.0
+        default-gw 10.0.0.138
+	up ip addr add 10.0.0.243/24 dev eth0.210
+	up dhclient eth0
+	down ip addr del 10.0.0.243/24 dev eth0.210
+
+# ashram
+auto eth0.210
+iface eth0.210 inet static
+        address 10.21.0.254
+        netmask 255.255.255.0
+        vlan-raw-device eth0
+
+# technik
+auto eth0.211
+iface eth0.211 inet static
+        address 10.21.1.254
+        netmask 255.255.255.0
+        vlan-raw-device eth0
+
+# media
+auto eth0.212
+iface eth0.212 inet static
+        address 10.21.2.254
+        netmask 255.255.255.0
+        vlan-raw-device eth0
+
+# nirmalprast (future)
+auto eth0.214
+iface eth0.214 inet static
+        address 10.21.5.254
+        netmask 255.255.254.0
+        vlan-raw-device eth0
+

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.