Auteur Sujet: Remplacer sa Livebox par un routeur Ubiquiti Edgemax  (Lu 1511545 fois)

0 Membres et 1 Invité sur ce sujet

Haldir

  • Abonné Free fibre
  • *
  • Messages: 74
  • FTTH sur Paris
Remplacer sa Livebox : configurer un routeur Ubiquiti Edgemax
« Réponse #60 le: 02 mai 2014 à 00:23:37 »
root@ubnt# show protocols igmp-proxy
 interface eth0 {
     alt-subnet 0.0.0.0/0
     role downstream
     threshold 1
 }
 interface eth1 {
     alt-subnet 0.0.0.0/0
     role upstream
     threshold 1
 }

c0mm0n

  • Invité
Remplacer sa Livebox : configurer un routeur Ubiquiti Edgemax
« Réponse #61 le: 02 mai 2014 à 00:24:25 »
Les 2 interfaces ont une IP ? (sinon il voudra RIEN savoir)

Eth1 c bien le WAN ?

Le log quand tu le lances a la main ? :P

Envoie ta conf complete, si ca t'embêtes pas sur c0mmm0n chez gmail.com

Je mate la NBA, suis la pour un moment encore, si t'es chaud pour boucler ca ce soir :D

c0mm0n

  • Invité
Remplacer sa Livebox : configurer un routeur Ubiquiti Edgemax
« Réponse #62 le: 02 mai 2014 à 00:26:36 »
Si t'as un lien avec la conf de reference SFR aussi je veux bien.

Haldir

  • Abonné Free fibre
  • *
  • Messages: 74
  • FTTH sur Paris
Remplacer sa Livebox : configurer un routeur Ubiquiti Edgemax
« Réponse #63 le: 02 mai 2014 à 00:26:55 »
Il doit manquer qqch car quand je lance sudo igmpproxy -vv , j'ai ce message "Using default configuration file "/etc/igmpproxy.conf""

c0mm0n

  • Invité
Remplacer sa Livebox : configurer un routeur Ubiquiti Edgemax
« Réponse #64 le: 02 mai 2014 à 00:28:24 »
Ah nan c parfait, ca veut dire qu'il se lance bien :)

Ouvre un 2e shell et laisse le comme ca pendant que tu fais tes tests coté TV, ensuite dans le 2e shell lance les commandes d'en haut et dis nous ce que ca donne.

C'est juste pour le debug, après il tournera en daemon comme d'hab.

c0mm0n

  • Invité
Remplacer sa Livebox : configurer un routeur Ubiquiti Edgemax
« Réponse #65 le: 02 mai 2014 à 00:30:22 »
Tiens voila a quoi ca ressemble quand ca "marche" :

Tu dois voir ca dans le shell ouvert sur igmpproxy :

