We have a physical machine, call it 'web' which had two nics, and we had one on the internal network, and the other on our public IP:
We want to virtualize this into VM on a Dell R630 with four NICs, connecting one to the internal network, and the other to the public
network.
How o we replicate this in PXE 8.1.3?
It is simple to connect to the internal network (10.1.10.0/24) , using the default bridge; but how to set up for the public network?
I have vmbr0 set up on the internal network as eno1 10.1.10.40/24
I set up vmbr1 on the public_ip_address/29, but then what do I set the vm's interface to?
[Answer as if I am five years old ]
and the internal network is functional, but can't connect to the external interface from out side...
Code:
network:
version: 2
renderer: networkd
ethernets:
enp3s0:
dhcp4: no
addresses:
- public_ip_address/29 # www, mail, smtp
gateway4: public_ip_gw
nameservers:
addresses: [10.1.10.3, 8.8.8.8, 1.1.1.1]
search:
- ourdomain.com
enp2s0:
dhcp4: true
network.
How o we replicate this in PXE 8.1.3?
It is simple to connect to the internal network (10.1.10.0/24) , using the default bridge; but how to set up for the public network?
I have vmbr0 set up on the internal network as eno1 10.1.10.40/24
I set up vmbr1 on the public_ip_address/29, but then what do I set the vm's interface to?
[Answer as if I am five years old ]
Code:
---
network:
version: 2
renderer: networkd
ethernets:
ens19:
dhcp4: false
addresses:
- public_ip_address/29 # www, mail, smtp
routes:
- to: default
via: public_ip_gw
link-local: [ipv4]
nameservers:
addresses: [10.1.10.3, 8.8.8.8, 1.1.1.1]
search:
- adapt-ip.com
ens18:
dhcp4: false
addresses:
- 10.1.10.9/24
link-local: [ipv4]
nameservers:
addresses: [10.1.10.3]
and the internal network is functional, but can't connect to the external interface from out side...
Last edited: