0

I have the following Setup in Virtualbox: Router 1:

network:
 version: 2
 renderer: networkd
 ethernets:
  enp0s3:
     dhcp4: yes
  enp0s8:
     dhcp4: no
     addresses: [192.168.1.1/24]
     nameservers:
       addresses: [8.8.8.8,8.8.4.4]

Adapter1: NAT

Adapter2: internal network (intnet-1)

Adapter3: internal network (intnet-100)


Router 2:

network:
 version: 2
 renderer: networkd
 ethernets:
  enp0s3:
     dhcp4: yes
  enp0s8:
     dhcp4: no
     addresses: [192.168.2.1/24]
     nameservers:
       addresses: [8.8.8.8,8.8.4.4]

Adapter1: NAT

Adapter2: internal network (intnet-2)

Adapter3: internal network (intnet-100)


DHCP-Server is running on both Routers for Adapter enp0s8 (intnet-1/intnet-2).

PC-1 (Client) is in intnet-1 and PC-2 (MySQL Server) is in intnet-2. Both PCs receiving their IP from the Router with the DHCP-Range x.x.x.101-200.

How can I add a route from PC-1 to PC-2 in netplan? ^^ And what do I have to add for enp0s9 (intnet-100)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.