My network configuration (i found this in next topic):
To /etc/iproute2/rt_tables file i added:
/etc/network/interfaces:
Than i create windows vm, did set bridge mod (bridge vmbr2) and set up network in windows:
But ping 192.168.169.245 doesn't work. Please help me. What i did wrong?
To /etc/iproute2/rt_tables file i added:
Code:
100 vlan169
/etc/network/interfaces:
Code:
auto lo
iface lo inet loopback
auto vmbr0
iface vmbr0 inet static
address 192.168.0.103
netmask 255.255.255.0
gateway 192.168.0.1
bridge_ports eth0
bridge_stp off
bridge_fd 0
auto vmbr2
iface vmbr2 inet static
address 192.168.169.254
netmask 255.255.255.0
bridge_ports none
bridge_stp off
bridge_fd 0
post-up ip rule add from 192.168.169.0/24 iif venet0 table vlan169
post-up ip route add default via 192.168.0.1 dev vmbr2 table vlan169
post-up ip route flush cache
pre-down ip rule del from 192.168.169.0/24 iif venet0 table vlan169
pre-down ip route del default via 192.168.0.1 dev vmbr2 table vlan169
pre-down ip route flush cache
Than i create windows vm, did set bridge mod (bridge vmbr2) and set up network in windows:
But ping 192.168.169.245 doesn't work. Please help me. What i did wrong?