Skip to main content
Question

Multiple network interfaces on NetSUS-Server

  • November 23, 2015
  • 1 reply
  • 2 views

Forum|alt.badge.img+3

Hi,
I was wondering how NetSuS-Server is handling multiple network-interfaces.
In my case eth1 on an Ubuntu-System is the main Interface, three interfaces at all. The adminHelper-Script is destroying my /etc/networks interface file by overwriting it with a not working configuration. I tried to avoid configuration changes by piping it to not used configuration files like /etc/networks/interfaces.netsus
but at "Network-settingsWeb-GUI" the multiple ip-adresses are still visible, divided by spaces.

What do I need to do, to work Netsus-Serer with multiple Network-interfaces properly?

Andreas

1 reply

Forum|alt.badge.img+6
  • Contributor
  • August 9, 2016

I have multiple eth interfaces as well, and modified line 48 on adminHelper.sh to just look at the first line ( | head -1). You can tailor this to whichever line you need.

getip) echo `ip addr show to 0.0.0.0/0 scope global | awk '/[[:space:]]inet / { print gensub("/.*","","g",$2) }' | head -1`;;