Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
15.1 Legacy Series
»
[SOLVED] VLAN not working after upgrade
« previous
next »
Print
Pages: [
1
]
Author
Topic: [SOLVED] VLAN not working after upgrade (Read 20648 times)
lukepower
Newbie
Posts: 31
Karma: 2
[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
«
Last Edit: May 06, 2015, 02:50:52 pm by franco
»
Logged
franco
Administrator
Hero Member
Posts: 17605
Karma: 1603
Re: VLAN not working after upgrade
«
Reply #1 on:
May 06, 2015, 02:31:28 pm »
Hi Lukas, looks like interfaces are not renamed properly. Does a restart of the box remove this issue? I have replaced a couple of function calls regarding ifconfig handling and this is likely related. I'll take a look.
«
Last Edit: May 06, 2015, 02:47:27 pm by franco
»
Logged
franco
Administrator
Hero Member
Posts: 17605
Karma: 1603
Re: VLAN not working after upgrade
«
Reply #2 on:
May 06, 2015, 02:50:40 pm »
Really horrible typo from my part--I am sorry. 15.1.10.1 will be out later today.
FYI:
https://github.com/opnsense/core/commit/4b197af1eef2020bf12a9cf1cd634287548bbce8
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
15.1 Legacy Series
»
[SOLVED] VLAN not working after upgrade