Hi,
The VM running on Proxmox can't reach any machine besided the local network. What is the mistake I made.
The hosts network config cat /etc/network/interfaces
# network interface settings
auto lo
iface lo inet loopback
auto eth0
auto eth1
iface eth0 inet manual
iface eth1 inet static
address x.x.x.10
netmask 255.255.255.0
gateway x.x.x.1
iface eth2 inet manual
iface eth3 inet manual
auto vmbr0
iface vmbr0 inet static
address 192.168.240.80
netmask 255.255.255.0
gateway 192.168.240.1
bridge_ports eth0
bridge_stp off
bridge_fd 0
The routing table on the host:
route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.240.43 0.0.0.0 255.255.255.255 UH 0 0 0 venet0
192.168.240.0 0.0.0.0 255.255.255.0 U 0 0 0 vmbr0
x.x.x.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
0.0.0.0 x.x.x.1 0.0.0.0 UG 0 0 0 eth1
The VM's network config:
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:318 errors:0 dropped:0 overruns:0 frame:0
TX packets:318 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:40557 (39.6 KiB) TX bytes:40557 (39.6 KiB)
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.1 P-t-P:127.0.0.1 Bcast:0.0.0.0 Mask:255.255.255.255
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1
RX packets:126 errors:0 dropped:0 overruns:0 frame:0
TX packets:187 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:13601 (13.2 KiB) TX bytes:12366 (12.0 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:192.168.240.43 P-t-P:192.168.240.43 Bcast:192.168.240.43 Mask:255.255.255.255
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1
However the routing table shows:
route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 venet0
0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 venet0
I am sure its a small thing which I did wrong, but after looking and looking I don't see the mistake anymore
Thanks in advance
J
The VM running on Proxmox can't reach any machine besided the local network. What is the mistake I made.
The hosts network config cat /etc/network/interfaces
# network interface settings
auto lo
iface lo inet loopback
auto eth0
auto eth1
iface eth0 inet manual
iface eth1 inet static
address x.x.x.10
netmask 255.255.255.0
gateway x.x.x.1
iface eth2 inet manual
iface eth3 inet manual
auto vmbr0
iface vmbr0 inet static
address 192.168.240.80
netmask 255.255.255.0
gateway 192.168.240.1
bridge_ports eth0
bridge_stp off
bridge_fd 0
The routing table on the host:
route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.240.43 0.0.0.0 255.255.255.255 UH 0 0 0 venet0
192.168.240.0 0.0.0.0 255.255.255.0 U 0 0 0 vmbr0
x.x.x.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
0.0.0.0 x.x.x.1 0.0.0.0 UG 0 0 0 eth1
The VM's network config:
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:318 errors:0 dropped:0 overruns:0 frame:0
TX packets:318 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:40557 (39.6 KiB) TX bytes:40557 (39.6 KiB)
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.1 P-t-P:127.0.0.1 Bcast:0.0.0.0 Mask:255.255.255.255
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1
RX packets:126 errors:0 dropped:0 overruns:0 frame:0
TX packets:187 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:13601 (13.2 KiB) TX bytes:12366 (12.0 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:192.168.240.43 P-t-P:192.168.240.43 Bcast:192.168.240.43 Mask:255.255.255.255
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1
However the routing table shows:
route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 venet0
0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 venet0
I am sure its a small thing which I did wrong, but after looking and looking I don't see the mistake anymore
Thanks in advance
J