conflict between system settings/network and entries in /etc/network/interfaces
Patrick Asselman
iceblink at seti.nl
Tue Feb 11 08:53:00 UTC 2014
On 2014-02-09 12:02, robert rottermann wrote:
> On 02/09/2014 11:45 AM, Colin Law wrote:
>> On 9 February 2014 10:37, robert rottermann <robert at redcor.ch>
>> wrote:
>>> Hi there,
>>>
>>> as soon as I add an interface to /etc/network/interfaces the
>>> network becomes
>>> inaccessible upon next boot:
>>> here the entries I tried:
>>>
>>> # interfaces(5) file used by ifup(8) and ifdown(8)
>>> auto lo
>>> iface lo inet loopback
>>>
>>> auto eth0
>>> iface eth0 inet static
>>> address 192.168.1.30
>>> netmask 255.255.255.0
>>> gateway 10.168.1.200
>> The gateway has to be accessible from the pc so the gateway has to
>> be
>> 192.168.1.xxx
>>
>> Colin
> thanks, colin
> however this is the case, as the wlan gets an address in the range
> of the gateway (10.168.1.34)
>
> 10.168.1.200 is the ip of the cable modem.
>
> robert
So you have another interface (eth1?) that gets the address
10.168.1.34?
In that case your gateway statement should be part of that interface
definition.
It has no place here because it is outside the subnet of this
interface.
If that is not the case, please explain more about your network setup,
and please include *all* interfaces, not just what you think is relevant
;-)
Best regards,
Patrick Asselman
More information about the ubuntu-users
mailing list