2007/4/4, Arief Setiawan <aleifuu@xxxxxxxxx>:
Hi,
@maluyao : I didn't realize you wrote this document previously XD. I've read
it before but I just didn't realize.
it's the closest thing that fits my situation right now.
http://linux.chinaunix.net/bbs/attachment.php?aid=155735
There are new version here :
http://kb.linuxvirtualserver.org/wiki/LVS/TUN_mode_with_FreeBSD_and_Solaris_realserver
The bad news is .. I haven't been able to get it working =(
The slightly good news is .. yes I can create the gif0 device and config it.
I wonder if you can help me more.
here's my setting :
VIP 192.168.2.70 ( Linux BOX )
DIP 192.168.2.73 ( Linux BOX )
RIP 192.168.0.10 ( FreeBSD BOX loaded with pfsense. but basically it's a
FreeBSD BOX )
This is what I've done on FreeBSD box ( RealServer )
# ifconfig gif0 tunnel 192.168.0.10 192.168.2.70
( RIP -> DIP )
# ifconfig gif0 inet 192.168.2.73 192.168.2.72 netmask 255.255.255.0
( VIP -> ANY ? )
note : In the doco, you mentioned the other end could be any idle IP
and never use. In this case,
192.168.2.72 is idle IP on 192.168.2.0/24 network
# ifconfig gif0 up
# ifconfig gif0
gif0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1280
tunnel inet 192.168.0.10 --> 192.168.2.70
inet6 fe80::20c:29ff:fe81:1212%gif0 prefixlen 64 scopeid 0x8
inet 192.168.2.73 --> 192.168.2.72 netmask 0xffffff00
ldirectord is setup on Linux box ( Director )
|