Hi,
i've a machine with proxmox v1.9 and i'm trying to build e guest debian 6 install with networking.
I downloaded the template e created the VM.
My trouble start with networking. I can't find a way to see the guest debian on the internet.
Can someone help me to understand venet usage ?
Thanks in advance
Addition info:
I have two public ip addresses assigned by my ISP. These addresses are in different subnets and my provider send all traffic relevant for those IPs to the eth0 on the host Proxmox. If i try to ping these addresses i can see the traffic on the ethernet interface eth0 on proxmox host (with tcpdump).
Public ip address of proxmox: 111.111.111.111/24
Default gateway for proxmox: 111.111.111.254
Ip address for guest: 222.222.222.222/32
This if the config of interfaces on host:
i've a machine with proxmox v1.9 and i'm trying to build e guest debian 6 install with networking.
I downloaded the template e created the VM.
My trouble start with networking. I can't find a way to see the guest debian on the internet.
Can someone help me to understand venet usage ?
Thanks in advance
Addition info:
I have two public ip addresses assigned by my ISP. These addresses are in different subnets and my provider send all traffic relevant for those IPs to the eth0 on the host Proxmox. If i try to ping these addresses i can see the traffic on the ethernet interface eth0 on proxmox host (with tcpdump).
Public ip address of proxmox: 111.111.111.111/24
Default gateway for proxmox: 111.111.111.254
Ip address for guest: 222.222.222.222/32
This if the config of interfaces on host:
Code:
HOST Proxmox
root@myhost:~# ifconfig
dummy0 Link encap:Ethernet HWaddr e6:9f:37:66:c4:86
inet6 addr: fe80::e499:37ff:fe66:c486/64 Scope:Link
UP BROADCAST RUNNING NOARP MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:689 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:31958 (31.2 KiB)
eth0 Link encap:Ethernet HWaddr e0:69:95:e5:90:3a
inet6 addr: fe80::e222:95ff:fee5:903a/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3503648 errors:0 dropped:0 overruns:0 frame:0
TX packets:1602660 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:5083568014 (4.7 GiB) TX bytes:123459216 (117.7 MiB)
Interrupt:20 Memory:fe500000-fe520000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:63294 errors:0 dropped:0 overruns:0 frame:0
TX packets:63294 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:18802491 (17.9 MiB) TX bytes:18802491 (17.9 MiB)
venet0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet6 addr: fe80::1/128 Scope:Link
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1
RX packets:747 errors:0 dropped:0 overruns:0 frame:0
TX packets:817 errors:0 dropped:3 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:52021 (50.8 KiB) TX bytes:996360 (973.0 KiB)
vmbr0 Link encap:Ethernet HWaddr e0:69:95:e5:90:3a
inet addr:111.111.111.111 Bcast:111.111.111.255 Mask:255.255.255.0
inet6 addr: fe80::e222:95ff:fee5:903a/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2152516 errors:0 dropped:0 overruns:0 frame:0
TX packets:1597302 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:4963086374 (4.6 GiB) TX bytes:123175264 (117.4 MiB)
vmbr1 Link encap:Ethernet HWaddr e6:9f:37:66:c4:86
inet6 addr: fe80::e499:37ff:fe66:c486/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:468 (468.0 B)
Code:
Routing table HOST
root@myhost# ip route
222.222.222.222 dev venet0 scope link
111.111.111.0/24 dev vmbr0 proto kernel scope link src 111.111.111.111
default via 111.111.111.254 dev vmbr0
Code:
Guest Debian 6 i386 ifconfig:
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:4 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:348 (348.0 B) TX bytes:348 (348.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:781 errors:0 dropped:0 overruns:0 frame:0
TX packets:291 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:993252 (969.9 KiB) TX bytes:23798 (23.2 KiB)
venet0:0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:222.222.222.222 P-t-P:222.222.222.222 Bcast:0.0.0.0 Mask:255.255.255.0
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1
Code:
Routing table GUEST
root@guest:/# ip route
222.222.222.0/24 dev venet0 proto kernel scope link src 222.222.222.222
default dev venet0 scope link