Charles Chan | 6f149a9 | 2017-03-24 19:35:41 -0700 | [diff] [blame] | 1 | ddns-update-style none; |
| 2 | |
| 3 | default-lease-time 600; |
| 4 | max-lease-time 7200; |
| 5 | |
Charles Chan | 52a9cf8 | 2017-06-08 11:53:20 -0700 | [diff] [blame] | 6 | option domain-name-servers 8.8.8.8, 8.8.4.4; |
| 7 | option domain-name "trellis.local"; |
| 8 | |
Charles Chan | 6f149a9 | 2017-03-24 19:35:41 -0700 | [diff] [blame] | 9 | subnet 10.0.2.0 netmask 255.255.255.0 { |
| 10 | range 10.0.2.100 10.0.2.240; |
| 11 | option routers 10.0.2.254; |
| 12 | } |
| 13 | |
Charles Chan | c3122db | 2017-09-01 10:58:24 -0700 | [diff] [blame] | 14 | subnet 10.1.2.0 netmask 255.255.255.0 { |
| 15 | range 10.1.2.100 10.1.2.240; |
| 16 | option routers 10.1.2.254; |
| 17 | } |
| 18 | |
Charles Chan | 6f149a9 | 2017-03-24 19:35:41 -0700 | [diff] [blame] | 19 | subnet 10.0.3.0 netmask 255.255.255.0 { |
| 20 | range 10.0.3.100 10.0.3.240; |
| 21 | option routers 10.0.3.254; |
| 22 | } |
| 23 | |
Yi Tseng | 9e332d8 | 2017-07-28 17:52:21 -0700 | [diff] [blame] | 24 | subnet 10.0.4.0 netmask 255.255.255.0 { |
| 25 | range 10.0.4.100 10.0.4.240; |
| 26 | option routers 10.0.4.254; |
| 27 | } |
| 28 | |
Charles Chan | ebfcc91 | 2017-04-24 12:39:52 -0700 | [diff] [blame] | 29 | subnet 10.0.99.3 netmask 255.255.255.255 { |
| 30 | } |
| 31 | |
Andrea Campanella | 6d2ae8a | 2018-03-09 08:44:35 -0800 | [diff] [blame] | 32 | subnet 10.5.6.0 netmask 255.255.255.0 { |
| 33 | range 10.5.6.100 10.5.6.240; |
| 34 | option routers 10.5.6.254; |
| 35 | } |
| 36 | |
| 37 | subnet 10.11.1.0 netmask 255.255.255.0 { |
| 38 | range 10.11.1.100 10.11.1.240; |
| 39 | option routers 10.11.1.254; |
| 40 | } |
| 41 | |
| 42 | subnet 10.11.2.0 netmask 255.255.255.0 { |
| 43 | range 10.11.2.100 10.11.2.240; |
| 44 | option routers 10.11.2.254; |
| 45 | } |
| 46 | |
| 47 | |
Charles Chan | 6f149a9 | 2017-03-24 19:35:41 -0700 | [diff] [blame] | 48 | host h1 { |
| 49 | hardware ethernet 00:aa:00:00:00:01; |
Yi Tseng | 45ee692 | 2017-07-17 14:49:17 -0700 | [diff] [blame] | 50 | fixed-address 10.0.2.1; |
Charles Chan | 6f149a9 | 2017-03-24 19:35:41 -0700 | [diff] [blame] | 51 | } |
| 52 | |
| 53 | host h2 { |
| 54 | hardware ethernet 00:aa:00:00:00:02; |
| 55 | fixed-address 10.0.2.2; |
| 56 | } |
| 57 | |
| 58 | host h3 { |
| 59 | hardware ethernet 00:aa:00:00:00:03; |
| 60 | fixed-address 10.0.3.1; |
| 61 | } |
| 62 | |
| 63 | host h4 { |
| 64 | hardware ethernet 00:aa:00:00:00:04; |
| 65 | fixed-address 10.0.3.2; |
| 66 | } |
Charles Chan | b0dd5ed | 2017-03-29 17:36:21 -0700 | [diff] [blame] | 67 | |
Andrea Campanella | ba96c61 | 2018-04-23 12:09:34 +0200 | [diff] [blame] | 68 | host h5 { |
| 69 | hardware ethernet 00:aa:00:00:00:05; |
| 70 | fixed-address 10.0.4.1; |
| 71 | } |
| 72 | |
Charles Chan | b0dd5ed | 2017-03-29 17:36:21 -0700 | [diff] [blame] | 73 | host dh1 { |
| 74 | hardware ethernet 00:cc:00:00:00:01; |
Charles Chan | c3122db | 2017-09-01 10:58:24 -0700 | [diff] [blame] | 75 | fixed-address 10.1.2.1; |
Charles Chan | b0dd5ed | 2017-03-29 17:36:21 -0700 | [diff] [blame] | 76 | } |
Andrea Campanella | 6d2ae8a | 2018-03-09 08:44:35 -0800 | [diff] [blame] | 77 | |
| 78 | host dh2 { |
| 79 | hardware ethernet 00:cc:00:00:00:02; |
| 80 | fixed-address 10.5.6.1; |
| 81 | } |
| 82 | |
| 83 | host rpd5 { |
| 84 | hardware ethernet 00:dd:00:00:00:01; |
| 85 | fixed-address 10.11.1.5; |
| 86 | } |
| 87 | |
| 88 | host rpd6 { |
| 89 | hardware ethernet 00:dd:00:00:00:02; |
| 90 | fixed-address 10.11.2.15; |
| 91 | } |