Thursday, September 19, 2024

Re: enc0 without MULTICAST flag

I'm running 7.5, I see this alert:

# ifconfig sec0 create
# ifconfig sec0 tunnel 169.254.229.42/30 169.254.229.41
ifconfig: error in parsing address string: non-recoverable failure in name resolution

I can't configure sec0

Il giorno gio 19 set 2024 alle ore 21:32 Luca Di Gregorio <lucdig@gmail.com> ha scritto:
Thanks a lot,

I'll try it tomorrow. Unfortunately I won't attend EuroBSDCon,
anyway, thanks a lot for the invite.

Il giorno gio 19 set 2024 alle ore 21:23 Jason Tubnor <jason@tubnor.net> ha scritto:
Use sec(4) for this. Don't use enc for anything except inspection. If you are at EuroBSDCon this weekend, come to my talk as I'll be diving into this exact subject.

Cheers,

Jason. 

Sent from my iPhone

On 19 Sep 2024, at 7:16 PM, Luca Di Gregorio <lucdig@gmail.com> wrote:


I configured a site-to-site vpn with ike2,
it works for unicast traffic.

I need to enable ospf on the 2 hosts via enc0, but
ifconfig enc0 shows:

enc0: flags=41<UP,RUNNING>
        index 2 priority 0 llprio 3
        groups: enc
        status: active
        inet .......

So, ospfd shows, in /var/log/daemon:

  ospfd[53563]: if_join_group: error IP_ADD_MEMBERSHIP, interface enc0 address 224.0.0.5: Can't assign requested address

How can I set the flag MULTICAST on enc0?
man ifconfig doesn't say how to to it.

No comments:

Post a Comment