[ale] vm interface config

John Heim john at johnheim.net
Wed Jul 20 12:28:47 EDT 2011


Hi,

I am working on a web site & email lists for a non-profit. A company is 
supplying us with a virtual machine. But mailman doesn't work because it 
cannot contact the sntp server on the vm's IP address. The vm has the IP 
address of 66.170.20.226. But the /etc/network/interfaces fhile has eth0 
configured as 192.168.1.226. Does anyone know if there is some reason for 
that or is it a mistake?I already emailed the ISP but, well, frankly they 
haven't exactly been quick with the responses to tech support questions.

So eth0 is configured as 66.170.20.226 to the outside world and 
192.168.1.226 on the machine itself. I figure that's why processes like 
mailman can't talk to the snmp server or web server at 66.170.20.226. I'm 
kind of surprised outgoing packets get through at all.

Here is the relevant segment of /etc/network/interfaces:

# The primary network interface
auto eth0
iface eth0 inet static
 address 192.168.1.226
 netmask 255.255.255.0
 network 192.168.1.0
 broadcast 192.168.1.255
 gateway 192.168.1.1
 # dns-* options are implemented by the resolvconf package, if installed
 dns-nameservers 127.0.0.1 66.170.1.10 66.170.1.19 10.111.111.4
 dns-search iavit.org



More information about the Ale mailing list