Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Shells Virtual Desktop
BMail.ag - Secure Email Service
Server.net
CPLicense.net
VPS Server
Buy VPN
Vultr
VMs for AI
HostDare
HostDare
ReliableSite White-Label Dedicated Hosting for Resellers
25% Recurring Discount on NVMe VPS
InterServer VPS
BMail.ag - Secure Email Service
Best VPN
High-Performance Bare Metal Server Solutions
Karvl.com
Server Mania Cloud Hosting
DataWagon Hosting
AlphaVPS Hosting
Evoxt.com
Clouvider
VPS Hosting with NVMe
Residential IPs in the US & 4G Mobile Proxies in EU & US with Unlimited Bandwidth
ReliableSite White-Label Dedicated Hosting for Resellers
Rabisu - Hosting Solutions
CloudLinux
Shells Virtual Desktop

In this Discussion

New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Translate IP commands to Netplan

I set up an IPv6 tunnel and create a routing prefix with the following command.

ip tunnel add tun0 mode sit remote 10.0.0.2 local 10.0.0.3 ttl 255
ip link set tun0 up
ip addr add 2001:db8:214b:1000::/64 dev tun0
ip route add 2001:db8:214b:1001::/64 dev tun0

I'm going to convert to Netplan configuration, but I don't know how to complete the last command (create route prefix)

network:
  version: 2
  renderer: networkd
  tunnels:
    tun0:
      mode: sit
      remote: 10.0.0.2
      local: 10.0.0.3
      addresses:
        - "2001:db8:214b:1000::2/64"
      routes:
        - to: "2001:db8:214b:1001::/64"
          via: "2001:db8:214b:1000::2"
          from: "::/0"
          on-link: true

via is not set to an interface,hope to get your help, thank you.

Comments

  • yoursunnyyoursunny Member, IPv6 Advocate

    Since 2001:db8:214b:1001::/64 is on the same link, you can change your own address to 2001:db8:214b:1000::/63, which covers both subnets.

    Thanked by 1jerry_me
Sign In or Register to comment.