[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: defining static IPv6 addresses in /etc/network/interfaces



On Fri, Mar 06, 2009 at 08:04:03PM +1100, Jason White wrote:
> I have a static IPv4 address defined in /etc/network/interfaces, as in
> iface eth1 inet static
> address 192.168.0.2
> netmask 255.255.255.0
> gateway 192.168.0.1
>
> If I now try to add a static IPv6 interface:
>
> interface eth1 inet6 static
> address 2001:470:801f::1
> netmask 64
> gateway 2001:470:1f05:15a::1
>
> I get a "duplicate option" error whenever I try to bring the interface up or
> down with ifup/ifdown.
>
> This is a reasonably up to date Debian Sid system.
>
> Am I configuring this incorrectly, or is there a bug?

This sort of configuration works for me, with the change
s/interface/iface/ (it's not clear whether that was just a typo in your
mail or whether that could be the problem).

Dominic.

-- 
Dominic Hargreaves | http://www.larted.org.uk/~dom/
PGP key 5178E2A5 from the.earth.li (keyserver,web,email)


Reply to: