/etc/network/interfaces problem

Hello
i am configuring a debian lenny sever ,/etc/network/interfaces is modified so that eth1 takes a static IP address
then i save it wq!
then i restart the networking , /etc/init.d/networking restart .
but after reboot ,the file is reset ,note that the interfaces had by defauklt IPv6 address that is restored after reboot.
can anyone help please?
Regards...

Hi,

could you show us the modified file and output of:

ip link

Hi Luka
please advice........

localhost:/etc/network# more interfaces
# Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or
# /usr/share/doc/ifupdown/examples for more information.

# The loopback network interface
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet dhcp
auto eth1
iface eth1 inet static
        address x.y.z.w
        netmask 255.255.255.224
        gateway x.y.z.v
        up route add -net v.v.v.v netmask 255.255.0.0 gw x.y.z.v
        down route del -net v.v.v.v netmask 255.255.0.0 gw x.y.z.v




//////////////////////////////////////////////////////////////////
localhost:/etc/network# ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
    link/ether <MAC-addr> brd ff:ff:ff:ff:ff:ff
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 1000
    link/ether <MAC-addr> brd ff:ff:ff:ff:ff:ff

What do you mean by "the file is reset"? That your changes are deleted?

yes,plz advice...

Have you restart the interface? /etc/init.d/networking restart? or ifdown and ifup?