Commit | Line | Data |
---|---|---|
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 dhcp | |
11 | pre-up ip addr flush dev eth0 | |
14037e7d LM |
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 | # FE306 RF channels | |
20 | # Pour prod voie RF 2eme octet vaut 110X XX11 (cf. libfreqplan/freqplancommon.h) | |
21 | # => on met val de base vaut 192 (1100 0000) et mask a 224 (1110 0000) | |
22 | # => 2eme octet associe aux valeurs de 192 a 223 | |
23 | post-up ip route add 238.192.0.0/11 dev eth0 | |
24 | # Delay line | |
25 | post-up ip route add 239.0.0.0/8 dev eth0 | |
15d19708 | 26 | |
14037e7d | 27 | # The secondary network interface |
15d19708 TPVT |
28 | auto eth1 |
29 | iface eth1 inet dhcp | |
3a8d2b2f | 30 | pre-up ip addr flush dev eth1 |
14037e7d LM |
31 | # FE306 authentification |
32 | post-up ip route add 238.0.0.0/24 dev eth1 | |
33 | # Sensor prod | |
34 | post-up ip route add 225.0.0.0/8 dev eth1 |