On 28 Jul 2005 03:40:58 -0700, "hakim" <(E-Mail Removed)> wrote:
You probably want a netmask of 255.255.255.0 (if it's a class C
network).
Also, is the address you give it on your local network?
Dan
>Hi,
>
>I have rent a server. It is configured over dhcp in
>/etc/network/interfaces:
>
>auto lo
>iface lo inet loopback
>
>auto eth0
>iface eth0 inet dhcp
>
>I changed it to static like that in /etc/network/interfaces:
>
>auto lo
>iface lo inet loopback
>
>auto eth0
>iface eth0 inet static
>address x.x.x.x
>netmask 255.255.255.255
>broadcast x.x.x.x
>gateway x2.x2.x2.x2
>
>But the interface does not come up proberly. The only hint I have found
>is /etc/network/run/ifstate.
>
>Under dhcp looks ifstate like:
>
>lo=lo
>eth0=eth0
>
>And it works fine.
>
>under static ifstate looks like that:
>
>lo=lo
>
>It missess my eth0 interface and most probably it doesn't work because
>of that. The default gateway isn't up too. I have plugged in my own
>script after booting which tries to set a default gw but it doesn't
>show up.
>It is a server in the house of my provider.
>
>Does anyone have a hint why under static configuration the ifstate file
>does not list eth0=eth0 to bring up my interface correctly.
>
>Many Thanks...
>
>Achim
|