How to enable WoL on a LAGG?

Status
Not open for further replies.

Atomic

Contributor
Joined
Oct 20, 2012
Messages
160
Hi Forum,

I am trying to enable WoL on my FreeNAS which is connected to the network by a link aggregation group.


[root@freenas] ~# ifconfig
em0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 9000
options=42098<VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,VLAN_HWTSO>
ether 70:54:d2:45:e0:88
nd6 options=9<PERFORMNUD,IFDISABLED>
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
em1: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 9000
options=42098<VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,VLAN_HWTSO>
ether 70:54:d2:45:e0:88
nd6 options=9<PERFORMNUD,IFDISABLED>
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
ipfw0: flags=8801<UP,SIMPLEX,MULTICAST> metric 0 mtu 65536
nd6 options=9<PERFORMNUD,IFDISABLED>
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x6
inet 127.0.0.1 netmask 0xff000000
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
lagg0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 9000
options=42098<VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,VLAN_HWTSO>
ether 70:54:d2:45:e0:88
inet 192.168.11.10 netmask 0xffffff00 broadcast 192.168.11.255
nd6 options=9<PERFORMNUD,IFDISABLED>
media: Ethernet autoselect
status: active
laggproto lacp lagghash l2,l3,l4
laggport: em1 flags=1c<ACTIVE,COLLECTING,DISTRIBUTING>
laggport: em0 flags=1c<ACTIVE,COLLECTING,DISTRIBUTING>
bridge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 9000
ether 02:4e:36:d3:68:00
nd6 options=1<PERFORMNUD>
id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15
maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200
root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0
member: epair1a flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
ifmaxaddr 0 port 10 priority 128 path cost 2000
member: epair0a flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
ifmaxaddr 0 port 9 priority 128 path cost 2000
member: lagg0 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
ifmaxaddr 0 port 7 priority 128 path cost 20000
epair0a: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 9000
options=8<VLAN_MTU>
ether 02:36:d7:00:09:0a
nd6 options=1<PERFORMNUD>
media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)
status: active
epair1a: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 9000
options=8<VLAN_MTU>
ether 02:19:ec:00:0a:0a
nd6 options=1<PERFORMNUD>
media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)
status: active
[root@freenas] ~#


Thanks for any help.
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
Does it work without lagg? And I don't think lagg should affect anything.
 

Atomic

Contributor
Joined
Oct 20, 2012
Messages
160
Hi,

it worked once but that's long ago. The problem is, that FreeNAS only supports WoL on interface re0 und I don't have an interface re0, just lagg0.


[root@freenas] ~# ifconfig re0 wol wol_ucast wol_mcast wol_magic
ifconfig: interface re0 does not exist
 

jgreco

Resident Grinch
Joined
May 29, 2011
Messages
18,680
Hi,

it worked once but that's long ago. The problem is, that FreeNAS only supports WoL on interface re0 und I don't have an interface re0, just lagg0.

Weird claim to make, has no basis in reality that I'm aware of.

FreeNAS may allow WoL on any hardware that's capable of supporting it, but WoL is a finicky beast.

For WoL, you need an ethernet device that supports it (your S1200KP appears to have two em interfaces, and the first one at least probably does support it). Try sending the magic packet to the ethernet address on em0. If that doesn't work, look through the BIOS for settings that might be interfering ("Wake on LAN", "Wake on PME", etc) and try again. If that doesn't work, you're probably out of luck. I expect it'll just magically wake up if you hit that em0 address though.

Adding a Realtek ethernet interface won't help; the reason WoL "works" on an "re0" interface is if you've got a Realtek on the motherboard, and the motherboard manufacturer has set up WoL support, then the necessary extras to make this all magically wake up the PC have been handled by the manufacturer. It used to be that WoL with an add-on card was supported via a three pin hardware header, but that became obsolete and then manufacturers used PME for that, and then with the advent of built-on ethernets on motherboards, most consumer boards don't even seem to work with that. I've seen it work on server boards though.
 

Atomic

Contributor
Joined
Oct 20, 2012
Messages
160
Hi,

the Intel S1200kp board supports WoL and it's enabled in the BIOS (Wake on LAN from S4/S5 -> Power On - Normal Boot). WoL worked until some update in the past, when they had general problems with the WoL function. But I just set my FreeNAS completely new up (version 9.3).

I use the OS X application iNet for the Wake on LAN feature, in the future I want to boot the FreeNAS automatically when I switch on the Mac.
 

Attachments

  • iNet_WoL_setup.png
    iNet_WoL_setup.png
    383.7 KB · Views: 340
J

jkh

Guest
WoL is not an officially supported feature of FreeNAS. If it works, that is just a magical optional extra that may also stop working again at any time. :)
 

Atomic

Contributor
Joined
Oct 20, 2012
Messages
160
What a shame. :(
 
Status
Not open for further replies.
Top