Neth 7 Networking Problems with OVH Custom ip rules

v7

(Loren Tedford (Kc9Zhv)) #1

NethServer Version: 7
Module: unknown

So… Here is what i have done so far I ran ip addr which gave me the interfaces and told me the proper interfaces name… I created /etc/sysconfig/network-scripts/ifcfg-ens19
DEVICE=INTERFACE
BOOTPROTO=none
ONBOOT=yes
USERCTL=no
IPV6INIT=no
PEERDNS=yes
TYPE=Ethernet
NETMASK=255.255.255.255
IPADDR=FAILOVERIP
GATEWAY=GATEWAY
ARP=yes
HWADDR=VIRTUAL_MAC

Next I created: /etc/sysconfig/network-scripts/route-ens19

GatewayIP - 255.255.255.255 ens19
NetworkIP - 255.255.255.0 ens19
default GatewayIP

Next in /etc/resolv.conf
nameserver 213.186.33.99

Ok so in a regular installation this information works however in a neth installation it doesn’t work… What am i missing?? What exactly are you all doing with the networks?

Before i wrote a shell script to force it to its route in Neth7 it doesn’t seem to work any thoughts??
Here is where are directions are for ovh style setup keep in mind our gateway addresses are way different than typical


(Markus Neuberger) #2

Hi @lorentedford,

I do not use OVH but I found a thread about installing:

Some info on how NethServer handles networks:

http://docs.nethserver.org/projects/nethserver-devel/en/v7/nethserver-base.html


(Loren Tedford (Kc9Zhv)) #3

Thanks this might be what i am looking for!

To give an example

my gateway ip is 167.114.157.254 and my server ip is 167.114.6.214 lol i know its funny networking stuff.


(Loren Tedford (Kc9Zhv)) #4

Well i am not hiding it anymore i tried this…

db networks set ens19 ethernet role red ipaddr 167.114.6.214 netmask 255.255.255.255 ipaddr 167.114.6.214 gateway 167.114.157.254 onboot yes bootproto static

didn’t work


(Markus Neuberger) #5

What happens if you try 255.255.255.0 (or the one you got from your ISP) as subnetmask?

EDIT: Forget it, I mixed that with your ASPR question…


(Loren Tedford (Kc9Zhv)) #6

Here is the instructions from my isp…

http://docs.ovh.ca/en/guides-network-bridging.html