Skip to content

can't add mroute via smcroutectl add #193

@UrusovVladimir

Description

@UrusovVladimir

Hi there! I need any help.
I use 2 routers with Entware project. I installed package smcroute, but I can't force it work.
scheme:
DLNA server(connect to R1 by wired)->br0(eth2.1 and AccessPoint0)->R1->nwg0(wireguard interface)<------->nwg0(wireguard interface)->R2->br0->host connect on wifi(dlna client)

config R1:

phyint br0 enable
phyint nwg0 enable
mgroup from br0 group 239.255.255.250
mgroup from nwg0 group 239.255.255.250
mroute from br0 group 239.255.255.250 to nwg0
mroute from nwg0 group 239.255.255.250 to br0

config R2:

phyint br0 enable
phyint nwg0 enable
mgroup from br0 group 239.255.255.250
mgroup from nwg0 group 239.255.255.250
mroute from br0 group 239.255.255.250 to nwg0
mroute from nwg0 group 239.255.255.250 to br0

smcroute enable, i see in ps:
/ # ps | grep smc
1420 root 2548 S smcrouted

But if i use command smcroutectl show,I can't see anything.
As well as:
/ # smcroutectl show routes
/ #
Command smcroutectl show groups:

/ # smcroutectl show groups

Group Memberships Table
GROUP (S,G)                                IIF
(*, 239.255.255.250)                       br0
(*, 239.255.255.250)                       nwg0

When i start app for dlna by my phone, this scheme doesn't work( I see ssdp a packet on interface br0 R1, from my phone, but i can't see forwards between br0 to nwg0 ssdp of the packet

If I try use command smcroutectl add, I see this error:
/ # smcroutectl add nwg0 239.255.255.250 br0
smcroutectl: ipc: mroute: inbound nwg0 is not a known phyint

Where am I wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions