Author Topic: Lost connectivity to router and the internet  (Read 964 times)

altiport

  • Zen Apprentice
  • *
  • Posts: 14
  • Karma: +0/-0
    • View Profile
Lost connectivity to router and the internet
« on: November 30, 2023, 09:12:06 pm »
Hello,
After a reboot of my Zentyal 7.0 installation I lost all connectivity to the routers and, therefore, the internet.

Has the same thing happened to anyone else?  I have tried everything I could think of, but I can't get my head around it.

Thank you!!!

Code: [Select]
~$ ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.200.1  netmask 255.255.255.0  broadcast 192.168.200.255
        ether e8:de:27:a7:ae:50  txqueuelen 1000  (Ethernet)
        RX packets 426706  bytes 104478873 (104.4 MB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 915797  bytes 1131695471 (1.1 GB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

eth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.151.2  netmask 255.255.255.0  broadcast 192.168.151.255
        ether a0:36:9f:50:74:57  txqueuelen 1000  (Ethernet)
        RX packets 29967  bytes 1925374 (1.9 MB)
        RX errors 0  dropped 81  overruns 0  frame 0
        TX packets 2165  bytes 93786 (93.7 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device memory 0xfe700000-fe7fffff

eth2: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.150.2  netmask 255.255.255.0  broadcast 192.168.150.255
        ether 9c:b6:54:0b:e5:77  txqueuelen 1000  (Ethernet)
        RX packets 271  bytes 20931 (20.9 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 20962  bytes 1343670 (1.3 MB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 18

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 210677  bytes 22703694 (22.7 MB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 210677  bytes 22703694 (22.7 MB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

tap0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.210.1  netmask 255.255.255.0  broadcast 192.168.210.255
        ether a6:ec:21:92:98:49  txqueuelen 100  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

turalyon

  • Zen Warrior
  • ***
  • Posts: 197
  • Karma: +15/-0
    • View Profile
Re: Lost connectivity to router and the internet
« Reply #1 on: December 04, 2023, 11:02:03 am »
Sometimes, when the network module is restarted by other dependencies, the content of /etc/resolv.conf is lost, and it requires the network to restart by hand.

Code: [Select]
sudo zs network restart

Also, what modules are you using? Can you ping anything? For instance:

- Ping to your router.
- Ping to a public address (8.8.8.8)
- Ping a public domain (google.com)

Finally, you must analyze the network configuration (IP, gateway and DNS), whether the module is enabled or not, the rules from the firewall, if you have the IDS module, you might stop it temporarily, analyze the main log files:

- /var/log/zentyal/zentyal.log
- /var/log/syslog



This world is ours, and by the Holy Light, we will keep it safe, now and forever.