Oui tu as raison.
Donc pour le moment ce qui est OK
Machine sous OPNSense 19.7 --> OK
Patché les drivers --> OK
ONU Reconnu --> OK
bxe0: link_vars phy_flags : 1
bxe0: link_vars phy_flags : 5
bxe0: link state changed to DOWN
bxe0: link_vars phy_flags : 1
bxe0: link state changed to UP
bxe0: NIC Link is Up, 2500 Mbps full duplex, Flow control: ON - receive & transmit
Création d'un vlan 832 sur l'interface bxe0 --> OK
Configuration du client dhcp --> me semble OK
Send Options
dhcp-class-identifier “sagem”, user-class "+FSVDSL_livebox.Internet.softathome.Livebox4", option-90 00:00:00:00:00:00:00:00:00:00:00:1a:09:00:00:05:58:01:03:41:01:0D:66:74:69:2F:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx (xx = mon ident)
Request Options
subnet-mask, broadcast-address, dhcp-lease-time, dhcp-renewal-time, dhcp-rebinding-time, domain-search, routers, domain-name-servers, option-90
et j'ai pas de réponse du serveur, la requête par bien avec la prio CoS 6
root@OPNsense:~ # tcpdump -evni bxe0
tcpdump: listening on bxe0, link-type EN10MB (Ethernet), capture size 262144 bytes
12:02:26.671556 00:1e:1e:8f:4c:f0 > ff:ff:ff:ff:ff:ff, ethertype 802.1Q (0x8100), length 405: vlan 832, p 6, ethertype IPv4, (tos 0x10, ttl 128, id 0, offset 0, flags [none], proto UDP (17), length 387)
0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:1e:1e:8f:4c:f0, length 359, xid 0x3546bfc7, secs 18, Flags [none]
Client-Ethernet-Address 00:1e:1e:8f:4c:f0
Vendor-rfc1048 Extensions
Magic Cookie 0x63825363
DHCP-Message Option 53, length 1: Discover
Client-ID Option 61, length 7: ether 00:1e:1e:8f:4c:f0
Hostname Option 12, length 8: "OPNsense"
Parameter-Request Option 55, length 9:
Subnet-Mask, BR, Lease-Time, RN
RB, Option 119, Default-Gateway, Domain-Name-Server
AUTH
User-Class Option 77, length 44:
instance#1: "FSVDSL_livebox.Internet.softathome.Livebox4", length 43
AUTH Option 90, length 37: 0.0.0.0.0.0.0.0.0.0.0.26.9.0.0.5.88.1.3.65.1.13.102.116.105.47.102.116.105.47.57.113.122.55.120.55.104
Status de l'ONU
ONTUSER@SFP:~# onu ploamsg
errorcode=0 curr_state=5 previous_state=4 elapsed_msec=822416
Je suis bien synchro en 2.5Gbps
ONTUSER@SFP:~# onu lanpsg 0onu lanpsg 0
errorcode=0 pport=0 mode=15 enable=1 link_status=5 phy_duplex=1
edit : ajout du dmesg de l'onu
ONTUSER@SFP:~# dmesg
[ 0.000000] Linux version 3.10.49 (buildmgr@AONT08) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 14.07_ltq) ) #1 Wed Feb 7 17:16:41 CST 2018
[ 0.000000] SoC: Falcon rev A22
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU revision is: 00019556 (MIPS 34Kc)
[ 0.000000] MIPS: machine is SFP - Lantiq Falcon SFP Stick
[ 0.000000] e=memsize=64
[ 0.000000] e=initrd_start=0xA0000000
[ 0.000000] e=initrd_size=0x0
[ 0.000000] e=flash_start=0x00000000
[ 0.000000] e=flash_size=0x0
[ 0.000000] e=ethaddr=ac:9a:96:00:00:00
[ 0.000000] MEMSIZE = 67108864
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 04000000 @ 00000000 (usable)
[ 0.000000] User-defined physical RAM map:
[ 0.000000] memory: 03f00000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x00000000-0x03efffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x00000000-0x03efffff]
[ 0.000000] On node 0 totalpages: 16128
[ 0.000000] free_area_init_node: node 0, pgdat 80314610, node_mem_map 81004260
[ 0.000000] Normal zone: 126 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 16128 pages, LIFO batch:3
[ 0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16002
[ 0.000000] Kernel command line: rootfstype=squashfs,jffs2 ip=192.168.1.10:192.168.1.100:192.168.2.1::::off ethaddr=ac:9a:96:00:00:00 machtype=SFP vpe1_load_addr=0x83f00000 vpe1_mem=1M mem=63M mtdparts=sflash:256k(uboot)ro,512k(uboot_env),6144k(linux),6144k(image1),1024k(configfs),2112k(logfs),64k(ri),64k(sfp),64k(ribackup) quiet console= console=ttyLTQ0,115200 init=/etc/preinit
[ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Writing ErrCtl register=000004c2
[ 0.000000] Readback ErrCtl register=000004c2
[ 0.000000] Memory: 60204k/64512k available (2596k kernel code, 4308k reserved, 663k data, 184k init, 0k highmem)
[ 0.000000] NR_IRQS:328
[ 0.000000] Setting up vectored interrupts
[ 0.000000] CPU Clock: 400MHz
[ 0.032000] Calibrating delay loop... 265.98 BogoMIPS (lpj=531968)
[ 0.036000] pid_max: default: 32768 minimum: 301
[ 0.036000] Mount-cache hash table entries: 512
[ 0.040000] pinctrl core: initialized pinctrl subsystem
[ 0.040000] NET: Registered protocol family 16
[ 0.060000] pinctrl-falcon pinctrl.4: Init done
[ 0.080000] bio: create slab <bio-0> at 0
[ 0.080000] FALC(tm) ON GPIO Driver, (C) 2012 Lantiq Deutschland Gmbh
[ 0.088000] Switching to clocksource MIPS
[ 0.092000] NET: Registered protocol family 2
[ 0.092000] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[ 0.092000] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[ 0.092000] TCP: Hash tables configured (established 512 bind 512)
[ 0.092000] TCP: reno registered
[ 0.092000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.092000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.092000] NET: Registered protocol family 1
[ 0.092000] RPC: Registered named UNIX socket transport module.
[ 0.092000] RPC: Registered udp transport module.
[ 0.092000] RPC: Registered tcp transport module.
[ 0.092000] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.096000] EASY98000 LED driver, Version 1.0.1 (c) Copyright 2013, Lantiq Deutschland GmbH
[ 0.096000] Wired TLB entries for Linux read_c0_wired() = 0
[ 0.096000] config3 0x2425 MT 1
[ 0.096000] MVPControl 0x2, STLB 0 VPC 1 EVP 0
[ 0.096000] mvpconf0 0xb8008403, PVPE 1 PTC 3 M 1
[ 0.100000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.100000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.100000] msgmni has been set to 117
[ 0.100000] io scheduler noop registered
[ 0.100000] io scheduler deadline registered (default)
[ 0.104000] 1e100c00.serial: ttyLTQ0 at MMIO 0x1e100c00 (irq = 104) is a lantiq,asc
[ 0.104000] console [ttyLTQ0] enabled, bootconsole disabled
[ 0.108000] m25p80 spi0.0: found mx25l12805d, expected s25fl129p0
[ 0.108000] m25p80 spi0.0: mx25l12805d (16384 Kbytes)
[ 0.108000] 9 cmdlinepart partitions found on MTD device sflash
[ 0.108000] Creating 9 MTD partitions on "sflash":
[ 0.108000] 0x000000000000-0x000000040000 : "uboot"
[ 0.112000] 0x000000040000-0x0000000c0000 : "uboot_env"
[ 0.116000] 0x0000000c0000-0x0000006c0000 : "linux"
[ 0.116000] 0x0000001e7e4a-0x0000006c0000 : "rootfs"
[ 0.116000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[ 0.120000] mtd: device 3 (rootfs) set to be root filesystem
[ 0.120000] mtd: partition "rootfs_data" created automatically, ofs=0x610000, len=0xb0000
[ 0.120000] 0x000000610000-0x0000006c0000 : "rootfs_data"
[ 0.120000] 0x0000006c0000-0x000000cc0000 : "image1"
[ 0.124000] 0x000000cc0000-0x000000dc0000 : "configfs"
[ 0.128000] 0x000000dc0000-0x000000fd0000 : "logfs"
[ 0.128000] 0x000000fd0000-0x000000fe0000 : "ri"
[ 0.132000] 0x000000fe0000-0x000000ff0000 : "sfp"
[ 0.132000] 0x000000ff0000-0x000001000000 : "ribackup"
[ 0.136000] wdt 1f8803f0.watchdog: Init done
[ 0.140000] TCP: cubic registered
[ 0.140000] NET: Registered protocol family 17
[ 0.140000] 8021q: 802.1Q VLAN Support v1.8
[ 12.192000] VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
[ 12.196000] Freeing unused kernel memory: 184K (80332000 - 80360000)
[ 16.304000] jffs2: notice: (277) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[ 16.360000] jffs2: notice: (279) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[ 22.928000] g_board_hw_version 34
[ 22.928000] ri module install
[ 22.932000] scfg module install ok.
[ 22.936000] IFXOS, Version 1.6.6 (c) Copyright 2009, Lantiq Deutschland GmbH
[ 23.004000] NET: Registered protocol family 10
[ 23.020000] GPON SFP I2C Slave Driver, Version 2.2.1 (c) Copyright 2015, Lantiq Beteiligungs-GmbH & Co. KG
[ 23.024000] [sfp_i2c] vpe code <sfp_i2c_vpe.bin> with size <3400 bytes> loaded!
[ 23.024000] VPE loader: VPE1 running successfully
[ 23.024000] Custom GPIO-based I2C driver version 0.1.1
[ 23.032000] i2c-gpio i2c-gpio.0: using pins 37 (SDA) and 38 (SCL)
[ 23.032000] i2c_driver_major is 247
[ 23.032000] This board has 1 i2c bus, 0 bus is expanded by PCA9554i2c driver install.
[ 23.140000] FALC(tm) ON Optic Driver, version 7.5.1.0 (c) Copyright 2015, Lantiq Beteiligungs-GmbH & Co. KG
[ 23.512000] watchdog: add to proc fs ok
[ 23.512000] FALC(tm) ON Base Driver, Version 7.5.1.0 (c) Copyright 2015, Lantiq Beteiligungs-GmbH & Co. KG
[ 23.544000] FALC(tm) ON Ethernet Driver, Version 7.5.1.0 (c) Copyright 2015, Lantiq Beteiligungs-GmbH & Co. KG
[ 23.680000] igmpdrv k_igmp_drv_init
[ 23.684000] igmpdb igmpdbthreadinit:1158 Enter DB create the thread.
[ 23.700000] [onu] Now netdev have set Snooping Call Back.
[ 23.700000] [onu] sce error -1, table ID 1, index 0
[ 23.704000] igmpltq hal_kernel_cfg_mcast_vlan_action line:721 ret:-1
[ 23.708000] successfully insert igmp dev module
[ 33.284000] [hcfg] try to load /usr/cfg/hcfg/3FE46542AADA.cfg
[ 33.284000] [hcfg] try to load /usr/cfg/hcfg/3FE46542AA
[ 33.284000] [hcfg] load /usr/cfg/hcfg/3FE46542AA finally
[ 39.464000] [onu] GPHY Firmware loaded into RAM (phy11g.bin)
[ 39.828000] [onu] PE[255] firmware loaded v9.90.6.1
[ 41.896000] libphy: Falcon MDIO: probed
[ 41.916000] IPv6: ADDRCONF(NETDEV_UP): host: link is not ready
[ 41.972000] IPv6: ADDRCONF(NETDEV_UP): lct0: link is not ready
[ 43.892000] IPv6: ADDRCONF(NETDEV_UP): lct0: link is not ready
[ 44.184000] IPv6: ADDRCONF(NETDEV_UP): lct0: link is not ready
[ 56.956000] IPv6: ADDRCONF(NETDEV_UP): host: link is not ready
[ 57.012000] Reset igmp snooping.
[ 58.316000] item not exist, please check your input LOID
[ 58.316000] item not exist, please check your input LOID
[ 58.316000] item not exist, please check your input LOID
[ 58.388000] item not exist, please check your input LOID
[ 58.388000] item not exist, please check your input LOID
[ 58.388000] item not exist, please check your input LOID
[ 59.780000] get OperatorID=XXXX and start long time light status
[ 59.784000] [onu] ploam_fsm: event not handled - 60 in state 0
[ 59.796000] [onu] PLOAM Rx - message lost
[ 59.796000] [onu] PLOAM loss detected, but not in O5
[ 65.440000] IPv6: ADDRCONF(NETDEV_CHANGE): host: link becomes ready
[ 66.160000] Reset igmp snooping.
[ 67.336000] IPv6: ADDRCONF(NETDEV_CHANGE): lct0: link becomes ready
[ 72.296000] igmpdb oltIgmpCleanAll[0] == 1
[ 77.296000] igmpdb oltIgmpCleanAll[0] == 1
[ 264.444000] Reset igmp snooping.
[ 265.580000] igmpdb oltIgmpCleanAll[0] == 1
[ 269.580000] igmpdb oltIgmpCleanAll[0] == 1
[ 273.580000] igmpdb oltIgmpCleanAll[0] == 1
[ 379.016000] Reset igmp snooping.
[ 379.580000] igmpdb oltIgmpCleanAll[0] == 1
[ 384.580000] igmpdb oltIgmpCleanAll[0] == 1
[ 387.580000] igmpdb oltIgmpCleanAll[0] == 1
[ 493.076000] Reset igmp snooping.
[ 493.584000] igmpdb oltIgmpCleanAll[0] == 1
[ 498.584000] igmpdb oltIgmpCleanAll[0] == 1
[ 501.584000] igmpdb oltIgmpCleanAll[0] == 1
[ 611.280000] IPv6: ADDRCONF(NETDEV_UP): host.0: link is not ready
[ 618.180000] Reset igmp snooping.
[ 618.856000] igmpdb oltIgmpCleanAll[0] == 1
[ 623.896000] igmpdb oltIgmpCleanAll[0] == 1
[ 626.920000] igmpdb oltIgmpCleanAll[0] == 1
[ 1009.356000] Reset igmp snooping.
[ 1009.960000] igmpdb oltIgmpCleanAll[0] == 1
[ 1015.000000] igmpdb oltIgmpCleanAll[0] == 1
[ 1018.024000] igmpdb oltIgmpCleanAll[0] == 1
[ 1123.416000] Reset igmp snooping.
[ 1123.864000] igmpdb oltIgmpCleanAll[0] == 1
[ 1128.904000] igmpdb oltIgmpCleanAll[0] == 1
[ 1131.928000] igmpdb oltIgmpCleanAll[0] == 1
[ 1237.208000] Reset igmp snooping.
[ 1237.768000] igmpdb oltIgmpCleanAll[0] == 1
[ 1242.808000] igmpdb oltIgmpCleanAll[0] == 1
[ 1245.832000] igmpdb oltIgmpCleanAll[0] == 1
[ 1362.200000] Reset igmp snooping.
[ 1362.760000] igmpdb oltIgmpCleanAll[0] == 1
[ 1367.800000] igmpdb oltIgmpCleanAll[0] == 1