We are in the process of migrating this forum. A new space will be available soon. We are sorry for the inconvenience.

Proxmox VM Windows 7 nessun accesso alla rete


maicolstrong
12.01.2017, 15.33
Salve,
ho cercato in vari forum e anche qui ma non sono riuscito ancora a sistemare la mia VM con windows7 . sicuramente un problema di routing o di settaggio del network . Ma aim non riesco a venirne a capo .

qui di seguito la configurazione di etc/network/interfaces nella macchina fisica


193.70.IP.F0 UN IP FAILOVER

94.23.A.B IP MAIN


auto lo
iface lo inet loopback

iface eth0 inet manual

iface eth1 inet manual

auto vmbr1
iface vmbr1 inet manual
bridge_ports dummy0
bridge_stp off
bridge_fd 0
# post-up /etc/pve/kvm-networking.sh

auto vmbr0
iface vmbr0 inet static
address 94.23.A.B
netmask 255.255.255.0
gateway 94.23.A.Z
broadcast 94.23.A.ZZ
bridge_ports eth0
bridge_stp off
bridge_fd 0
network 94.23.47.0

iface vmbr0 inet6 static
address 2001:41d0:0002:2012::
netmask 64
post-up /sbin/ip -f inet6 route add 2001:41d0:0002:20ff:ff:ff:ff:ff dev vmbr0
post-up /sbin/ip -f inet6 route add default via 2001:41d0:0002:20ff:ff:ff:ff:ff
pre-down /sbin/ip -f inet6 route del default via 2001:41d0:0002:20ff:ff:ff:ff:ff
pre-down /sbin/ip -f inet6 route del 2001:41d0:0002:20ff:ff:ff:ff:ff dev vmbr0

auto vmbr2
iface vmbr2 inet static
address 192.168.0.254
netmask 255.255.255.0
bridge_ports none
bridge_stp off
bridge_fd 0
post-up echo 1 > /proc/sys/net/ipv4/ip_forward
post-up iptables -t nat -A POSTROUTING -s 192.168.0.0/24 -o vmbr0 -j SNAT --to 193.70.IP.F0
post-down iptables -t nat -D POSTROUTING -s 192.168.0.0/24 -o vmbr0 -j SNAT --to 193.70.IP.F0


questo quello che esce facendo ifconfig



eth0 Link encap:Ethernet HWaddr 00:25:90:57:b2:60
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:344951 errors:0 dropped:0 overruns:0 frame:0
TX packets:227717 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:70946918 (67.6 MiB) TX bytes:105487782 (100.6 MiB)
Interrupt:16 Memory:fbce0000-fbd00000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:145964 errors:0 dropped:0 overruns:0 frame:0
TX packets:145964 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:70568239 (67.2 MiB) TX bytes:70568239 (67.2 MiB)

tap100i0 Link encap:Ethernet HWaddr ba:9e:77:3f:a6:8f
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:73837 errors:0 dropped:0 overruns:0 frame:0
TX packets:498 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:14040214 (13.3 MiB) TX bytes:44269 (43.2 KiB)

vmbr0 Link encap:Ethernet HWaddr 00:25:90:57:b2:60
inet addr:94.23.A.B Bcast:94.23.47.255 Mask:255.255.255.0
inet6 addr: 2001:41d0:2:2012::/64 Scope:Global
inet6 addr: fe80::225:90ff:fe57:b260/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:300028 errors:0 dropped:384 overruns:0 frame:0
TX packets:216496 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:62597402 (59.6 MiB) TX bytes:103327676 (98.5 MiB)

vmbr1 Link encap:Ethernet HWaddr 42:9d:a1:48:91:a5
inet6 addr: fe80::409d:a1ff:fe48:91a5/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:618 (618.0 B)

vmbr2 Link encap:Ethernet HWaddr ba:9e:77:3f:a6:8f
inet addr:192.168.0.254 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::c0c4:b0ff:fec7:cf42/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:73587 errors:0 dropped:0 overruns:0 frame:0
TX packets:11 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:12987675 (12.3 MiB) TX bytes:826 (826.0 B)

questo quanto esce facendo ip l e ip a

ip l
1: lo: mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: mtu 1500 qdisc pfifo_fast master vmbr0 state UP mode DEFAULT group default qlen 1000
link/ether 00:25:90:57:b2:60 brd ff:ff:ff:ff:ff:ff
3: eth1: mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ether 00:25:90:57:b2:61 brd ff:ff:ff:ff:ff:ff
4: vmbr1: mtu 1500 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/ether 42:9d:a1:48:91:a5 brd ff:ff:ff:ff:ff:ff
5: vmbr0: mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000
link/ether 00:25:90:57:b2:60 brd ff:ff:ff:ff:ff:ff
6: vmbr2: mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000
link/ether ba:9e:77:3f:a6:8f brd ff:ff:ff:ff:ff:ff
7: tap100i0: mtu 1500 qdisc pfifo_fast master vmbr2 state UNKNOWN mode DEFAULT group default qlen 1000
link/ether ba:9e:77:3f:a6:8f brd ff:ff:ff:ff:ff:ff


1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: mtu 1500 qdisc pfifo_fast master vmbr0 state UP group default qlen 1000
link/ether 00:25:90:57:b2:60 brd ff:ff:ff:ff:ff:ff
3: eth1: mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether 00:25:90:57:b2:61 brd ff:ff:ff:ff:ff:ff
4: vmbr1: mtu 1500 qdisc noqueue state UNKNOWN group default qlen 1000
link/ether 42:9d:a1:48:91:a5 brd ff:ff:ff:ff:ff:ff
inet6 fe80::409d:a1ff:fe48:91a5/64 scope link
valid_lft forever preferred_lft forever
5: vmbr0: mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 00:25:90:57:b2:60 brd ff:ff:ff:ff:ff:ff
inet 94.23.A.B/24 brd 94.23.A.ZZ scope global vmbr0
valid_lft forever preferred_lft forever
inet6 2001:41d0:2:2012::/64 scope global
valid_lft forever preferred_lft forever
inet6 fe80::225:90ff:fe57:b260/64 scope link
valid_lft forever preferred_lft forever
6: vmbr2: mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether ba:9e:77:3f:a6:8f brd ff:ff:ff:ff:ff:ff
inet 192.168.0.254/24 brd 192.168.0.255 scope global vmbr2
valid_lft forever preferred_lft forever
inet6 fe80::c0c4:b0ff:fec7:cf42/64 scope link
valid_lft forever preferred_lft forever
7: tap100i0: mtu 1500 qdisc pfifo_fast master vmbr2 state UNKNOWN group default qlen 1000
link/ether ba:9e:77:3f:a6:8f brd ff:ff:ff:ff:ff:ff


################################################## ##

questo quanto appare facendo ipconfig sulla macchina windows

Indirizzo IPv4 . . . . . . . . . . . . : 192.168.0.254
Subnet mask . . . . . . . . . . . . . : 255.255.255.0
Gateway predefinito . . . . . . . . . : 94.23.A.B



Qualcuno sa dirmi dove sbaglio ? La VM con W7 praticamente non ha accesso alla rete . Attendo vostre risposte per risolvere il problema .

Grazie

questo il link con la cattura della schermata di W7

http://it.tinypic.com/r/29ekhw5/9