root@ubnt:~#  igmpproxy -v -d /etc/igmpproxy.conf
20:15:28.988340 adding VIF, Ix 0 Fl 0x0 IP 0xc0a80101 eth0, Threshold: 1, Ratelimit: 0
20:15:28.989351 adding VIF, Ix 1 Fl 0x0 IP 0xc0a80201 eth2, Threshold: 1, Ratelimit: 0
20:15:28.989996 adding VIF, Ix 2 Fl 0x0 IP 0x0a36389a br0, Threshold: 1, Ratelimit: 0
20:15:28.990577 adding VIF, Ix 3 Fl 0x0 IP 0x0aafe3e7 eth1.851, Threshold: 1, Ratelimit: 0
20:15:28.991171 adding VIF, Ix 4 Fl 0x0 IP 0x51f9ea9c pppoe0, Threshold: 1, Ratelimit: 0
20:15:28.991927 joinMcGroup: 224.0.0.2 on eth0
20:15:28.992539 joinMcGroup: 224.0.0.2 on eth2
20:15:28.993128 joinMcGroup: 224.0.0.2 on eth1.851
20:15:28.993715 joinMcGroup: 224.0.0.2 on pppoe0
20:15:28.995540 RECV Membership query   from 192.168.1.1     to 224.0.0.1
20:15:28.995864 RECV Membership query   from 192.168.2.1     to 224.0.0.1
20:15:28.996188 RECV Membership query   from 10.175.227.231  to 224.0.0.1
20:15:28.996524 RECV Membership query   from 81.249.234.156  to 224.0.0.1
20:15:29.010275 RECV V2 member report   from 192.168.1.1     to 224.0.0.2
20:15:29.010548 The IGMP message was from myself. Ignoring.
20:15:29.010869 RECV V2 member report   from 192.168.2.1     to 224.0.0.2
20:15:29.011137 The IGMP message was from myself. Ignoring.
20:15:29.011472 RECV V2 member report   from 81.249.234.156  to 224.0.0.2
20:15:29.011743 The IGMP message was from myself. Ignoring.
20:15:31.510062 RECV V2 member report   from 192.168.1.1     to 239.255.255.250
20:15:31.510316 The IGMP message was from myself. Ignoring.
20:15:31.510675 Inserted route table entry for 239.255.255.250 on VIF #-1
20:15:31.511008 Adding MFC: 192.168.1.1 -> 239.255.255.250, InpVIf: 2
20:15:32.010077 RECV V2 member report   from 10.175.227.231  to 224.0.0.2
20:15:32.010357 The IGMP message was from myself. Ignoring.
20:15:33.321174 RECV V2 member report   from 192.168.2.40    to 239.255.255.250
20:15:33.321881 Updated route entry for 239.255.255.250 on VIF #1
20:15:33.322875 Adding MFC: 192.168.1.1 -> 239.255.255.250, InpVIf: 2
20:15:33.323753 joinMcGroup: 239.255.255.250 on br0
20:15:33.325308 The origin for route 239.255.255.250 changed from 192.168.1.1 to 192.168.2.40
20:15:33.326324 Adding MFC: 192.168.2.40 -> 239.255.255.250, InpVIf: 2
20:15:33.340242 RECV V2 member report   from 10.54.56.154    to 239.255.255.250
20:15:33.340910 The IGMP message was from myself. Ignoring.
20:15:33.342088 Route activation request from 10.54.56.154 for 239.255.255.250 is from myself. Ignoring.
20:15:35.190033 RECV V2 member report   from 192.168.2.24    to 232.0.1.181
20:15:35.190300 Inserted route table entry for 232.0.1.181 on VIF #1
20:15:35.190472 joinMcGroup: 232.0.1.181 on br0
20:15:35.210154 RECV V2 member report   from 10.54.56.154    to 232.0.1.181
20:15:35.210369 The IGMP message was from myself. Ignoring.
20:15:35.210571 Route activation request from 10.54.56.154 for 232.0.1.181 is from myself. Ignoring.
20:15:35.242543 Adding MFC: 80.12.194.107 -> 232.0.1.181, InpVIf: 2
20:15:37.630080 RECV V2 member report   from 81.249.234.156  to 233.89.188.1
20:15:37.630295 The IGMP message was from myself. Ignoring.
20:15:37.630543 Inserted route table entry for 233.89.188.1 on VIF #-1
20:15:37.630800 Adding MFC: 81.249.234.156 -> 233.89.188.1, InpVIf: 2
20:15:38.602648 The origin for route 239.255.255.250 changed from 192.168.2.40 to 192.168.2.2
20:15:38.603362 Adding MFC: 192.168.2.2 -> 239.255.255.250, InpVIf: 2
20:15:43.230253 RECV V2 member report   from 10.54.56.154    to 239.255.255.250
20:15:43.230469 The IGMP message was from myself. Ignoring.
20:15:43.830079 RECV V2 member report   from 10.54.56.154    to 232.0.1.181
20:15:43.830294 The IGMP message was from myself. Ignoring.
20:15:44.295841 The origin for route 239.255.255.250 changed from 192.168.2.2 to 192.168.2.26
20:15:44.296428 Adding MFC: 192.168.2.26 -> 239.255.255.250, InpVIf: 2
20:15:45.970081 RECV V2 member report   from 10.54.56.154    to 239.255.255.250
20:15:45.970298 The IGMP message was from myself. Ignoring.
20:15:45.970503 Route activation request from 10.54.56.154 for 239.255.255.250 is from myself. Ignoring.
20:15:46.624963 RECV Membership query   from 0.0.0.0         to 224.0.0.1
20:15:49.620209 RECV V2 member report   from 10.54.56.154    to 232.0.1.181
20:15:49.620424 The IGMP message was from myself. Ignoring.
20:15:49.620625 Route activation request from 10.54.56.154 for 232.0.1.181 is from myself. Ignoring.
^C20:15:53.123220 select() failure; Errno(4): Interrupted system call
20:15:53.123641 Got a interupt signal. Exiting.
20:15:53.123865 Removing MFC: 80.12.194.107 -> 232.0.1.181, InpVIf: 2
20:15:53.124046 leaveMcGroup: 232.0.1.181 on br0
20:15:53.124891 Removing MFC: 81.249.234.156 -> 233.89.188.1, InpVIf: 2
20:15:53.125405 Removing MFC: 192.168.2.26 -> 239.255.255.250, InpVIf: 2
20:15:53.125636 leaveMcGroup: 239.255.255.250 on br0
20:15:53.126245 All routes removed. Routing table is empty.
20:15:53.127744 Shutdown complete….

