D
D
Denis2015-10-30 17:34:42
Computer networks
Denis, 2015-10-30 17:34:42

How to distribute ipv6 through sit-tunnel?

Good morning.
The point is this.

ID:
0. A piece of iron in the provider's IPv4 network, with a white address (let it be a Server) + a piece of iron with a gray address in the network of the same provider (the Client, therefore).
1. There is an ipv6 tunnel from Hurricane Electric to the Server. The server on ipv6 to go to a network. Khuriki also gives a routed / 64 network to the tunnels in welding.
3. There is a desire to distribute addresses from / 64 over the provider's locale through the sit-tunnel.

On the Client, I create a tunnel as follows:
Manual configuration example

# modprobe ipv6
# ip tu ad sittun mode sit local 10.7.7.7 remote 10.8.8.8 ttl 64 dev eth0
# ip ad ad dev sittun 2001:0DB8:1234::000e/127(* )
# ip li se dev sittun up
# ip -6 ro ad2001:0DB8:5678::/64 (*) via 2001:0DB8:1234::000f(*)
Source . Naturally, I substitute my addresses, and v4 and v6.

On the server I do this:
# ip tunnel add tun6in4 mode sit local remote any
# ip link set tun6in4 up
# ip add add <address from my /64(*)> dev tun6in4
But the server is not pinged from the client, but the client is from the server.

(*) On the server I set as the address - a free address from my /64, but on the client I set it as gw.
I understand that it smacks of idiocy, at least, but poke your nose, which is not so.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
H
hobbyte, 2015-10-31
@hobbyte

Eeeee, shouldn't the tunnel setup on the server and client be identical?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question