Become superuser.
On a command line, type the following command.
# ifconfig interface-name group group-name
For example, to add hme0 to the group test, you type the following command:
# ifconfig hme0 group test