Network-recovery command

[root@loy ~]# db networks show
enp0s3=ethernet
bootproto=none
gateway=172.16.16.1
ipaddr=172.16.16.10
netmask=255.255.255.0
nslabel=lan
role=green
enp0s8=ethernet
bootproto=none
gateway=192.168.20.1
ipaddr=192.168.20.20
netmask=255.255.255.0
nslabel=wan
role=red
ppp0=xdsl-disabled
AuthType=auto
FwInBandwidth=
FwOutBandwidth=
Password=
name=PPPoE
provider=xDSL provider
role=red
user=
red1=provider
interface=enp0s8
weight=1
[root@loy ~]# ping 8.8.8.8
connect: A rede está fora de alcance

235 / 5.000

Resultados de tradução

Resultado da tradução

Hey guys I’m having difficulties, in configuring nethserver’s network cards, every time I have to use the network-recovery command. Since the network cards are configured with the correct ips. What could be happening?

Hi @acassio_rogoski

I see two NICs (network interfaces), both with an IP and a Gateway!
A machine can only have one gateway, and this should be on the WAN Interface, not on the LAN.

My 2 cents
Andy

[root@loy ~]# ping 1.1.1.1
connect: A rede está fora de alcance
[root@loy ~]# db networks show
enp0s3=ethernet
bootproto=none
gateway=
ipaddr=172.16.16.10
netmask=255.255.255.0
nslabel=lan
onboot=yes
role=green
enp0s8=ethernet
bootproto=static
gateway=192.168.20.1
ipaddr=192.168.20.20
netmask=255.255.255.0
onboot=yes
role=red
ppp0=xdsl-disabled
AuthType=auto
FwInBandwidth=
FwOutBandwidth=
Password=
name=PPPoE
provider=xDSL provider
role=red
user=
red1=provider
interface=enp0s8
weight=1
[root@loy ~]#

Good morning, even changing the settings of the network cards, I still have the problem…! what else could be going on?