Codice: Seleziona tutto
auto eth0
iface eth0 inet static
address 192.168.0.10
netmask 255.255.255.0
broadcast 192.168.0.255
Codice: Seleziona tutto
auto eth0
iface eth0 inet static
address 192.168.0.10
netmask 255.255.255.0
broadcast 192.168.0.255
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 eth0
iface eth0 inet static
address 192.168.0.10
netmask 255.255.255.0
#gateway 192.168.0.1
network 192.168.0.0
broadcast 192.168.0.255
auto eth1
iface eth1 inet dhcp
Codice: Seleziona tutto
sudo ifconfig eth0 network 192.168.1.0
network: Unknown host
ifconfig: `--help' gives usage information.
$
sudo ifconfig eth0 broadcast 192.168.1.255
$
Visualizzano questa sezione: 0 utenti iscritti e 15 ospiti