Networking issue on install

phineas629

New Member
Jul 27, 2018
7
0
1
40
My prevous proxmox installation had VMs working automatically.
However, I'm having issues in this install.
Still newb to networking.
Any suggestions what I did wrong?
My proxmox server can access internet but my VMs cannot ping.

The folloiwng is ifconfig and interfaces:

ifconfig.PNG interfaces.PNG
 
afaics you have not given an ip to your vms? do you have a dhcp server in your network?
 
I have a static ip for the actual proxmox box. what would be the easy recommended setup to get my VMs online?
 
this depends very much on your needs/environment
i guess most people configure static ips inside the vm or let their dhcp server handle this
 
in my past experience, my proxmox VM's usually are able to connect to internet.
Is it due to my network configuration that things are now different?
It has been a couple years since I last used Proxmox.

could you direct me towards some instructions for setting up static ip? I'm currently reading books "Proxmox Cookbook" and "Mastering Proxmox" but don't see sections on setting up VMs with static ip.
 
could you direct me towards some instructions for setting up static ip? I'm currently reading books "Proxmox Cookbook" and "Mastering Proxmox" but don't see sections on setting up VMs with static ip.
this is not really a proxmox topic but a linux/windows/bsd/whatever os you run in the guest problem

in debian the network is configured with /etc/network/interfaces, arch/fedora uses systemd-networkd... etc
 
Ok my mistake.

In Proxmox I have vmbr0 as bridged mode but I can't connect to the internet.

In my vm instance of CentOS,
I changed my static ip with command:
vi /etc/sysconfig/network-scripts/ifcfg-ens18 to include:

IPADDR="192.168.100.105"
NETMASK="255.255.255.0"
BROADCAST="192.168.56.255"


I ran command vi /etc/sysconfig/network to include: GATEWAY="192.168.56.1" .

I restarted with command: systemctl restart network.service .

Still can't ping www.google.com .

Is there something else I must do?
 
why is your gateway not inside your /24 subnet ?
 
Oops. Had the wrong cut and paste. The below is my settings.

BROADCAST="192.168.100.255"
GATEWAY="192.168.100.1"
 
so network works and dns not? please look at the manual for your guest os on how to configure this properly...
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!