I'm trying to setup mpd5 with EoIP, i'm using ng_mikrotik_eoip module on FreeBSD and an interface ngeth0 is created. But when i start mpd5 i got the following error:
Dec 6 17:30:56 PPPoE-SERVERU mpd: [ngeth0] Unexpected node type eiface'' (wantedether'') on ngeth0:
Dec 6 17:30:56 PPPoE-SERVERU mpd: [ngeth0] PPPoE: Error creating ng_pppoe node on ngeth0:
Isn't it supported?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I know nothing about ng_mikrotik_eoip module. PPPoE code in mpd needs ethernet node to havd orphans hook it could attach to handle PPPoE traffic. If ng_mikrotik_eoip node has it too, then it may be a question of only adding respective node name into mpd. Otherwise it may be difficult.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
ng_mikrotik_eoip module has nothing to do with mpd5, it decapsulates custom GRE-tunneled IP packets and passes them to standard ng_eiface(4) ethernet-like interface in case of shown example, so Ethernet frames seem to "come from" ngeth0. Unfortunately, ng_eiface(4) does not emulate ng_ether(4) good enough to be usable for mpd5 currently.
Please describe the problem you are trying to solve. Perhaps, there is another way.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I'm trying to setup mpd5 with EoIP, i'm using ng_mikrotik_eoip module on FreeBSD and an interface ngeth0 is created. But when i start mpd5 i got the following error:
Dec 6 17:30:56 PPPoE-SERVERU mpd: [ngeth0] Unexpected node type
eiface'' (wanted
ether'') on ngeth0:Dec 6 17:30:56 PPPoE-SERVERU mpd: [ngeth0] PPPoE: Error creating ng_pppoe node on ngeth0:
Isn't it supported?
I know nothing about ng_mikrotik_eoip module. PPPoE code in mpd needs ethernet node to havd orphans hook it could attach to handle PPPoE traffic. If ng_mikrotik_eoip node has it too, then it may be a question of only adding respective node name into mpd. Otherwise it may be difficult.
How can i find out if there is a node to?
I'm using the following commands to create the interface:
ngctl mkpeer eiface t ether
ngctl rmhook t
ngctl mkpeer ngeth0: mikrotik_eoip ether 204
ngctl mkpeer ngeth0:ether ksocket out inet/raw/gre
ngctl msg ngeth0:ether.out connect inet/10.255.83.4
ifconfig ngeth0 up
ifconfig ngeth0 ether 00:1e:67:78:56:f8
ng_mikrotik_eoip module has nothing to do with mpd5, it decapsulates custom GRE-tunneled IP packets and passes them to standard ng_eiface(4) ethernet-like interface in case of shown example, so Ethernet frames seem to "come from" ngeth0. Unfortunately, ng_eiface(4) does not emulate ng_ether(4) good enough to be usable for mpd5 currently.
Please describe the problem you are trying to solve. Perhaps, there is another way.
Hi Eugene,
Thank you for your help (as always :)).
I made a decision to use bridge interface with eoip + mpd5 then worked as i expected.
Thanks.