forked from guillaume.emorine/siotp
nouveau fichier : sisr1/tp01-02/srv-dhcp/hosts
nouveau fichier : sisr1/tp01-02/srv-dhcp/interfaces
This commit is contained in:
parent
2e3e58e8e6
commit
1267ec225b
8
sisr1/tp01-02/srv-dhcp/hosts
Executable file
8
sisr1/tp01-02/srv-dhcp/hosts
Executable file
@ -0,0 +1,8 @@
|
||||
127.0.0.1 localhost
|
||||
127.0.0.1 dhcp-ge.sio.lan dhcp-ge
|
||||
192.168.0.24 bookworm-jp.sio.lan bookworm-jp
|
||||
192.168.0.40 bookworm-jb.sio.lan bookworm-jb
|
||||
# The following lines are desirable for IPv6 capable hosts
|
||||
::1 localhost ip6-localhost ip6-loopback
|
||||
ff02::1 ip6-allnodes
|
||||
ff02::2 ip6-allrouters
|
18
sisr1/tp01-02/srv-dhcp/interfaces
Executable file
18
sisr1/tp01-02/srv-dhcp/interfaces
Executable file
@ -0,0 +1,18 @@
|
||||
# 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
|
||||
|
||||
# The primary network interface
|
||||
allow-hotplug enp0s8
|
||||
iface enp0s8 inet static
|
||||
address 192.168.2.1/24
|
||||
#enp0s3 static
|
||||
auto enp0s3
|
||||
iface enp0s3 inet static
|
||||
address 192.168.0.120/24
|
||||
gateway 192.168.0.1
|
Loading…
x
Reference in New Issue
Block a user