Not able to install on OVH VPS


(Artem Fedai) #5

Please recheck network config, that you can grub from OVH self care.


(Sebastian Marius Besel) #6


(Artem Fedai) #7

do not be shy , show all route table :slight_smile:


(Artem Fedai) #8

Have you finished your setup ?


(Sebastian Marius Besel) #9

sorry but i dont know the command i’ m very starter with linux :hatching_chick:


(Artem Fedai) #10

We can shedule teamviewer session, if you want.


(Sebastian Marius Besel) #11

I think it might be a good idea thank


(Sebastian Marius Besel) #12

@nas solves the problem, thank you…


(Artem Fedai) #13

The problem was in nerwotk provisioning as usual, i have changed
db network setprop eth0 bootproto dhcp
and run

signal-event interface update

Install NS7 on Centos 7 on OVH VPS
Install NS7 on Centos 7 on OVH VPS
(Artem Fedai) #14

HI @filippo_carletti @alefattorini @stephdl @giacomo

So we need a dhcp option on network interfaces.
In the case of IP UNNUMBERED, static IP entry does not work, because IP is in /32 subnet and GW in another subnet.


(Artem Fedai) #15

@Sebastian

Please add here :

ip ro
ip addr

Thank you in advance.


(Sebastian Marius Besel) #16


(Giacomo Sanchietti) #17

So you would dhcp option on green interface?


(Artem Fedai) #18

On all interfaces, in code there is bootoption dhcp but on WebUI we have not.

Maybe someone have dhcp in Vlan (provider gave only vlan. )


(Giacomo Sanchietti) #19

Having DHCP on green interfaces doesn’t make sense to me.
NS is a server, and as any server, should have a static IP.
Also the implementation probably has unexpected behaviors and side effects.

I don’t see any reason also on blue and orange interfaces.


(Artem Fedai) #20

But how about system with one interface and it is always green?
Like systems in Cloud or on VPS.
So we need the option to switch to DHCP, even only one Button for switching protocol to DHCP.


(Artem Fedai) #21

Another Way, if @Sebastian confirm i could try to test some tricky thing like adding GATEWAYDEV to interface config in order to route all traffic to eth instead of default IP.
If it will work, we should add new entry GATEWAYDEV in DB and on WEB UI.


(Alessio Fattorini) #22

I’m not sure I understand the request, does OVH force servers to receive IP only in dhcp? So you can’t make the first webui access without this configuration?


(Artem Fedai) #23

Yes, you are completely right after successful installation over CentOS you could not log in or even ping, because of the interface is not properly configured.

That was the root of the issue.

Thus, we need some workarounds or fixes, because all our Newcomers will face with this :frowning:


NethServer 7 Beta1 "Mayo" released
On The Road towards NethServer 7 Beta 1
NethServer 7 Final released
(Giacomo Sanchietti) #24

It’s not enough.
Without reading the code, these are the first problems about using dynamic IP on green interfaces (and I bet I miss many others):

  • code for trusted network will be broken
  • shorewall rules must be rewritten using special macros, something like: ETH0_IP=$(find_first_interface_address eth0)
  • the code of dhclient event hooks must be completely rewritten
  • green/red zones on system with a single interface (like VPS) will not work

This can be done.