{"action":"created","issue":{"url":"https://api.github.com/repos/ntop/ntopng/issues/1898","repository_url":"https://api.github.com/repos/ntop/ntopng","labels_url":"https://api.github.com/repos/ntop/ntopng/issues/1898/labels{/name}","comments_url":"https://api.github.com/repos/ntop/ntopng/issues/1898/comments","events_url":"https://api.github.com/repos/ntop/ntopng/issues/1898/events","html_url":"https://github.com/ntop/ntopng/issues/1898","id":347179956,"node_id":"MDU6SXNzdWUzNDcxNzk5NTY=","number":1898,"title":"value trunking ntopng edge","user":{"login":"tomoxwell","id":17475445,"node_id":"MDQ6VXNlcjE3NDc1NDQ1","avatar_url":"https://avatars2.githubusercontent.com/u/17475445?v=4","gravatar_id":"","url":"https://api.github.com/users/tomoxwell","html_url":"https://github.com/tomoxwell","followers_url":"https://api.github.com/users/tomoxwell/followers","following_url":"https://api.github.com/users/tomoxwell/following{/other_user}","gists_url":"https://api.github.com/users/tomoxwell/gists{/gist_id}","starred_url":"https://api.github.com/users/tomoxwell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomoxwell/subscriptions","organizations_url":"https://api.github.com/users/tomoxwell/orgs","repos_url":"https://api.github.com/users/tomoxwell/repos","events_url":"https://api.github.com/users/tomoxwell/events{/privacy}","received_events_url":"https://api.github.com/users/tomoxwell/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":57,"created_at":"2018-08-02T21:24:16Z","updated_at":"2018-08-07T15:30:46Z","closed_at":null,"author_association":"NONE","body":"I am trying to implement vlan trunking for the upgraded ntopng edge.  I have two ports eno3 for Wan and eno 2 for Lan but all of them are trunk ports. I have also configured a management interface on eno1.\r\nMy ntopng.conf is as follows:\r\n\r\n```\r\n#         The  configuration  file is similar to the command line, with the exception that an equal\r\n#        sign '=' must be used between key and value. Example:  -i=p1p2  or  --interface=p1p2  For\r\n#        options with no value (e.g. -v) the equal is also necessary. Example: \"-v=\" must be used.\r\n#\r\n#\r\n#       -G|--pid-path\r\n#        Specifies the path where the PID (process ID) is saved. This option is ignored when\r\n#        ntopng is controlled with systemd (e.g., service ntopng start).\r\n#\r\n-G=/var/run/ntopng.pid\r\n#\r\n#       -e|--daemon\r\n#        This  parameter  causes ntop to become a daemon, i.e. a task which runs in the background\r\n#        without connection to a specific terminal. To use ntop other than as a casual  monitoring\r\n#        tool, you probably will want to use this option. This option is ignored when ntopng is\r\n#        controlled with systemd (e.g., service ntopng start)\r\n#\r\n# -e=\r\n#\r\n#       -i|--interface\r\n#        Specifies the NETFILTER queue used by ntopng. The format is nf:<queue_id> (e.g., nf:0).\r\n#\r\n -i=nf:0\r\n\r\n# -i=bridge:eno2,eno3\r\n\r\n# -i=eno1\r\n#  -i=eno2\r\n#  -i=eno3\r\n\r\n#\r\n#       -w|--http-port\r\n#        Sets the HTTP port of the embedded web server. To be able to use ntopng internal captive\r\n#        portal, two ports must be specified, the first one being the port of the captive portal\r\n#        users (typically port 80) and the second one being the port of the ntopng embedded web\r\n#        server.\r\n#\r\n#-w=3000\r\n#-w=80,3000\r\n --http-port=3000\r\n\r\n#       -W|--https-port\r\n#        Sets the HTTPs port of the embedded web server for the captive portal.\r\n#\r\n#-W=443,3001\r\n --https-port=3001\r\n\r\n#\r\n#       -m|--local-networks\r\n#        ntopng determines the ip addresses and netmasks for each active interface. Any traffic on\r\n#        those  networks  is considered local. This parameter allows the user to define additional\r\n#        networks and subnetworks whose traffic is also considered local in  ntopng  reports.  All\r\n#        other hosts are considered remote. If not specified the default is set to 192.168.1.0/24.\r\n#\r\n#        Commas  separate  multiple  network  values.  Both netmask and CIDR notation may be used,\r\n#        even mixed together, for instance \"131.114.21.0/24,10.0.0.0/255.0.0.0\".\r\n#\r\n -m=\"10.0.1.0/24,10.2.0.0/22,10.4.0.0/22,10.0.6.0/24,10.0.7.0/24,10.0.8.0/24\"\r\n\r\n\r\n# -m=10.10.123.0/24\r\n# -m=10.10.124.0/24\r\n#\r\n#       -n|--dns-mode\r\n#        Sets the DNS address resolution mode: 0 - Decode DNS responses  and  resolve  only  local\r\n#        (-m)  numeric  IPs  1  -  Decode DNS responses and resolve all numeric IPs 2 - Decode DNS\r\n#        responses and don't resolve numeric IPs 3 - Don't decode DNS responses and don't  resolve\r\n#\r\n# -n=1\r\n#\r\n#       -S|--sticky-hosts\r\n#        ntopng  periodically purges idle hosts. With this option you can modify this behaviour by\r\n#        telling ntopng not to purge the hosts specified by -S. This parameter requires  an  argu-\r\n#        ment  that  can  be  \"all\"  (Keep  all hosts in memory), \"local\" (Keep only local hosts),\r\n#        \"remote\" (Keep only remote hosts), \"none\" (Flush hosts when idle).\r\n#\r\n# -S=\r\n#\r\n#       -d|--data-dir\r\n#        Specifies the data directory (it must be writable by the user that is executing ntopng).\r\n#\r\n# -d=/var/tmp/ntopng\r\n#\r\n#       -q|--disable-autologout\r\n#        Disable web interface logout for inactivity.\r\n\r\n# -q=\r\n\r\n#--user=\"root\"\r\n\r\n\r\n#\r\n#\r\n```\r\n\r\n\r\nThe network config is as follows:\r\n\r\n```\r\nnedge.conf:\r\nauto eno3\r\niface eno3 inet manual\r\n\r\nauto eno2\r\niface eno2 inet manual\r\n\r\nauto br0\r\niface br0 inet manual\r\n\tbridge_ports eno3 eno2\r\n\tbridge_stp off\r\n\r\nauto br0:2\r\niface br0:2 inet static\r\n\taddress 192.168.160.10\r\n\tnetmask 255.255.255.0\r\nnedge_mgmt.conf:\r\nauto br0.7\r\niface br0.7 inet static\r\n     pre-up /sbin/ip link add link br0 name br0.7 type vlan id 7\r\n     vlan-raw-device br0\r\n     address 10.0.X.X\r\n\r\n\r\n     netmask 255.255.255.0\r\n```\r\n\r\nI get the error on the LAN interface as follows:\r\n\r\nAug 03 00:22:44 sapphire ntopng[4508]: 03/Aug/2018 00:22:44 [PeriodicActivities.cpp:59] Started periodic activities loop...\r\n**Aug 03 00:22:46 sapphire ntopng[4508]: 03/Aug/2018 00:22:44 [startup.lua:14] [nf_config.lua:598] WARNING: Cannot get LAN interface br0 address**\r\nAug 03 00:22:46 sapphire ntopng[4508]: 03/Aug/2018 00:22:46 [PeriodicActivities.cpp:100] Each periodic activity script will use 2 threads\r\nAug 03 00:22:46 sapphire ntopng[4508]: 03/Aug/2018 00:22:46 [NetworkInterface.cpp:2505] Started packet polling on interface nf:0 [id: 2]...\r\n\r\nI don't seem to understand where  I am going wrong."},"comment":{"url":"https://api.github.com/repos/ntop/ntopng/issues/comments/411098638","html_url":"https://github.com/ntop/ntopng/issues/1898#issuecomment-411098638","issue_url":"https://api.github.com/repos/ntop/ntopng/issues/1898","id":411098638,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMTA5ODYzOA==","user":{"login":"tomoxwell","id":17475445,"node_id":"MDQ6VXNlcjE3NDc1NDQ1","avatar_url":"https://avatars2.githubusercontent.com/u/17475445?v=4","gravatar_id":"","url":"https://api.github.com/users/tomoxwell","html_url":"https://github.com/tomoxwell","followers_url":"https://api.github.com/users/tomoxwell/followers","following_url":"https://api.github.com/users/tomoxwell/following{/other_user}","gists_url":"https://api.github.com/users/tomoxwell/gists{/gist_id}","starred_url":"https://api.github.com/users/tomoxwell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomoxwell/subscriptions","organizations_url":"https://api.github.com/users/tomoxwell/orgs","repos_url":"https://api.github.com/users/tomoxwell/repos","events_url":"https://api.github.com/users/tomoxwell/events{/privacy}","received_events_url":"https://api.github.com/users/tomoxwell/received_events","type":"User","site_admin":false},"created_at":"2018-08-07T15:30:46Z","updated_at":"2018-08-07T15:30:46Z","author_association":"NONE","body":"DISTRIB_ID=Ubuntu\r\nDISTRIB_RELEASE=16.04\r\nDISTRIB_CODENAME=xenial\r\nDISTRIB_DESCRIPTION=\"Ubuntu 16.04.5 LTS\"\r\nroot@sapphire:/home/tomo# "}}
{"actor":{"display_login":"tomoxwell"}}