Dans le 2e si tu fais un mroute :

root@ubnt:~# ip mroute
(192.168.2.40, 239.255.255.250)  Iif: br0        Oifs: eth2
(192.168.2.26, 239.255.255.250)  Iif: br0        Oifs: eth2
(192.168.1.1, 239.255.255.250)   Iif: br0        Oifs: eth2
(192.168.2.2, 239.255.255.250)   Iif: br0        Oifs: eth2
(80.12.194.107, 232.0.1.181)     Iif: br0        Oifs: eth2

c0mm0n

  • Invité
Remplacer sa Livebox : configurer un routeur Ubiquiti Edgemax
« Réponse #66 le: 02 mai 2014 à 00:31:02 »
Si -vv donne rien essaye mon "-v -d" sans preciser la conf, il la prend par défaut.

Haldir

  • Abonné Free fibre
  • *
  • Messages: 74
  • FTTH sur Paris

Haldir

  • Abonné Free fibre
  • *
  • Messages: 74
  • FTTH sur Paris
Remplacer sa Livebox : configurer un routeur Ubiquiti Edgemax
« Réponse #68 le: 02 mai 2014 à 00:34:25 »
Si -vv donne rien essaye mon "-v -d" sans preciser la conf, il la prend par défaut.

J'obtiens ça avec la nouvelle commande
22:33:31.846653 MC-Router API already in use; Errno(125): Address already in use

c0mm0n

  • Invité
Remplacer sa Livebox : configurer un routeur Ubiquiti Edgemax
« Réponse #69 le: 02 mai 2014 à 00:37:00 »
Normal il tourne deja.

Je le tue comme ca :
ps ax | grep [i]gmpproxy

Ca te donne le process igmpproxy, ensuite tu peux le tuer avec son PID

sudo kill -9 XXX

c0mm0n

  • Invité
Remplacer sa Livebox : configurer un routeur Ubiquiti Edgemax
« Réponse #70 le: 02 mai 2014 à 00:38:17 »
Le lien du topic SFR https://lafibre.info/sfr-tutoriels/bypasser-la-neufbox/  et la KB chez Uniquiti que j'ai utilisé http://community.ubnt.com/t5/EdgeMAX-CLI-Basics-Knowledge/EdgeMAX-Set-up-IGMP-proxy-and-statistics/ta-p/473943

Merci, c'est BCP plus simple qu'Orange :o (la chance).

Donc y a aucune raison que ta conf aille pas, il se passe quoi coté décodeur TV ?

c0mm0n

  • Invité
Remplacer sa Livebox : configurer un routeur Ubiquiti Edgemax
« Réponse #71 le: 02 mai 2014 à 00:41:32 »
Par contre, il faut pas réaliser la partie "Simuler l'API de la Neufbox", également ?

Pas de méthode pour le replay chez SFR de ce que je lis sur le tuto ?