Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # ifconfig
- ens3 Link encap:Ethernet HWaddr 52:54:01:6d:da:27
- inet addr:44.14.23.79 Bcast:44.14.23.255 Mask:255.255.255.0
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:2621128 errors:0 dropped:264 overruns:0 frame:0
- TX packets:18814 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:173873294 (173.8 MB) TX bytes:1417413 (1.4 MB)
- ens9 Link encap:Ethernet HWaddr 52:54:04:7f:f7:e2
- inet addr:192.168.0.79 Bcast:192.168.0.255 Mask:255.255.255.0
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:2601260 errors:0 dropped:385 overruns:0 frame:0
- TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:135905550 (135.9 MB) TX bytes:828 (828.0 B)
- # cat /etc/default/isc-dhcp-server
- # Defaults for isc-dhcp-server initscript
- # sourced by /etc/init.d/isc-dhcp-server
- # installed at /etc/default/isc-dhcp-server by the maintainer scripts
- #
- # This is a POSIX shell fragment
- #
- # Path to dhcpd's config file (default: /etc/dhcp/dhcpd.conf).
- #DHCPD_CONF=/etc/dhcp/dhcpd.conf
- # Path to dhcpd's PID file (default: /var/run/dhcpd.pid).
- #DHCPD_PID=/var/run/dhcpd.pid
- # Additional options to start dhcpd with.
- # Don't use options -cf or -pf here; use DHCPD_CONF/ DHCPD_PID instead
- #OPTIONS=""
- # On what interfaces should the DHCP server (dhcpd) serve DHCP requests?
- # Separate multiple interfaces with spaces, e.g. "eth0 eth1".
- INTERFACES="ens9"
- # cat /etc/dhcp/dhcpd.conf
- ddns-update-style none;
- option domain-name-servers 8.8.4.4, 8.8.8.8;
- authoritative;
- subnet 192.168.16.0 netmask 255.255.255.0 {
- option routers 192.168.16.1;
- use-host-decl-names on;
- range 192.168.16.100 192.168.16.200;
- next-server 192.168.16.1;
- ping-check = 1;
- filename = "pxelinux.0";
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement