Full duplex for SWG
[debian6500.git] / master / etc / network / interfaces
index 843ddaad524e9afa63b1262ee9b2a0b6a00faed4..d10f3b09381cd2a8c6501e49c1ad39fdf95d77c8 100644 (file)
@@ -13,6 +13,8 @@ iface eth0 inet static
        network 10.133.26.0
        broadcast 10.133.26.255
        pre-up ip addr flush dev eth0
+       # FE306 authentification
+       post-up ip route add 238.0.0.0/24 dev eth0
        # FE306 pano
        post-up ip route add 238.75.0.0/16 dev eth0
        # FE306 WP channels
@@ -20,7 +22,13 @@ iface eth0 inet static
        # => 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
-       
+       # 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 eth0
+       # Delay line
+       post-up ip route add 239.0.0.0/8 dev eth0
 
 # The secondary network interface
 auto eth1
@@ -31,14 +39,5 @@ iface eth1 inet static
        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