No internet in Win7 x32

den4ic369

New Member
Mar 10, 2024
3
0
1
Please help.
I did it like here (Masquerading) https://pve.proxmox.com/wiki/Network_Configuration.
i have only one public IP.
Proxmox version 6.4-1.

$ cat /etc/network/interfaces

auto lo
iface lo inet loopback

auto ens3
iface ens3 inet static
address XXX.XXX.XXX.171/24
gateway XXX.XXX.XXX.1

auto vmbr1
iface vmbr1 inet static
address 10.10.0.1/24
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 '10.10.0.0/24' -o ens3 -j MASQUERADE
post-down iptables -t nat -D POSTROUTING -s '10.10.0.0/24' -o ens3 -j MASQUERADE
post-up iptables -t raw -I PREROUTING -i fwbr+ -j CT --zone 1
post-down iptables -t raw -D PREROUTING -i fwbr+ -j CT --zone 1


$ route
1710166274000.png
on win7:

1710166531244.png
1710166687442.png
 

Attachments

  • 1710166343470.png
    1710166343470.png
    174.7 KB · Views: 1
Hi,
since you have no DHCP server in your network, you will need to set the IP of your guests manually.
For your Windows 7 machine, that could be for example:
Code:
IP-Address: 10.10.0.100
Subnet-Mask: 255.255.255.0
Gateway: 10.10.0.1

You will also need to define a DNS server, the right value there depends on your network.

And at last, the obligatory reminder: Neither PVE6[0] nor Windows 7[1] are actively supported anymore. I'd strongly suggest upgrading both of them. You can find a detailed description on what you need to do to upgrade proxmox in our documentation[2].

[0] https://forum.proxmox.com/threads/proxmox-ve-support-lifecycle.35755/
[1] https://support.microsoft.com/en-us...-14-2020-b75d4580-2cc7-895a-2c9c-1466d9a53962
[2] https://pve.proxmox.com/wiki/Upgrade_from_6.x_to_7.0
 
  • Like
Reactions: den4ic369
Hi,
since you have no DHCP server in your network, you will need to set the IP of your guests manually.
For your Windows 7 machine, that could be for example:
Code:
IP-Address: 10.10.0.100
Subnet-Mask: 255.255.255.0
Gateway: 10.10.0.1

You will also need to define a DNS server, the right value there depends on your network.

And at last, the obligatory reminder: Neither PVE6[0] nor Windows 7[1] are actively supported anymore. I'd strongly suggest upgrading both of them. You can find a detailed description on what you need to do to upgrade proxmox in our documentation[2].

[0] https://forum.proxmox.com/threads/proxmox-ve-support-lifecycle.35755/
[1] https://support.microsoft.com/en-us...-14-2020-b75d4580-2cc7-895a-2c9c-1466d9a53962
[2] https://pve.proxmox.com/wiki/Upgrade_from_6.x_to_7.0
Thank you! This finally work!