X-Git-Url: https://secure.softndesign.org/git/?a=blobdiff_plain;f=master%2Fetc%2Fnetwork%2Finterfaces;fp=master%2Fetc%2Fnetwork%2Finterfaces;h=843ddaad524e9afa63b1262ee9b2a0b6a00faed4;hb=a3300608811441c5238911ca14e56433ea4f4c5f;hp=0000000000000000000000000000000000000000;hpb=3a30026aa30355dac5c5f9742da0fdba797701ea;p=debian6500.git diff --git a/master/etc/network/interfaces b/master/etc/network/interfaces new file mode 100644 index 0000000..843ddaa --- /dev/null +++ b/master/etc/network/interfaces @@ -0,0 +1,44 @@ +# This file describes the network interfaces available on your system +# and how to activate them. For more information, see interfaces(5). + +# The loopback network interface +auto lo +iface lo inet loopback + +# The primary network interface +auto eth0 +iface eth0 inet static + address 10.133.26.160 + netmask 255.255.255.0 + network 10.133.26.0 + broadcast 10.133.26.255 + pre-up ip addr flush dev eth0 + # FE306 pano + post-up ip route add 238.75.0.0/16 dev eth0 + # FE306 WP channels + # Pour prod voie PV 2eme octet vaut 111X XX11 (cf. libfreqplan/freqplancommon.h) + # => on met val de base vaut 224 (1110 0000) et mask a 224 (1110 0000) + # => 2eme octet associe aux valeurs de 224 a 255 + post-up ip route add 238.224.0.0/11 dev eth0 + + +# The secondary network interface +auto eth1 +iface eth1 inet static + address 10.133.28.160 + netmask 255.255.255.0 + network 10.133.28.0 + broadcast 10.133.28.255 + gateway 10.133.28.231 + pre-up ip addr flush dev eth1 + # FE306 authentification + post-up ip route add 238.0.0.0/24 dev eth1 + # FE306 RF channels + # Pour prod voie RF 2eme octet vaut 110X XX11 (cf. libfreqplan/freqplancommon.h) + # => on met val de base vaut 192 (1100 0000) et mask a 224 (1110 0000) + # => 2eme octet associe aux valeurs de 192 a 223 + post-up ip route add 238.192.0.0/11 dev eth1 + # Delay line + post-up ip route add 239.0.0.0/8 dev eth1 + # Sensor prod + post-up ip route add 225.0.0.0/8 dev eth1