Skip to contentSkip to conversation

connecting ipv6 nodes throu' ipv4 network ....

DISCUSSION santosh kumar gowda 3 participants 3 messages Feb 20, 2003

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi,

I have two Linux nodes( hosts ) enabled with IPv6.

IPv6 addr of machine-1 is 3ff3:1234::1
IPv6 addr of machine-2 is 3ff3:1234::2

My LAN is based on IPv4.
To make these IPv6-hosts to communicate on the LAN, what configuration do i need to make ???

I tried connecting only these two machines using a cross cable and sending IPv6 packets. But it failed. Is it correct to do so ???

thanx in advance.

-San
------------------------------------------------------

#1 lore raw

In article <[email protected]> (at 20 Feb 2003 10:47:19 -0000), "santosh kumar gowda" <[email protected]> says:

Quoted 2 lines

I tried connecting only these two machines using a cross cable and sending IPv6 packets. But it failed. Is it correct to do so ???

Please show your exact configuration / command / output, etc. What do you mean by "it failed"?
Any messages?

Signature · 2 lines
Hideaki YOSHIFUJI @ USAGI Project <[email protected]>
GPG FP: 9022 65EB 1ECF 3AD1 0BDF  80D8 4807 F894 E062 0EEA
#2 lore raw
In reply to santosh kumar gowda
Quoted 5 lines

IPv6 addr of machine-1 is 3ff3:1234::1
IPv6 addr of machine-2 is 3ff3:1234::2
My LAN is based on IPv4.
To make these IPv6-hosts to communicate on the LAN, what configuration do i need to make ???

Well, as in ipv4 the hosts need an address and routing:
machine-1:

# ip addr add 3ff3:1234::1 dev eth0
# ip route add 3ffe:1234/mask dev eth0

machine-2:

# ip addr add 3ff3:1234::1 dev eth0
# ip route add 3ff3:1234/mask dev eth0

If you have a route to the ip6 world, then add to them:

# ip route add 2001::/3 via (your:ip6:router:address) dev eth0
Quoted 2 lines

I tried connecting only these two machines using a cross cable and sending IPv6 packets. But it failed. Is it correct to do so ???

Should work, maybe the cables are bad?

Regards,
Maciej