Commit | Line | Data |
---|---|---|
14037e7d LM |
1 | # This file describes the network interfaces available on your system |
2 | # and how to activate them. For more information, see interfaces(5). | |
3 | ||
4 | # The loopback network interface | |
5 | auto lo | |
6 | iface lo inet loopback | |
7 | ||
8 | # The primary network interface | |
a7757cbb | 9 | auto eth0 |
14037e7d LM |
10 | iface eth0 inet static |
11 | address 10.133.26.160 | |
12 | netmask 255.255.255.0 | |
13 | network 10.133.26.0 | |
14 | broadcast 10.133.26.255 | |
15 | pre-up ip addr flush dev eth0 | |
14037e7d LM |
16 | # FE306 pano |
17 | post-up ip route add 238.75.0.0/16 dev eth0 | |
18 | # FE306 WP channels | |
19 | # Pour prod voie PV 2eme octet vaut 111X XX11 (cf. libfreqplan/freqplancommon.h) | |
190be33b | 20 | # => on met val de base vaut 224 (1110 0000) et mask a 224 (1110 0000) |
14037e7d LM |
21 | # => 2eme octet associe aux valeurs de 224 a 255 |
22 | post-up ip route add 238.224.0.0/11 dev eth0 | |
14037e7d LM |
23 | |
24 | # The secondary network interface | |
25 | auto eth1 | |
26 | iface eth1 inet static | |
27 | address 10.133.28.160 | |
28 | netmask 255.255.255.0 | |
29 | network 10.133.28.0 | |
30 | broadcast 10.133.28.255 | |
31 | gateway 10.133.28.231 | |
32 | pre-up ip addr flush dev eth1 | |
190be33b LM |
33 | # FE306 authentification |
34 | post-up ip route add 238.0.0.0/24 dev eth1 | |
35 | # FE306 RF channels | |
36 | # Pour prod voie RF 2eme octet vaut 110X XX11 (cf. libfreqplan/freqplancommon.h) | |
37 | # => on met val de base vaut 192 (1100 0000) et mask a 224 (1110 0000) | |
38 | # => 2eme octet associe aux valeurs de 192 a 223 | |
39 | post-up ip route add 238.192.0.0/11 dev eth1 | |
40 | # Delay line | |
41 | post-up ip route add 239.0.0.0/8 dev eth1 | |
14037e7d | 42 | # Sensor prod |
190be33b | 43 | post-up ip route add 225.0.0.0/8 dev eth1 |