Problema configurazione multiporta lan per domecam

Installazione, configurazione e uso di Ubuntu come server: web, ftp, mail, news, proxy, dns e altro.
Scrivi risposta
Avatar utente
stonygate
Prode Principiante
Messaggi: 199
Iscrizione: giovedì 17 dicembre 2009, 23:24
Desktop: Budgie
Distribuzione: Ubuntu 1X.quellocheè! x86_64
Sesso: Maschile
Località: Abruzzo tra i monti
Contatti:

Problema configurazione multiporta lan per domecam

Messaggio da stonygate »

Salve, ho un problema con una particolare configurazione di una scheda di rete dedicata per il poe e telecamere dome.
In pratica sto tentando di far funzionare 2 telecamere connesse ad una scheda 4 porte, ma ho problemi nel tirar su la connessione, in /etc/network/interfaces ho questa configurazione:

Codice: Seleziona tutto

 
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

auto enp7s0
iface enp7s0 inet static
        address 192.168.1.2
        netmask 255.255.255.0
        broadcast 192.168.1.255
        network 192.168.1.0
        gateway 192.168.1.1
        dns-nameservers 127.0.0.53

auto enp3s0
iface enp3s0 inet static
        address 192.168.1.2
        netmask 255.255.255.0
        broadcast 192.168.1.255
        network 192.168.1.0

auto enp4s0
iface enp4s0 inet static
        address 192.168.1.2
        netmask 255.255.255.0
        broadcast 192.168.1.255
        network 192.168.1.0
Le telecamere hanno ip fisso una 192.168.1.200 mentre la seconda 192.168.1.201 se le connetto al router ambe due funzionano ( il router è connesso alla porta enp7s0 della scheda madre ) se le collego alle porte dedicate enp4s0 e enp3s0 le telecamere non sono raggiungibili, da terminale ho fatto il ping verso le telecamere il risultato è trasmissione scaduta.

Codice: Seleziona tutto

 lshw -class network

WARNING: you should run this program as super-user.
  *-network                 
       description: Ethernet interface
       product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:03:00.0
       logical name: enp3s0
       version: 06
       serial: 00:e0:4c:68:ec:72
       size: 100Mbit/s
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full firmware=rtl_nic/rtl8168e-2.fw ip=192.168.2.1 latency=0 link=yes multicast=yes port=MII speed=100Mbit/s
       resources: irq:34 ioport:8800(size=256) memory:fd3ff000-fd3fffff memory:fd3f8000-fd3fbfff
  *-network
       description: Ethernet interface
       product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:04:00.0
       logical name: enp4s0
       version: 06
       serial: 00:e0:4c:68:ec:73
       size: 100Mbit/s
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
       configuration: autonegotiation=off broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full firmware=rtl_nic/rtl8168e-2.fw latency=0 link=no multicast=yes port=MII speed=100Mbit/s
       resources: irq:35 ioport:9800(size=256) memory:fd4ff000-fd4fffff memory:fd4f8000-fd4fbfff
  *-network
       description: Ethernet interface
       product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:05:00.0
       logical name: enp5s0
       version: 06
       serial: 00:e0:4c:68:ec:74
       size: 100Mbit/s
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
       configuration: autonegotiation=off broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full firmware=rtl_nic/rtl8168e-2.fw latency=0 link=no multicast=yes port=MII speed=100Mbit/s
       resources: irq:36 ioport:a800(size=256) memory:fd5ff000-fd5fffff memory:fd5f8000-fd5fbfff
  *-network
       description: Ethernet interface
       product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:06:00.0
       logical name: enp6s0
       version: 06
       serial: 00:e0:4c:68:ec:75
       size: 100Mbit/s
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
       configuration: autonegotiation=off broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full firmware=rtl_nic/rtl8168e-2.fw latency=0 link=no multicast=yes port=MII speed=100Mbit/s
       resources: irq:37 ioport:b800(size=256) memory:fd6ff000-fd6fffff memory:fd6f8000-fd6fbfff
  *-network
       description: Ethernet interface
       product: AR8121/AR8113/AR8114 Gigabit or Fast Ethernet
       vendor: Qualcomm Atheros
       physical id: 0
       bus info: pci@0000:07:00.0
       logical name: enp7s0
       version: b0
       serial: e0:cb:4e:1a:e1:bc
       size: 1Gbit/s
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=ATL1E driverversion=1.0.0.7-NAPI duplex=full firmware=L1e ip=192.168.1.2 latency=0 link=yes multicast=yes port=twisted pair speed=1Gbit/s
       resources: irq:17 memory:fe8c0000-fe8fffff ioport:cc00(size=128)
  *-network:0 DISABLED
       description: Ethernet interface
       physical id: 1
       logical name: virbr0-nic
       serial: 52:54:00:c5:ec:05
       size: 10Mbit/s
       capabilities: ethernet physical
       configuration: autonegotiation=off broadcast=yes driver=tun driverversion=1.6 duplex=full link=no multicast=yes port=twisted pair speed=10Mbit/s
  *-network:1
       description: Ethernet interface
       physical id: 2
       logical name: virbr0
       serial: 52:54:00:c5:ec:05
       capabilities: ethernet physical
       configuration: broadcast=yes driver=bridge driverversion=2.3 firmware=N/A ip=192.168.122.1 link=no multicast=yes
WARNING: output may be incomplete or inaccurate, you should run this program as super-user.
altro risultato

Codice: Seleziona tutto

ip route ls
default via 192.168.1.1 dev enp7s0 onlink 
192.168.1.0/24 dev enp7s0 proto kernel scope link src 192.168.1.2 
192.168.1.0/24 dev enp3s0 proto kernel scope link src 192.168.1.3  
192.168.122.0/24 dev virbr0 proto kernel scope link src 192.168.122.1 linkdown 
qualche suggerimento?
Sei Abruzzese se : continui a mettere le B doppie anche dove li non serve!!!!!!!!!!
Dopo un piatto di pasta dici al cuoco: Abbok la past Kha è cott.
Ovunque ti trovi guardi i monti e ti senti a casa.
Scrivi risposta

Ritorna a “Ubuntu su server”

Chi c’è in linea

Visualizzano questa sezione: 0 utenti iscritti e 24 ospiti