Aici veti gasi detalii tehnice despre cum se pot realiza configurari software+ hardware.
Here you can find tehnical details about software/hardware configuration.

marți, 21 ianuarie 2014

IPIP/GRE tunneling between FreeBSD and Linux

FreeBSD
=============================================
ifconfig gif0 create
ifconfig gif0 192.168.100.100 192.168.1.1
ifconfig gif0 tunnel 100.100.100.100 200.200.200.200

ifconfig gif0 mtu 1500 up
=============================================
Linux
============================================
insmod ipip
ip tunnel add tun0 mode ipip remote 200.200.200.200 local 100.100.100.100 dev eth0
 

ifconfig tun0 192.168.100.100 pointopoint 192.168.1.1  
ifconfig tun0 mmtu 1500
ifconfig tun0 mtu 1500
ifconfig tun0 up
============================================


==============================GRE=================================



FreeBSD
=================
ifconfig gre0 create
ifconfig gre0 tunnel x.x.x.x y.y.y.y
ifconfig gre0 192.168.100.100 192.168.1.1
ifconfig gre0 mtu 1500
ifconfig gre0 up

=================

Linux
=================
insmod ip_gre
ip tunnel add tun0 mode gre remote x.x.x.x local y.y.y.y ttl 255 

ifconfig tun0 192.168.100.100 pointopoint 192.168.1.1  
ifconfig tun0 mtu 1500
ifconfig tun0 up
 

=================

Map


Visitor Map