Commit | Line | Data |
---|---|---|
8a824b03 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 | |
9 | auto eth0 | |
10 | iface eth0 inet dhcp | |
11 | pre-up ip addr flush dev eth0 | |
12 | # FE306 pano | |
13 | post-up ip route add 238.75.0.0/16 dev eth0 | |
14 | # FE306 WP channels | |
15 | # Pour prod voie PV 2eme octet vaut 111X XX11 (cf. libfreqplan/freqplancommon.h) | |
16 | # => on met val de base vaut 224 (1110 0000) et mask a 224 (1110 0000) | |
17 | # => 2eme octet associe aux valeurs de 224 a 255 | |
18 | post-up ip route add 238.224.0.0/11 dev eth0 | |
19 | ||
20 | ||
21 | # The secondary network interface | |
22 | auto eth1 | |
23 | iface eth1 inet dhcp | |
24 | pre-up ip addr flush dev eth1 | |
25 | # FE306 authentification | |
26 | post-up ip route add 238.0.0.0/24 dev eth1 | |
27 | # FE306 RF channels | |
28 | # Pour prod voie RF 2eme octet vaut 110X XX11 (cf. libfreqplan/freqplancommon.h) | |
29 | # => on met val de base vaut 192 (1100 0000) et mask a 224 (1110 0000) | |
30 | # => 2eme octet associe aux valeurs de 192 a 223 | |
31 | post-up ip route add 238.192.0.0/11 dev eth1 | |
32 | # Delay line | |
33 | post-up ip route add 239.0.0.0/8 dev eth1 | |
34 | # Sensor prod | |
35 | post-up ip route add 225.0.0.0/8 dev eth1 | |
36 | ||
37 | auto eth2 | |
38 | iface eth2 inet dhcp | |
39 | ||
40 | auto eth4 | |
41 | iface eth4 inet dhcp | |
42 | ||
43 | auto eth3 | |
44 | iface eth3 inet dhcp | |
45 | ||
46 | auto eth5 | |
47 | iface eth5 inet dhcp |