[SOLVED]
To setup an Ip subnet with proxmox the host configuration has look like:
Host:
Attention! the number behind the /28 have to match your subnet, the /28 is only for a /28 subnet..!
Guest:
Hi,
I Have some problems with the configuration of an IP Subnet for KVM Vmś.
The config for Fail-over Ipś are no problem, but i wont get my Ip-Subnet working.
I Have to Use Routed configuration, cause my Hosting provider does not Provide Virtual Mac for Ip subnet.
Heres are my /etc/network/interfaces.
Host System
Guest System
Please Help me
I Do not know what i should try else..
To setup an Ip subnet with proxmox the host configuration has look like:
Host:
Code:
auto lo
iface lo inet loopback
# device: eth0
auto eth0
iface eth0 inet static
address HOST IP
netmask HOST NETMASK
gateway HOST Gateway
auto vmbr0
iface vmbr0 inet static
address (One Usable IP from the Subnet - Acts as Gateway for the Guest!)
netmask (Subnetmask of Subnet)
bridge_ports none
bridge_stp off
bridge_fd 0
#subnet
up ip route add (Another Usable IP From Subnet for the Guset)/28 dev vmbr0
up ip route add (Another Usable IP From Subnet for the Guset)/28 dev vmbr0
up ip route add (Another Usable IP From Subnet for the Guset)/28 dev vmbr0
(++ As much Ip´s you have in your subnet)
Attention! the number behind the /28 have to match your subnet, the /28 is only for a /28 subnet..!
Guest:
Code:
auto lo
iface lo inet loopback
# The primary network interface
allow-hotplug eth0
iface eth0 inet static
address (One usable IP from the up ip Route line)
netmask (Subnetmask from Subnet)
network (First ip of your subnet, Not the first usable, the FIRST IP!)
broadcast (Last ip of your subnet, not the last usable, the LAST IP!
gateway (Usable ip from subnet you configured in "Address" paramaeter of vmbr0 at host)
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 8.8.8.8
Hi,
I Have some problems with the configuration of an IP Subnet for KVM Vmś.
The config for Fail-over Ipś are no problem, but i wont get my Ip-Subnet working.
I Have to Use Routed configuration, cause my Hosting provider does not Provide Virtual Mac for Ip subnet.
Heres are my /etc/network/interfaces.
Host System
Code:
auto lo
iface lo inet loopback
# device: eth0
auto eth0
iface eth0 inet static
address 148.251.176.132
netmask 255.255.255.192
gateway 148.251.176.391
#auto vmbr0
iface vmbr0 inet static
address 148.251.199.261
netmask 255.255.255.240
bridge_ports none
bridge_stp off
bridge_fd 0
#subnet
up ip route add 148.251.199.262/28 dev vmbr0
Code:
# device: eth0
auto eth0
iface eth0 inet static
address 148.152.199.262
netmask 255.255.255.240
gateway 148.152.199.261
Please Help me
I Do not know what i should try else..
Last edited: