Unable to get internet connection on fresh Proxmox install

Thedan667

New Member
Jan 6, 2024
1
0
1
Hello,

I have used proxmox before however this time on my new device. dell optiplex 3040m
I have removed the WiFi card.


When I log into root and try command /etc/network/interfaces I get told Permission denied, even though I am logged in under root.

cat /etc/network/interfaces
IMG_8074.jpg

ip a
IMG_8075.jpg

Not sure what else I can show. when I try to ping 8.8.8.8 clearly it doesn't work.

Would greatly appreciate the help!
 
You can not have "address 192..." and gateway "10...."

The "gateway" MUST be in the SAME network as "address" is - it must be reachable without routing... ;-)
 
Hi,

The "gateway" MUST be in the SAME network as "address" is
Technically, it's false, you CAN have a gateway out of the network address, but you have to add "pointopoint 10.0.0.1" in this example (or "on-link: true
" with netplan).

Note : Generally this use case is for a system which has a /32 address or a small subnet, which is not the case here.

Best regards,
 
  • Like
Reactions: UdoB
Technically, it's false, you CAN have a gateway out of the network address,
There is a myriad of "tricks" you can build by using iptables, its routing tables, its chains and other tools.

When I see this type of mis-configuration I prefer to give a simple answer - possibly down to over-simplified. Sometimes it does not fit, but most times there is a newbie on the other end, with some lack of knowledge.