On Feb 25, 2002 at 12:59, Teodor Cimpoesu <[EMAIL PROTECTED]> wrote:
> 
> A facut careva tunneling in FreeBSD?
> Any hints? :)
> 

Daca un tunnel ipip iti este de ajuns, atunci vezi gifconfig.
Uite un exemplu de setare a unui tunel bsd<->linux:

bsd:
gifconfig gif0 inet 192.168.46.61 192.168.47.34
ifconfig gif0 inet 10.1.1.60 10.1.1.34


linux:
ip tu add bsd0 mode ipip remote 192.168.46.61 local 192.168.47.34
ip addr add 10.1.1.34 dev bsd0
ip li set bsd0 up
ip ro add 10.1.1.60/32 dev bsd0


ping 10.1.1.60

tcpdump -nli eth0 proto 4

tcpdump: listening on eth0
00:56:20.467187 192.168.47.34 > 192.168.46.61: 10.1.1.34 > 10.1.1.60:
icmp: echo request (DF) (ipip)
00:56:20.467381 192.168.46.61 > 192.168.47.34: 10.1.1.60 > 10.1.1.34:
icmp: echo reply (DF) (ipip)


Andrei
__________________________________________________________
Send 'unsubscribe rofug' to [EMAIL PROTECTED] to unsubscribe

Raspunde prin e-mail lui