Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-11-2009, 10:36 PM   #1
LQ Newbie
Registered: Jan 2009
Posts: 2

Rep: Reputation: 0
Running Linux IPv6 Router


I am running Linux kernel on an embedded platform and would like to use it as Linux IPv6 router. I am not interested in running many applications as of now except the routing capabilities due to limited memory availability on the system.
Can someone let me know what all the daemons+ applications that i need to load on this machine besides the desired Linux Kernel? Please also let me know the utilities that shall be useful in running and troubleshooting the router.

Thanks for your help,

Old 01-12-2009, 03:32 PM   #2
Registered: Sep 2005
Location: UK
Distribution: Gentoo/Debian/Ubuntu
Posts: 307

Rep: Reputation: 38
In the kernel config, enable IPv6 and net-router/netfiltering. Once done, grab iptables and you're all set
Old 01-13-2009, 05:05 AM   #3
LQ Newbie
Registered: Jan 2009
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks for the reply.
I have already enabled these features on the kernel configuration. In addition i am running radvd. Actually i am having following issues:

I am running linux kernel version 2.6.24.x for IPv6 on a embedded platform, the device is configured as router for IPv6. Currently no routing protocols are
running on the system as i am using static routing in test environment.

In addition i am running radvd on the router

I have connected a Linux based PC running IPv6 to one of the ethernet interface of the router. This PC is able to get global IPv6 address from router through Stateless Autoconfiguration procedures and configure this router as a default router. I am able to ping the router from the PC using the link-local address of the router. However, i am having issues as PC is not able to ping router on the global address. The one reason could be that router is not responding to neighbour solicitation request sent by PC for the global address.

In case i send ping from router to PC for the PC global address, the router is using its link-local address instead of global for sending the message and PC is replying on link-local address of the router.

My queries :
- Why does not router reply to Neighbour solicitation message? I checked the code and it seems to be checking IIF_OPTIMISTIC flag. Since this flag is not set, the router is responding. I could not understand the reason completely and what all changes are required for router to respond to NS query? Any pointers for the reasons shall also help.
- Why does router use its link-local address when message is to be sent to a global address? Is there anyway to force the device on using global IPv6 source address using some options.

Any pointers/help in this direction is appreciated.


PS: I have used 2001:1::Interface_id on the ethernet interface of the router.


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
How to set IPv6 address on IPv6 router tlemons Linux - Networking 3 09-17-2007 01:25 PM
LXer: Consortium Develops Linux-based IPv6 Router LXer Syndicated Linux News 0 04-30-2007 12:46 PM
IPV6 Router on a LAN thugic Linux - Networking 3 12-13-2005 10:43 AM
ipv6 NAT router pIscIs Slackware 4 11-19-2005 03:24 PM
<7>eth1: no IPv6 router present KLG Linux - Hardware 2 07-08-2005 08:01 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:58 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration