Last active
July 15, 2025 05:45
-
-
Save muhamad-ridwant-tech/e99a62c5f439f7bfe722f5c54c78098e to your computer and use it in GitHub Desktop.
netplan config for ubuntu netwok dengan dua adapter erthenet
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
network: | |
version: 2 | |
renderer: networkd | |
ethernets: | |
# Interface untuk Internet (Default Route) | |
internet_if: | |
match: | |
macaddress: # 52:54:00:f3:45:f2# ## Masukan alamat Mac Addr sesuai dengan devices | |
addresses: | |
- # 192.168.124.101/24 # Static IP | |
routes: | |
- to: default ## default Routes | |
via: # 192.168.124.1 # Ganti dengan alamat Gateway/Router Anda | |
nameservers: | |
addresses: [8.8.8.8, 8.8.4.4] # Contoh DNS Server Google | |
# Interface untuk Jaringan tampa routes | |
isolated_if: | |
match: | |
macaddress: # 52:54:00:82:ce:97 ## Masukan alamat Mac Addr sesuai dengan devices | |
addresses: | |
- # 192.168.100.101/24 # Static IP | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment