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

Re: static ipv4 and ipv6 in interfaces file?



On Mon, Jun 20, 2005 at 02:04:02PM +0200, Simon Oosthoek wrote:
> On Mon, Jun 20, 2005 at 02:01:34PM +0200, Wouter Verhelst wrote:
> > On Mon, Jun 20, 2005 at 01:39:09PM +0200, Simon Oosthoek wrote:
> > > Hi all
> > > 
> > > I want to configure an interface with both static IPv4 and static IPv6
> > > addresses, how do I combine that in /etc/network/interfaces?
> > 
> > Extract from my server's interfaces:
> > 
> > auto eth0
> > iface eth0 inet static
> > 	address 192.168.119.16
> > 	netmask 255.255.255.0
> > iface eth0 inet6 static
> > 	address 2001:838:37f::1
> > 	netmask 64
> > 
> > i.e., you just add an extra stub for ipv6.
> > 
> 
> ok, and this should just come up when ifupping eth0?

That's the idea :-)

-- 
The amount of time between slipping on the peel and landing on the
pavement is precisely one bananosecond



Reply to: