ok.. interfaces fa così (ovviamente ho cambiato nomi/IP):
in pratica ha un ip reale (193.205.135.209) che dovrebbe rispondere a mioserver.econ.univpm.it ed un alias con ip virtuale 192.168.22.141 che mi serve per lasciare alcuni servizi accessibili solo dalla rete di facoltà..codice:mioserver:~# cat /etc/network/interfaces # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo eth0 eth0:0 iface lo inet loopback iface eth0 inet static address 193.205.135.209 netmask 255.255.255.0 gateway 193.205.135.1 dns-nameservers 193.205.135.210 193.205.128.11 pre-up iptables-restore < /etc/iptables.up.rules iface eth0:0 inet static address 192.168.22.141 netmask 255.255.255.0 dns-nameservers 193.205.135.210 193.205.128.11
qual'è la procedura corretta per configurare la rete in questo caso ?
attualmente ho:
ecodice:mioserver:~# cat /etc/hostname mioserver
dove sbaglio ??codice:mioserver:~# cat /etc/hosts 127.0.0.1 localhost.localdomain localhost 127.0.0.1 mioserver 193.205.135.209 mioserver # The following lines are desirable for IPv6 capable hosts ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters ff02::3 ip6-allhosts

Rispondi quotando