Hello OpenBSD team & developers,

first of all, thank you for release 7.4.

I am using the umb(4) interface for a temporary ad-hoc router
with a SIM card from Mobile Vikings in Belgium.

It works well with pppd(8) / chat(8) and every 24 hours, after
the mobile provider changes the IP addr, it gets a new IPv4 addr.

(BIG thank you, for make it happen, that the umb(4) devices are
also accessible with umsm(4)/ucom(4).umb0: 
flags=808851<UP,POINTOPOINT,RUNNING,SIMPLEX,MULTICAST,AUTOCONF4> mtu 1500
        index 10 priority 6 llprio 3
        roaming enabled registration home network
        state up cell-class LTE rssi -101dBm speed 572Mbps up 572Mbps down
        SIM initialized PIN valid (3 attempts left)
        subscriber-id 206010000000000 ICC-id 89323000000000000000
        device EM12-G IMEI 869710000000000 firmware EM12GPAR01A21M4G
        APN INTERNET.PROXIMUS.BE provider Mobile Vikings provider-id 20601
        dns 80.201.237.238 80.201.237.239
        groups: egress
        status: active
        inet 100.92.87.146 --> 100.92.87.145 netmask 0xfffffffc
        inet 100.85.225.238 --> 100.85.225.237 netmask 0xfffffffc


To the problem:

Once the provider changes the IP addr every night at around 0:00h,
I get a second IP addr on umb0, what confuses routing.

The workaround here is only
ifconfig umb0 down
sh -x /etc/netstart umb0
rcctl restart unbound

The system is a fresh installed OpenBSD 7.4 with recent firmware.

How can this be solved?

Best regards,
Stefan Kapfhammer

Reply via email to