[SOLVED] ip-address not set after upgrading to 22.7.9

Started by topasio, December 11, 2022, 10:41:12 AM

Previous topic - Next topic
Hello everybody,

I noticed a strange behavior when upgrading from 22.7.2 to 22.7.9.

Before the update, my interfaces are looking like that:

P101_LAN (igb1) -> v4: 192.168.101.1/24
P100_MGMT (igb0) -> v4: 192.168.100.1/24
P102_DMZ (igb2_vlan102) -> v4: 192.168.102.1/24
P103_SERVER (igb2_vlan103) -> v4: 192.168.103.1/24
VLAN_PARENT_REQUIRED (igb2) ->

You can see, that there is a ip set on every interface but not on igb2, cause that is only used for vlans and I needed to set a blank interface in order to get vlan running after upgrading from version 21 to 22.

After the latest update from 22.7.2 to 22.7.9, I am in trouble. I am forced to setup ip-addresses manually after every reboot cause OPNsense is not able to set the ip for igb1 and igb0 anymore:

P101_LAN (igb1) ->
P100_MGMT (igb0) ->
P102_DMZ (igb2_vlan102) -> v4: 192.168.102.1/24
P103_SERVER (igb2_vlan103) -> v4: 192.168.103.1/24
VLAN_PARENT_REQUIRED (igb2) ->

In the assignment menu I can see on both versions the same output:

igb0             xxxxxxx (I do not want to post my mac adresses here ...)
igb1             xxxxxxx
igb2             xxxxxxx
igb2_vlan102      00:00:00:00:00:00 VLAN tag 102, parent interface igb2
igb2_vlan103     00:00:00:00:00:00 VLAN tag 103, parent interface igb2

What I already tried:
- I checked the config.xml manually for stale interfaces - but looks good
- Removed a old openvpn configuration that was not longer in use
- Because OPNsense is running in a VM (proxmox), I am using virtio (paravirtualized). I changed for testing purpose to e1000 and vmxnet3 but that makes no difference.

Did you experience any similar behavior in virtual OPNsense installations and did you find a fix for that?

Cheers
Topasio

UPDATE

Because I got no reply and it seems I am the only one who is experiencing this issue ... it must be me ...

And it was me ...

I created a rc script in 2019 because I virtualized the fw and had issues with the interface name and some features (HA etc.).


ifconfig vtnet0 name igb0


It didn't make any trouble until now. I don't know what changes with 22.7 BUT after removing my rc script - it worked!

Just if somebody is expieriencing the same issue someday and for me as reminder: Do not customize outside of webinterface ...