Jump to content

IPIP tunnel


Dinh Tran
 Share

Recommended Posts

Hi,

 

I want to set up a IPIP tunnel between 2 machines running Mandriva 2006.

Machine A have IP address = 192.168.240.1 and machine B have 192.168.242.1.

 

A: eth1 192.168.240.1 eth0 192.168.241.2

X: eth1 192.168.241.3 eth0 192.168.242.3

B: eth0 192.168.242.1

 

On machine A:

ip tunnel add mode tunl1 local 192.168.240.1 remote 192.168.242.1

ip addr add dev tunl1 local 192.168.240.1 peer 192.168.242.1

ip link set tunl1 up

 

On machine B:

ip tunnel add mode tunl1 local 192.168.242.1 remote 192.168.240.1

ip addr add dev tunl1 local 192.168.242.1 peer 192.168.240.1

ip link set tunl1 up

 

Using ifconfig, I see that tunl1 is up. But I can not ping from A to B or inverse. Could anyone help me what the probleme would be please? If you have any documents related to this topic, could you please send it to me too? I was searching for one online but I didn't really find anything.

 

Thanks a lot,

Best regards,

 

Dinhh Tran

Link to comment
Share on other sites

Ok I might be wasting your time here, but have you seen FUSE or SSHFS is basically a tunneling viia SSH but the OS mount it as a shared filesystem.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...