Multiple network interfaces on NetSUS-Server

aharsdor
New Contributor II

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.
acf770e900564b748a60f769ccd4e22d
What do I need to do, to work Netsus-Serer with multiple Network-interfaces properly?

Andreas

1 REPLY 1

andykang
New Contributor

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`;;