Ik moet waarschijnlijk de IP adressen van al m'n machines gaan veranderen omdat m'n KPN Experia box een totaal andere range (192.168.2.x) gebruikt dan m'n oude SPeedTouch (10.0.0.15x).
Voordat ik teveel ga verknoeien graag bevestiging (of verbetering
) dat dit de te volgen stappen zijn:
Configureren statisch IP adres: vi /etc/network/interfaces
# The loopback network interface
auto lo
iface lo inet loopback
# This is a list of hotpluggable network interfaces.
# They will be activated automatically by the hotplug subsystem.
mapping hotplug
script grep
map eth0
# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.2.x
netmask 255.255.255.0
network 192.168.2.0
broadcast 192.168.2.255
gateway 192.168.2.1
Netwerk opnieuw opstarten: /etc/init.d/networking restart
Aanpassen hosts file: vi /etc/hosts
127.0.0.1 localhost.localdomain localhost server1
192.168.2.x server1.example.com server1
# 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
Klopt dit zo of zie ik nog iets over het hoofd? Alvast bedankt voor jullie reakties.