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 | |
Charles Chan | 6f149a9 | 2017-03-24 19:35:41 -0700 | [diff] [blame] | 32 | host h1 { |
| 33 | hardware ethernet 00:aa:00:00:00:01; |
Yi Tseng | 45ee692 | 2017-07-17 14:49:17 -0700 | [diff] [blame] | 34 | fixed-address 10.0.2.1; |
Charles Chan | 6f149a9 | 2017-03-24 19:35:41 -0700 | [diff] [blame] | 35 | } |
| 36 | |
| 37 | host h2 { |
| 38 | hardware ethernet 00:aa:00:00:00:02; |
| 39 | fixed-address 10.0.2.2; |
| 40 | } |
| 41 | |
| 42 | host h3 { |
| 43 | hardware ethernet 00:aa:00:00:00:03; |
| 44 | fixed-address 10.0.3.1; |
| 45 | } |
| 46 | |
| 47 | host h4 { |
| 48 | hardware ethernet 00:aa:00:00:00:04; |
| 49 | fixed-address 10.0.3.2; |
| 50 | } |
Charles Chan | b0dd5ed | 2017-03-29 17:36:21 -0700 | [diff] [blame] | 51 | |
| 52 | host dh1 { |
| 53 | hardware ethernet 00:cc:00:00:00:01; |
Charles Chan | c3122db | 2017-09-01 10:58:24 -0700 | [diff] [blame] | 54 | fixed-address 10.1.2.1; |
Charles Chan | b0dd5ed | 2017-03-29 17:36:21 -0700 | [diff] [blame] | 55 | } |