Problem binding SSH interface on LAGG interface

Status
Not open for further replies.

proto

Patron
Joined
Sep 28, 2015
Messages
269
Hi all,

I have an issue binding an interface to SSH. Whenever I try to assign a LAGG IF to SSH service via web console I get this error:

“Value u'lagg41' is not a valid choice.”

Build is:
FreeNAS-9.10-STABLE-201606072003 (696eba7)
On Supermicro, six intel NICs (see signature for other details)

On FreeNAS server LAGG41 (Admin100) was created via shell menu and it’s assigned to VLAN100, so no tag is needed as far as I remember.
VLAN10 is assigned to Admin10 on FreeNAS and I assigned SSH and HTTPS management services. This is a tagged vlan.

I can successfully bind other services to LAGG41, ie: http(s), nfs.

Code:
# sqlite3 /root/dbcopy.db

sqlite> select id,ssh_bindiface from services_ssh;
id|ssh_bindiface
1|vlan10

sqlite> select int_ipv4address,int_name,int_interface from network_interfaces;
int_ipv4address|int_name|int_interface
10.10.40.1|NFS40|lagg0
10.10.50.1|Storage50|vlan50
10.10.100.110|Admin100|lagg41
10.10.10.110|Admin10|vlan10

sqlite> select * from network_lagginterface;
id|lagg_interface_id|lagg_protocol
1|2|loadbalance
2|5|loadbalance

sqlite> select * from network_lagginterfacemembers;
id|lagg_interfacegroup_id|lagg_ordernum|lagg_physnic|lagg_deviceoptions
1|1|0|igb2|up
2|1|1|igb3|up
3|1|2|igb4|up
4|1|3|igb5|up
5|2|0|igb0|up
6|2|1|igb1|up

sqlite> select * from network_vlan;
vlan_pint|vlan_description|vlan_vint|id|vlan_tag
lagg0|NFS40|vlan40|1|40
lagg0|Storage50|vlan50|2|50
lagg41|Admin10|vlan10|3|10


Then I executed these queries I found in /usr/local/www/freenasUI/choices.py:

Code:
sqlite> SELECT lagg_physnic FROM network_lagginterfacemembers;
igb0
igb1
igb2
igb3
igb4
igb5

sqlite> SELECT vlan_pint FROM network_vlan;
lagg0
lagg0
lagg41


sqlite> SELECT vlan_pint FROM network_vlan INNER JOIN network_interfaces ON network_vlan.vlan_pint=network_interfaces.int_interface WHERE network_interfaces.int_interface IS NOT NULL AND ((network_interfaces.int_ipv4address != '' AND network_interfaces.int_ipv4address IS NOT NULL) OR network_interfaces.int_dhcp = 1);
lagg0
lagg0
lagg41


# Networking is ok, I hope:

Code:
# ifconfig lagg41

lagg41: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=403bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,VLAN_HWTSO>
    ether 0c:c4:7a:32:ce:a6
    inet 10.10.100.110 netmask 0xffffff00 broadcast 10.10.100.255 
    nd6 options=9<PERFORMNUD,IFDISABLED>
    media: Ethernet autoselect
    status: active
    laggproto loadbalance lagghash l2,l3,l4
    laggport: igb0 flags=4<ACTIVE>
    laggport: igb1 flags=4<ACTIVE>



Finally this is my HP v1910 configuration:

BAGG1 (LAGG0 on FreeNAS used for storage services)

Code:
port link-type trunk
interface Bridge-Aggregation1
undo port trunk permit vlan 1
port trunk permit vlan 40 50
port trunk pvid vlan 40


BAGG2 (LAGG41 on FreeNAS / tagged vlan10 (Admin10) and untagged vlan100 Admin100)

Code:
interface Bridge-Aggregation2
port link-type trunk
undo port trunk permit vlan 1
port trunk permit vlan 10 100
port trunk pvid vlan 100


Why I can't get my lagg41 working?

Thanks!
 

proto

Patron
Joined
Sep 28, 2015
Messages
269
Thanks! I'll wait for the fix (FIX-15885). I saw devs changed notifier.py class on github and I hope it benefits my system too.
Maybe my issue is related to this bug (https://bugs.freenas.org/issues/14948) too.
 
Status
Not open for further replies.
Top