Changeset 13617 in genesis for tools


Ignore:
Timestamp:
Aug 25, 2016, 11:11:45 PM (8 years ago)
Author:
rick
Message:

Fix for vlan(4) and bridge(4) interfaces causing ARP issues.

In a setup with VLAN 103 and 104 on interface re0, we see ARP requests being
duplicated, (unexpected behaviour?).

When interfaces are marked private requests are no duplicated and hence
transmitted back to the correct interface. Since autobridge does not support
parameters, revert back to the more powerfull create_args way.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/gformat.py

    r13606 r13617  
    938938    if iface == 'bridge0':
    939939      output += "cloned_interfaces='bridge0'\n"
    940       output += "autobridge_interfaces='bridge0'\n"
    941       output += "autobridge_bridge0='%s'\n" % ' '.join(datadump['autogen_dhcp_interfaces'])
     940      output += "create_args_bridge0='%s'\n" % ' '.join(['addm %s private %s' % (x, x) for x in datadump['autogen_dhcp_interfaces']])
    942941      output += "ifconfig_bridge0='%s up'\n" % addrs[0][0]
    943942    else:
Note: See TracChangeset for help on using the changeset viewer.