OPNsense Forum

English Forums => General Discussion => Topic started by: wimopn on February 25, 2019, 02:05:46 pm

Title: cold reboot : network inactive
Post by: wimopn on February 25, 2019, 02:05:46 pm
Hi,

apu2c4 , Opnsense 19.1.1, fresh install (I had same problem with previous version):

After a cold reboot (power cycle) the Lan interfaces do become active (they have the correct ip adres when i logon to the console with a serial cable) but al my devices get strange ip adresses. After a console logon with the serial cable i do a ifconfig igbx down, then ifconfig igbx up) and everything starts to work...

My lan interfaces have static adresses.

=> Is this a know problem ?

Best regards,

Wim
Title: Re: cold reboot : network inactive
Post by: newsense on February 26, 2019, 04:29:58 am
Define 'strange' please.

Also, is there any other DHCP server on the network ?
Title: Re: cold reboot : network inactive
Post by: wimopn on March 11, 2019, 02:28:47 pm
Hi,

Sorry for the late answer:
1) the laptop says : self assigned adres 169.254.11.30
2) Every computer on the lan tells me : no internet connection
3) i log on with the serial cable to the opnsense box
4) disconnecting the ethernet cables and reconnecting to the APU2c4 does not reactivate things
5) there is no other dhcp active on the lan

I do the following sequence, some remarks:
1) some arp things to show that after the down en up sequence everything starts to work...
2) i don't see any difference between the first and second ifconfig igb2
3) i changed the mac adresses to xxxx and yyy(a little bit paranoid)
4) igb0 is my wan port

Code: [Select]
# connect to the serial port with screen -L /dev/cu.usbserial 115200 –L

# arp -a
? (192.168.0.233) at xxxxxx:e8:10 on igb0 permanent [ethernet]
? (192.168.0.1) at yyyyyy:37:12 on igb0 expires in 1185 seconds [ethernet]

root@blue1:~ # ifconfig igb2
igb2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=1400b8<VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,VLAN_HWTSO,NETMAP>
        ether xxxxxx:e8:12
        hwaddr 00:0d:b9:4d:e8:12
        inet 192.168.2.1 netmask 0xffffff00 broadcast 192.168.2.255
        inet6 xxxxxxx:812%igb2 prefixlen 64 scopeid 0x3
        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
        media: Ethernet autoselect (1000baseT <full-duplex>)
        status: active

root@blue1:~ # ifconfig igb2 down
root@blue1:~ # ifconfig igb2 up

root@blue1:~ # ifconfig igb2
igb2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=1400b8<VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,VLAN_HWTSO,NETMAP>
        ether xxxxxx:e8:12
        hwaddr xxxxxx:e8:12
        inet 192.168.2.1 netmask 0xffffff00 broadcast 192.168.2.255
        inet6 xxxxxx:e812%igb2 prefixlen 64 scopeid 0x3
        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
        media: Ethernet autoselect (1000baseT <full-duplex>)
        status: active

root@blue1:~ # arp -a
Sw.home (192.168.2.10) at xxxxxx:83:c7:2d on igb2 expires in 1193 seconds [ethernet]
AP.home (192.168.2.11) at zzzzzz:17:a7 on igb2 expires in 1195 seconds [ethernet]
blue1.home (192.168.2.1) at xxxxxx:e8:12 on igb2 permanent [ethernet]
blue1.home (192.168.3.1) at xxxxxx:e8:11 on igb1 permanent [ethernet]
? (192.168.0.233) at xxxxxx:e8:10 on igb0 permanent [ethernet]
? (192.168.0.1) at xxxxxx37:12 on igb0 expires in 1178 seconds [ethernet]