Cara Setting DHCP | IP Static | VLAN | P2P Addressing | di Debian 13

 

Kebetulan kita kedatangan perangkat Mini PC Intel Gen 13 N150

jangan lupa install vlan nya
#apt update
#apt install vlan




Nah, kebetulan kita mau coba DHCP , IP Static, VLAN, P2P Addressing di debian 13 , mana tau kan BGP nya pake frrouting haha..

seperti biasa, ini masih pake ip-up dan ip-down , berarti folder nya masih di /etc/network/interface








# 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


#DHCP Client di interface en4s0

allow-hotplug enp4s0

iface enp4s0 inet dhcp


#IP Static di interface en4s0

allow-hotplug enp4s0

iface enp4s0 inet static

    address 10.254.1.223/24

    gateway 10.254.1.1

    dns-nameservers 8.8.8.8 1.1.1.1


#vlan 2876 di interface en4s0

auto enp4s0.2876

iface enp4s0.2876 inet static

    address 10.28.76.2

    netmask 255.255.255.252


#P2P Addressing di inteface ep4s0

iface enp4s0 inet static

    address 10.22.22.2

    netmask 255.255.255.255

    pointopoint 10.22.22.1


#P2P Addressing di dalam VLAN 2876

auto enp4s0.2876

iface enp4s0.2876 inet static

    address 10.25.25.2

    netmask 255.255.255.255

    pointopoint 10.25.25.1
















Semoga Bermanfaat
Penulis : Een Pahlefi

0 Response to "Cara Setting DHCP | IP Static | VLAN | P2P Addressing | di Debian 13 "

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel