[SOLVED] CT ping unknown host ?

ibasaw

Member
Jan 4, 2014
39
0
6
Hi,

new on proxmox, got version 3

I created a CT with template debian 64

in my guest CT debian, i cant ping internet or do an apt-get update

Here my conf

/etc/network/interfaces
Code:
auto lo
iface lo inet loopback

iface eth0 inet manual

iface eth1 inet manual

auto vmbr0
iface vmbr0 inet static
    address xx.xx.xx.205
    netmask 255.255.255.0
    gateway xx.xx.xx.1
    bridge_ports eth0
    bridge_stp off
    bridge_fd 0

route -n
Code:
route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.0.100   0.0.0.0         255.255.255.255 UH    0      0        0 venet0
62.210.0.0      0.0.0.0         255.255.0.0     U     0      0        0 vmbr0
0.0.0.0         xx.xx.xx.1    0.0.0.0         UG    0      0        0 vmbr0

I m lost !

Thank you for your help
++
 
Last edited:
Hi,
you use venet or bridge mode for CT networking? If bridge mode, you must simply define an normal IP-connection inside the CT (iface eth0 ...).

BTW. you netmask don't fit: netmask 255.255.255.0 != "62.210.0.0 0.0.0.0 255.255.0.0 U 0 0 0 vmbr0"

Udo
 
i use venet with the ip adress 192.168.0.100

i think the proxmox CT installer did the job to configure the guest automaticaly

i do nothing special on the guest
 
node
Code:
ifconfig
bond0     Link encap:Ethernet  HWaddr d4:ae:52:c7:31:84
          UP BROADCAST RUNNING MASTER MULTICAST  MTU:1500  Metric:1
          RX packets:57548 errors:0 dropped:0 overruns:0 frame:0
          TX packets:60791 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:11677926 (11.1 MiB)  TX bytes:19385585 (18.4 MiB)

eth0      Link encap:Ethernet  HWaddr d4:ae:52:c7:31:84
          UP BROADCAST RUNNING SLAVE MULTICAST  MTU:1500  Metric:1
          RX packets:57548 errors:0 dropped:0 overruns:0 frame:0
          TX packets:60791 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:11677926 (11.1 MiB)  TX bytes:19385585 (18.4 MiB)

eth1      Link encap:Ethernet  HWaddr d4:ae:52:c7:31:85
          UP BROADCAST SLAVE MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:18571 errors:0 dropped:0 overruns:0 frame:0
          TX packets:18571 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:11947495 (11.3 MiB)  TX bytes:11947495 (11.3 MiB)

venet0    Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          UP BROADCAST POINTOPOINT RUNNING NOARP  MTU:1500  Metric:1
          RX packets:8 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:472 (472.0 B)  TX bytes:0 (0.0 B)

vmbr0     Link encap:Ethernet  HWaddr d4:ae:52:c7:31:84
          inet addr:62.xx.xx.205  Bcast:62.xx.255.255  Mask:255.255.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:54272 errors:0 dropped:0 overruns:0 frame:0
          TX packets:24575 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:10308646 (9.8 MiB)  TX bytes:16910555 (16.1 MiB)

guest
Code:
 ifconfig
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

venet0    Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          inet addr:127.0.0.2  P-t-P:127.0.0.2  Bcast:0.0.0.0  Mask:255.255.255.255
          UP BROADCAST POINTOPOINT RUNNING NOARP  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

venet0:0  Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          inet addr:192.168.0.100  P-t-P:192.168.0.100  Bcast:192.168.0.100  Mask:255.255.255.255
          UP BROADCAST POINTOPOINT RUNNING NOARP  MTU:1500  Metric:1

how to put the guest on the same network as the host ?