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