static IP problem with ifstate on debian sarge
From: hakim (hakim.st_at_web.de)
Date: 07/28/05
- Next message: Dan: "Re: static IP problem with ifstate on debian sarge"
- Previous message: Ad: "ONE Linux DHCP Server + Multiple VLANs - Soluble problem?"
- Next in thread: Dan: "Re: static IP problem with ifstate on debian sarge"
- Reply: Dan: "Re: static IP problem with ifstate on debian sarge"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 28 Jul 2005 03:40:58 -0700
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
- Next message: Dan: "Re: static IP problem with ifstate on debian sarge"
- Previous message: Ad: "ONE Linux DHCP Server + Multiple VLANs - Soluble problem?"
- Next in thread: Dan: "Re: static IP problem with ifstate on debian sarge"
- Reply: Dan: "Re: static IP problem with ifstate on debian sarge"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|