Last active
March 26, 2024 20:49
-
-
Save mrladeia/9db64b282f19163a7ccc49c4a867880c to your computer and use it in GitHub Desktop.
BuyVM Private IP / ipv6 / Netplan Config Ubuntu 22.04 /etc/netplan/01-netcfg.yaml
This file contains 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 | |
ethernets: | |
eth0: | |
dhcp4: no | |
dhcp6: no | |
addresses: | |
- 45.61.1xx.xxx/24 #WAN IP | |
- 2605:6400:40:xxxx::/48 #IPv6 WAN | |
nameservers: | |
addresses: | |
- 8.8.8.8 | |
- 1.1.1.1 | |
- 2001:4860:4860::8888 | |
- 2606:4700:4700::1111 | |
routes: | |
- to: default | |
via: 2605:6400:xxxx::1 #Gateway ipv4 | |
- to: default | |
via: 45.61.xxx.xxx #Gateway ipv6 | |
eth1: | |
dhcp4: no | |
addresses: | |
- 172.16.xxx.xxx/16 #LAN / Internal IP, /16 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment