31
15.1 Legacy Series / [SOLVED] VLAN not working after upgrade
« on: May 06, 2015, 11:50:09 am »
Hi guys,
I just upgraded today to the latest version (15.1.10). Everything went smoothly, but I then noticed that two interfaces I am using were down:
WAN interface (wan, em3): up
LAN interface (lan, em1): up
DMZ interface (opt1, em2_vlan10): down
WLAN_GUESTS interface (opt2, em2_vlan20): down
Now interestingly, if I run ifconfig on the shell I cannot find "em2_vlan10" or "em2_vlan20", but instead a few interfaces starting with "vlan" like "vlan0","vlan1" etc.
The log says:
---
May 6 11:34:25 opnsense: /usr/local/etc/rc.bootup: The command '/usr/sbin/arp -d -i 'em2_vlan20' -a > /dev/null 2>&1' returned exit code '1', the output was ''
May 6 11:34:25 opnsense: /usr/local/etc/rc.bootup: The command '/sbin/ifconfig 'em2_vlan20' -staticarp' returned exit code '1', the output was 'ifconfig: interface em2_vlan20 does not exist'
May 6 11:34:25 opnsense: /usr/local/etc/rc.bootup: The command '/usr/sbin/arp -d -i 'em2_vlan10' -a > /dev/null 2>&1' returned exit code '1', the output was ''
May 6 11:34:25 opnsense: /usr/local/etc/rc.bootup: The command '/sbin/ifconfig 'em2_vlan10' -staticarp' returned exit code '1', the output was 'ifconfig: interface em2_vlan10 does not exist'
---
Now I don't know what I could try, it looks to me that either VLAN is not working on the interface, or somehow the name is not configured correctly. Any ideas?
The interface em2 seems, btw, connected and VLAN-capable:
---
em2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=5219b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MAGIC,VLAN_HWFILTER,VLAN_HWTSO>
ether 68:05:ca:1f:83:68
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
---
Thanks
Lukas
I just upgraded today to the latest version (15.1.10). Everything went smoothly, but I then noticed that two interfaces I am using were down:
WAN interface (wan, em3): up
LAN interface (lan, em1): up
DMZ interface (opt1, em2_vlan10): down
WLAN_GUESTS interface (opt2, em2_vlan20): down
Now interestingly, if I run ifconfig on the shell I cannot find "em2_vlan10" or "em2_vlan20", but instead a few interfaces starting with "vlan" like "vlan0","vlan1" etc.
The log says:
---
May 6 11:34:25 opnsense: /usr/local/etc/rc.bootup: The command '/usr/sbin/arp -d -i 'em2_vlan20' -a > /dev/null 2>&1' returned exit code '1', the output was ''
May 6 11:34:25 opnsense: /usr/local/etc/rc.bootup: The command '/sbin/ifconfig 'em2_vlan20' -staticarp' returned exit code '1', the output was 'ifconfig: interface em2_vlan20 does not exist'
May 6 11:34:25 opnsense: /usr/local/etc/rc.bootup: The command '/usr/sbin/arp -d -i 'em2_vlan10' -a > /dev/null 2>&1' returned exit code '1', the output was ''
May 6 11:34:25 opnsense: /usr/local/etc/rc.bootup: The command '/sbin/ifconfig 'em2_vlan10' -staticarp' returned exit code '1', the output was 'ifconfig: interface em2_vlan10 does not exist'
---
Now I don't know what I could try, it looks to me that either VLAN is not working on the interface, or somehow the name is not configured correctly. Any ideas?
The interface em2 seems, btw, connected and VLAN-capable:
---
em2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=5219b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MAGIC,VLAN_HWFILTER,VLAN_HWTSO>
ether 68:05:ca:1f:83:68
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
---
Thanks
Lukas