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 10-10-2008, 12:26 PM   #1
azeus
LQ Newbie
 
Registered: Jan 2008
Posts: 14

Rep: Reputation: 0
IPv6 forwarding


I have two network
one is DMZ and one is Internal zone
both run IPV6
a linux server CentOS has two interface to connect both zone
I had set
net.ipv6.conf.all.forwarding = 1

however, the internal zone machine cannot ping DMZ machine.

The error message is that " connect: Network is unreachable"

Do I miss out something?
 
Old 10-10-2008, 08:44 PM   #2
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 76
Are you using link-local addresses? If so, those won't forward.
 
Old 10-10-2008, 11:09 PM   #3
azeus
LQ Newbie
 
Registered: Jan 2008
Posts: 14

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by chort View Post
Are you using link-local addresses? If so, those won't forward.
No, I set the ip manually which is "Scope:Global"
 
Old 10-11-2008, 12:37 AM   #4
azeus
LQ Newbie
 
Registered: Jan 2008
Posts: 14

Original Poster
Rep: Reputation: 0
Oh
i think it is my gateway setting problem

ip -6 route show eth0

interface eth0 has default route

however no default route find in eth1

how to set eth1 route packet to eth0??
 
Old 10-11-2008, 08:45 AM   #5
estabroo
Senior Member
 
Registered: Jun 2008
Distribution: debian, ubuntu, sidux
Posts: 1,126
Blog Entries: 2

Rep: Reputation: 124Reputation: 124
Make sure that forwarding is really on:

cat /proc/sys/net/ipv6/conf/all/forwarding

if its a 0 do echo 1 > /proc/sys/net/ipv6/conf/all/forwarding
 
Old 10-11-2008, 01:04 PM   #6
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 76
The default route should point to only one interface. If you attempt to set multiple default routes, you'll just cause more problems.
 
Old 10-12-2008, 09:57 AM   #7
azeus
LQ Newbie
 
Registered: Jan 2008
Posts: 14

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by estabroo View Post
Make sure that forwarding is really on:

cat /proc/sys/net/ipv6/conf/all/forwarding

if its a 0 do echo 1 > /proc/sys/net/ipv6/conf/all/forwarding
Thank you
yes
it is 1


When my internal machine ping6 DMZ machine
this error come out
connect: Network is unreachable
 
Old 10-12-2008, 10:30 AM   #8
azeus
LQ Newbie
 
Registered: Jan 2008
Posts: 14

Original Poster
Rep: Reputation: 0
reboot is god
I reboot the machines and the internal machines
then internal can ping the eth0 interface of that connection machine
but still cannot ping DMZ

7 packets transmitted, 0 received, 100% packet loss, time 6008ms

Last edited by azeus; 10-12-2008 at 10:37 AM.
 
Old 10-12-2008, 11:42 AM   #9
azeus
LQ Newbie
 
Registered: Jan 2008
Posts: 14

Original Poster
Rep: Reputation: 0
the problem is fixed
The behind reason is my router setting without return path

thank you everyone
 
Old 11-05-2010, 09:32 PM   #10
kimhien1989
LQ Newbie
 
Registered: Nov 2010
Posts: 2

Rep: Reputation: 0
Quote:
Originally Posted by azeus View Post
the problem is fixed
The behind reason is my router setting without return path

thank you everyone
I have a trouble similar to you.Can you help me config my Router (RHL 5) with return path ? What is return path in Linux ?
 
  


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
how to enable IPv6 forwarding diya_1426 Linux - Networking 3 08-13-2011 11:42 AM
IPv6 forwarding Tux-Slack Linux - Networking 1 03-26-2008 04:52 PM
How to set IPv6 address on IPv6 router tlemons Linux - Networking 3 09-17-2007 01:25 PM
Simple Port Forwarding Firewall - not forwarding MadTurki Linux - Security 14 04-09-2006 12:08 PM
port forwarding and packet forwarding syrtsardo Linux - Newbie 2 07-03-2003 10:37 AM

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

All times are GMT -5. The time now is 09:03 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