[RESOLVED] network is unreachable debian 6 [ proxmox 2.3 ]

T

TonyDu92

Guest
i create a CT MACHIN with Debian 6.0 ,but when a use the command " ping google.com"
i receive " Network is unreachable "

IT'S WORK !!!
FOR THOSE WHO GET THE SAME PROBLEM :
1. edit /etc/network/interfaces and add eth0 for DHCP
Code:
auto eth0
iface eth0 inet dhcp

2. RESTART THE CONSOLE
 
Last edited by a moderator:
Re: Can't connect ct/debian 6.0 to network

please Help !!!!!!
 
Re: Can't connect ct/debian 6.0 to network

You have given no information for anyone to help you.

1. Did you assign the CT an IP or did you connect it to a VMBR?
2. If you connected to a VMBR, did you configure your network interfaces in the CT?
3. Do you have other KVM guests or CTs that are working?

Provide information if you want help. Saying 'I created a CT but it doesnt work', doesnt help anyone understand the issue. It's your environment, what have you done to it? What troubleshooting have you done?
 
Re: Can't connect ct/debian 6.0 to network

this is the config that i used
aa.PNG
 
Re: Can't connect ct/debian 6.0 to network

So you used a vmbr....
when using a vmbr with a CT, you need to manually configure the ethernet device inside the CT
With Debian you need to edit /etc/network/interfaces and add eth0
for DHCP
Code:
auto eth0
iface eth0 inet dhcp


If you were to use an IP instead of vmbr you wouldnt have to do anything, it would just work
 
Re: Can't connect ct/debian 6.0 to network

ewuewu
when i test what u give to me i receive that
capt1.PNG
 
Re: Can't connect ct/debian 6.0 to network

Hi TonyDu92,

what are the results of 'ifconfig' and 'route -n'?
 
Re: Can't connect ct/debian 6.0 to network

for ifconfig :

ifconfig.PNG

for route -n :
route-n.PNG
 
Re: Can't connect ct/debian 6.0 to network

after creating the entries in /etc/network/interfaces, you need to stop and start the networking service.

until networking has been restarted, you will not see an interface in ifconfig.

there is no firewall enabled by default in debian, so iptables is not the issue.

once your interfaces file has been modified, just reboot it to make sure all services are working properly.
 
Re: Can't connect ct/debian 6.0 to network

THANK YOU ! IT'S WORK !!!
FOR THOSE WHO GET THE SAME PROBLEM :
1. edit /etc/network/interfaces and add eth0
for DHCP
auto eth0
iface eth0 inet dhcp

2. RESTART THE CONSOLE
 

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!