[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
(usagi-users 03936) Using ipv4 over ipv6
- To: usagi-users@xxxxxxxxxxxxxx
- Subject: (usagi-users 03936) Using ipv4 over ipv6
- From: Varun Chandramohan <varunc@xxxxxxxxxxxxxxxxxx>
- Date: Mon, 10 Sep 2007 14:24:04 +0530
- Reply-to: usagi-users@xxxxxxxxxxxxxx
- User-agent: Thunderbird 2.0.0.0 (X11/20070418)
Hi All,
I have a system setup where i want to send ipv4 packets over
ipv6 n/w. I suppose this feature has been recently added in 2.6.22. So
iam using that kernel.
My setup:
(eth1) (eth0)
172.16.15.0/24
3001:470:1f00:ffff::190 192.168.1.1
-----------------------------------| RT1
|----------------------------------| RT 2 |---------------------------
192.168.1.0/24
172.16.15.1
3001:470:1f00:ffff::189
(eth0) (eth1)
I created a tunnel using ip6_tunnel, which i believe has this support.
RT 1:
#ip -6 tunnel add mytun remote 3001:470:1f00:ffff::189 local
3001:470:1f00:ffff::190 dev eth1
#ip link set dev mytun up
#ip -6 addr add 4001:470:1f00:ffff::190 dev mytun
#route add -net 192.168.1.0/24 mytun
RT2:
#ip -6 tunnel add mytun remote 3001:470:1f00:ffff::190 local
3001:470:1f00:ffff::189 dev eth1
#ip link set dev mytun up
#ip -6 addr add 5001:470:1f00:ffff::190 dev mytun
#route add -net 172.16.15.0/24 mytun
With this i thought i can ping from 192.x.x.x to 172.x.x.x and vice
versa. But its not happening :(. Iam not sure why. When i capture
packets on the eth1 interface, i dont see packets coming out. Please help.
btw, i have enabled fwd for ipv6 and ipv4 also and flushed all ip6tables
and iptables rules just in case.
Regards,
Varun