Bonjour,
J'ai un asus BE88u avec un SFP GPON-ONU-34-20BI.
J'ai l'abonnement avec la livebox6
Je me concentre pour le moment sur une config avec juste l'ipv4 (
Normalement, coté SFP GPON-ONU-34-20BI, la config est ok :
c+v :
GPE VLAN
Name: ONU_GPE_VLAN_TABLE
ID: 18
no;pcp;dei;vid;vlan_meter_enable;vlan_meter_id;end
32; ; ;2800; ; ;
33; ; ; ; ; ;1
36; ; ;835; ; ;
37; ; ;852; ; ;
38; ; ;2800; ; ;
39; ; ; ; ; ;1
40; ; ;852; ; ;
41; ; ; ; ; ;1
44; ; ;835; ; ;
45; ; ; ; ; ;1
c+y :
Name: ONU_GPE_VLAN_TREATMENT_TABLE
ID: 43
;;;;tagb;tagb;tagb;taga;taga;taga
no;inner not generate;outer not generate;discard enable;tpid;vid;treatment;tpid;vid;treatment
0;1;1;1; ; ;15; ; ;15
1;1;1; ;2; 852; ; ; ;15
2;1;1; ;2; 852; 1; ; ;15
3;1;1; ;2; 852; 2; ; ;15
4;1;1; ;2; 852; 3; ; ;15
5;1;1; ;2; 852; 4; ; ;15
6;1;1; ;2; 852; 4; ; ;15
7;1;1; ;2; 852; 5; ; ;15
8;1;1; ;2; 852; 7; ; ;15
9;1;1; ;2;2800; 9; ; ;15
10;1;1; ;2; 835; 9; ; ;15
11; ; ;1; ; ;15; ; ;15
12;1;1;1;4; ;15;4; ;15
13;1; ; ; ; ;15; ; ;15
14; ; ; ; ; ;15; ; ;15
64;1;1; ;6; 851; ; ; ;15
65;1;1; ;6; 851; 1; ; ;15
66;1;1; ;6; 851; 2; ; ;15
67;1;1; ;6; 851; 3; ; ;15
68;1;1; ;6; 851; 4; ; ;15
69;1;1; ;6; 851; 5; ; ;15
70;1;1; ;6; 851; 6; ; ;15
71;1;1; ;6; 851; 7; ; ;15
72;1;1; ;6; 832; 9; ; ;15
73;1;1; ;6; 835; 9; ; ;15
74;1;1; ; ; ;15; ; ;15
75;1;1; ; ; ;15; ; ;15
76;1; ; ; ; ;15; ; ;15
77; ; ; ; ; ;15; ; ;15
Ici on voit bien le 832
Sur le routeur ( en busybox ) :
je tente une récupération de mon ip avec udhcpc sur le wan0 qui est mon sfp
0x4d = option 77 ( valeur : +FSVDSL_livebox.Internet.softathome.Livebox6 convertit en hex )
0x5a = option 90 ( valeur : le retour de
https://jsfiddle.net/kgersen/3mnsc6wy/ sans les : )
0x3d = option 61 ( valeur : l'adresse mac de ma livebox sans les : et précédé d'un 01)
V = option 60
@RT-BE88U-3DC0:/tmp/home/root# /sbin/udhcpc -i wan0 -p /var/run/udhcpc0.pid -s /tmp/udhcpc -O33 -O249 -V sagem -x "0x4d:2b46535644534c5f6c697665626f782e496e7465726e65742e736f66746174686f6d652e4c697665626f7836" -x "0x5a:xxx" -x "0x3d:xxx"
udhcpc: started, v1.25.1
udhcpc: sending discover
udhcpc: sending select for 2.10.21.78
udhcpc: lease of 2.10.21.78 obtained, lease time 259200
Bref, à partir de ce moment, je sèche, devrais-je avoir une ip valide déjà ou pas ?
Je comprend pas non plus, l'ip n'est pas affecté à ma carte wan0 ?
Faut-il que je configure le vlan 832 avant ou pas ? ( dans le doute, j'ai tenté un truc, mais ça ne change rien )
@RT-BE88U-3DC0:/tmp/home/root# ip link add link wan0 name wan0.832 type vlan id 832
@RT-BE88U-3DC0:/tmp/home/root# ip link set wan0.832 type vlan egress 6:6
@RT-BE88U-3DC0:/tmp/home/root# cat /proc/net/vlan/config
VLAN Dev name | VLAN ID
Name-Type: VLAN_NAME_TYPE_PLUS_VID_NO_PAD
wan0.832 | 832 | wan0
@RT-BE88U-3DC0:/tmp/home/root# /sbin/udhcpc -i wan0 -p /var/run/udhcpc0.pid -s /tmp/udhcpc -O33 -O249 -V sagem -x "0x4d:xxx" -x "0x5a:xxx" -x "0x3d:xxx"
udhcpc: started, v1.25.1
udhcpc: sending discover
udhcpc: sending select for 2.10.21.78
udhcpc: lease of 2.10.21.78 obtained, lease time 259200
@RT-BE88U-3DC0:/tmp/home/root# ifconfig wan0.832 up
@RT-BE88U-3DC0:/tmp/home/root# /sbin/udhcpc -i wan0.832 -p /var/run/udhcpc0.pid -s /tmp/udhcpc -O33 -O249 -V sagem -x "0x4d:xxx" -x "0x5a:xxx" -x "0x3d:xxx
udhcpc: started, v1.25.1
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
^C
@RT-BE88U-3DC0:/tmp/home/root# cat /proc/net/vlan/wan0.832
wan0.832 VID: 832 REORDER_HDR: 1 dev->priv_flags: 1821
total frames received 0
total bytes received 0
Broadcast/Multicast Rcvd 0
total frames transmitted 10
total bytes transmitted 2051
Device: wan0
INGRESS priority mappings: 0:0 1:0 2:0 3:0 4:0 5:0 6:0 7:0
EGRESS priority mappings: 6:6
Merci d'avance pour les pistes !