4e802319 |
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 |
9 | auto eth0 |
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 |
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) |
20 | # => on met val de base vaut 224 (1110 0000) et mask a 224 (1110 0000) |
21 | # => 2eme octet associe aux valeurs de 224 a 255 |
22 | post-up ip route add 238.224.0.0/11 dev eth0 |
23 | |
24 | |
25 | # The secondary network interface |
26 | auto eth1 |
27 | iface eth1 inet static |
28 | address 10.133.28.160 |
29 | netmask 255.255.255.0 |
30 | network 10.133.28.0 |
31 | broadcast 10.133.28.255 |
32 | gateway 10.133.28.231 |
33 | pre-up ip addr flush dev eth1 |
34 | # FE306 authentification |
35 | post-up ip route add 238.0.0.0/24 dev eth1 |
36 | # FE306 RF channels |
37 | # Pour prod voie RF 2eme octet vaut 110X XX11 (cf. libfreqplan/freqplancommon.h) |
38 | # => on met val de base vaut 192 (1100 0000) et mask a 224 (1110 0000) |
39 | # => 2eme octet associe aux valeurs de 192 a 223 |
40 | post-up ip route add 238.192.0.0/11 dev eth1 |
41 | # Delay line |
42 | post-up ip route add 239.0.0.0/8 dev eth1 |
43 | # Sensor prod |
44 | post-up ip route add 225.0.0.0/8 dev eth1 |