basmeerman / unifi-usg-kpn

Unifi USG Configuration for use with KPN
164 stars 37 forks source link

eth2 port disabled on USG 3P #36

Closed ptijsma closed 3 years ago

ptijsma commented 3 years ago

Hi,

I've successfully implemented your perfect guide setup, but now tried adding the VOIP part from: https://www.byluke.nl/tutorial/ubiquiti-usg-werkend-krijgen-kpn-glasvezel/

Problem is that when downloading the deviceinfo, eth2 shows as disabled (also in the controller). Is there a way to enable eth2 by default from the config.gateway.json? (That you know of, or should i try asking Ubiquiti)

My config.gateway.json (relevant sections):

    "interfaces": {
        "bridge": {
            "br0": {
                "aging": "300",
                "bridged-conntrack": "disable",
                "hello-time": "2",
                "max-age": "20",
                "priority": "32768",
                "promiscuous": "disable",
                "stp": "false"
            }
        },
        "ethernet": {
            "eth0": {
                "description": "eth0 - FTTH",
                "duplex": "auto",
                "speed": "auto",
                "vif": {
                    "4": {
                        "address": [
.
.
                    },
                    "7": {
                        "bridge-group": {
                            "bridge": "br0"
                        },
                        "description": "eth0.7 - VOIP",
                        "mtu": "1500"
                    }
.
.
            "eth2": {
                "description": "eth2 - ExperiaBox",
                "duplex": "auto",
                "speed": "auto",
                "vif": {
                    "7": {
                        "bridge-group": {
                            "bridge": "br0"
                        },
                        "description": "eth2.7 - ExperiaBox VOIP",
                        "mtu": "1500"
                    }
                }
            }
        },
        "loopback": {
            "lo": "''"
        }

And this is what I get back from the Device info:

                "eth2": {
                    "disable": "''",
                    "description": "eth2 - ExperiaBox",
                    "duplex": "auto",
                    "speed": "auto",
                    "vif": {
                        "7": {
                            "bridge-group": {
                                "bridge": "br0"
                            },
                            "description": "eth2.7 - ExperiaBox VOIP",
                            "mtu": "1500"
                        }
                    }
                }

Thanks a million!

ptijsma commented 3 years ago

Issue can be closed. I've now opted for a Grandstream HT801 ATA box. Therefore the entire vlan7 bridge can be removed. Thanks