LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-17-2012, 02:48 PM   #1
peeyushpd
LQ Newbie
 
Registered: Feb 2012
Posts: 20

Rep: Reputation: Disabled
Communication between two Network Interfaces (with IPv6 addresses) within same system


I have two interfaces,
eth0 and wlan0, both having default IPv6 addresses.

I am pinging to wlan0 address from another ubuntu machine connected to eth0.
I am receiving ICMPv6 packets on eth0, but not able to forward it on wlan0.

I have set below ip6tables FORWARD policy on my machine with source as eth0 IPv6 address and destination as wlan0 IPv6 address. But the packets are not getting forwarded to wlan0.

ip6tables -A FORWARD -o wlan0 -i eth0 -d fe80::be77:37ff:fe59:c6e4 -s fe80::1a03:73ff:fe53:e5c4 -j ACCEPT

Can anyone help on the issue. For IPv4 addresses it is working, but not for IPv6 addresses.

Thanks,
Peeyush
 
Old 03-18-2012, 07:51 AM   #2
Celyr
Member
 
Registered: Mar 2012
Location: Italy
Distribution: Slackware+Debian
Posts: 321

Rep: Reputation: 81
What about
Code:
cat /proc/sys/net/ipv6/conf/all/forwarding
If it's 0 put it to 1 with
Code:
echo 1 > /proc/sys/net/ipv6/conf/all/forwarding
Hope it helps
 
Old 03-18-2012, 02:04 PM   #3
peeyushpd
LQ Newbie
 
Registered: Feb 2012
Posts: 20

Original Poster
Rep: Reputation: Disabled
Communication between two Network Interfaces (with IPv6 addresses) within same

Quote:
Originally Posted by Celyr View Post
What about
Code:
cat /proc/sys/net/ipv6/conf/all/forwarding
If it's 0 put it to 1 with
Code:
echo 1 > /proc/sys/net/ipv6/conf/all/forwarding
Hope it helps
Thanks Celyr,
But I have already set ipv4 and ipv6 forwarding to 1.
Hope I have done the configuration correctly.

Thanks,
Peeyush
 
  


Reply



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
LXer: Another IPv6 Crash Course For Linux: Real IPv6 Addresses, Routing, Name Services LXer Syndicated Linux News 0 04-21-2011 07:40 AM
how to get system network interfaces using qt3 code or programming rakesh.n Linux - Newbie 5 03-12-2009 02:35 PM
Fault in KDE processes communication: Could not read network communication list Magnus Johansson MEPIS 0 03-30-2008 12:50 PM
URGENT:: System Call to find out all the active network interfaces mghiya Programming 5 02-14-2006 03:50 PM
Detecting IPv6 addresses of interfaces obashir Programming 4 11-13-2002 07:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:52 AM.

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