Site Tools


linux:ubuntu

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
linux:ubuntu [2025/07/29 04:22] adminentlinux:ubuntu [2025/11/11 22:03] (current) Name
Line 48: Line 48:
 Configure firewall Configure firewall
 sudo ufw allow 123/udp</code> sudo ufw allow 123/udp</code>
 +
 +====IPv4 Static Config===
 +<code>network:
 +    version: 2
 +    renderer: networkd
 +    ethernets:
 +        ens33:
 +            addresses:
 +                - 10.30.10.62/24
 +            nameservers:
 +                search: [vsphere.local]
 +                addresses: [10.30.10.1]
 +            routes:
 +                - to: default
 +                  via: 10.30.10.1</code>
 +====IPv6 DNS Config====
 +<code>root@dns:/etc/netplan# cat 00-interfaces.yaml 
 +network:
 +    version: 2
 +    ethernets:
 +      ens34:
 +        dhcp4: no
 +        dhcp6: no
 +        addresses:
 +            - 2001:db8:1776:3000:a:ca:0:1f/112
 +        accept-ra: true
 +        nameservers:
 +            addresses:
 +                - 10.31.11.31
 +                - 2001:db8:1776:3000:a:ca:0:1f
 +            search:
 +                - ciscoworldtour.com
 +        routes:
 +            - to: default
 +              via: 2001:db8:1776:3000:a:ca:0:1
 +              metric: 1
 +              on-link: true
 +
 +root@dns:/etc/netplan# netplan apply
 +
 +https://black.host/hc/vps-hosting/enabling-ipv6-on-ubuntu-22-04-with-netplan/</code>
  
 ====Backlinks==== ====Backlinks====
 [[:linux|Linux]] [[:linux|Linux]]
linux/ubuntu.1753762963.txt.gz · Last modified: by adminent