Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 03-11-2014, 09:49 AM   #1
LQ Newbie
Registered: Mar 2014
Posts: 5

Rep: Reputation: Disabled
IPv4 and IPv6 Dual Stack issue with routes in /etc/network/interfaces

Hi there,

Im configuring dual-stack on a Debian machine and as soon as I uncomment "post-up and "pre-down" lines in the configuration file I get the following error:

RTNETLINK answers: File exists
Failed to bring up eth1.

This is how my configuration file looks, as soon as I comment out the "post-up" and "pre-down" lines then my eth1 gets the IPv6 address. If I comment out the inet6 interface then my configure works perfectly adding the routes to the appropriate network.

auto eth1
iface eth1 inet static
post-up ip route add via
pre-down ip route add via

iface eth1 inet6 static
address 2001:23::207:129
netmask 112

Please advise as I need these routes to be added on startup.

Old 03-12-2014, 06:18 AM   #2
LQ Newbie
Registered: Mar 2014
Posts: 5

Original Poster
Rep: Reputation: Disabled
Needed to add pre-up modprobe ipv6 into my /etc/network/interfaces file, I assume this is because I am currently using an old disto.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Me (only ipv6) trying to use my servers dual stack capability jostillmanns Linux - Networking 2 09-15-2013 07:41 AM
Dual Stack IPv4/IPv6 on Ubuntu 10.04? jimbo1954 Linux - Networking 3 09-20-2010 05:27 AM
How to enable duel ipv4/ipv6 stack on Linux bostan Linux - Networking 1 03-13-2010 07:30 PM
LXer: Linux Apache Dual Stacked IPv4 and IPv6 Configuration LXer Syndicated Linux News 0 08-29-2009 04:50 PM
IPV4/IPV6 Dual Stack Usage spotmax777 Linux - Networking 1 07-17-2007 07:25 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:49 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration