network configuration problem in ubuntu 9.10

Tony Arnold tony.arnold at manchester.ac.uk
Sat Mar 13 23:28:12 UTC 2010


Tom H wrote:
>> I met some problem when I configure network after installation.
>> I revise /etc/network/interfaces as follows:
> 
>> auto lo
>> iface lo inet loopback
>> auto eth0
>> iface eth0 inet static
>> address 58.196.140.8
>> hwaddress ether 00:05:BA:58:C5:CC
>> netmask 255.255.255.0
>> gateway 58.194.128.1
>> dns-nameservers 202.120.2.101
> 
>> Then, I typed:
>> /etc/init.d/networking restart
> 
>> But the system said:
>> *Reconfiguring network interfaces...
>> SIOCADDRT: No such process
>> Failed to bring up eth0
> 
> You cannot have
> address 58.196.140.8
> netmask 255.255.255.0
> 
> with
> gateway 58.194.128.1
> 

True. As your IP address is a class A address, I would expect the
netmask to be 255.0.0.0

Regards,
Tony.





More information about the ubuntu-users mailing list