Hi guys,
I am trying to team up 2 kvm vm's in a subnet. I do have problems with the whole network/routing thing and I was wondering if you could help me on this.
pve server 1.3
2 NIC
1) 192.168.178.x - vmbr0
GW 192.168.178.1
2) 192 168.16.1 - vmbr1
Two kvm vm with vmbr1.
a) linux - ip 192.168.16.11
b) windows - ip 192.168.16.2
interfaces:
iface vmbr0 inet static
address 192.168.178.22
netmask 255.255.255.0
gateway 192.168.178.1
bridge_ports eth0
bridge_stp off
bridge_fd 0
auto vmbr1
iface vmbr1 inet static
address 192.168.16.1
netmask 255.255.255.0
bridge_ports eth1
bridge_stp off
bridge_fd 0
up route add -net 192.168.16.0 netmask 255.255.255.0 dev vmbr1
down route add -net 192.168.16.0 netmask 255.255.255.0 dev vmbr1
Somehow I am not able to reach any of the vm ip's.
I am pretty sure it's probably a simple mistake but I can not figure it out.
Any help would be appreciated.
Kind regards
B.
I am trying to team up 2 kvm vm's in a subnet. I do have problems with the whole network/routing thing and I was wondering if you could help me on this.
pve server 1.3
2 NIC
1) 192.168.178.x - vmbr0
GW 192.168.178.1
2) 192 168.16.1 - vmbr1
Two kvm vm with vmbr1.
a) linux - ip 192.168.16.11
b) windows - ip 192.168.16.2
interfaces:
iface vmbr0 inet static
address 192.168.178.22
netmask 255.255.255.0
gateway 192.168.178.1
bridge_ports eth0
bridge_stp off
bridge_fd 0
auto vmbr1
iface vmbr1 inet static
address 192.168.16.1
netmask 255.255.255.0
bridge_ports eth1
bridge_stp off
bridge_fd 0
up route add -net 192.168.16.0 netmask 255.255.255.0 dev vmbr1
down route add -net 192.168.16.0 netmask 255.255.255.0 dev vmbr1
Somehow I am not able to reach any of the vm ip's.
I am pretty sure it's probably a simple mistake but I can not figure it out.
Any help would be appreciated.
Kind regards
B.