Hello,
On Sun, 3 Aug 2003, Easytrans Systems (Laurie Baker) wrote:
> Hmm... So I would have thought that each tunnel should have a unique or am I
> being a fool and you have defined VIP-1 & VIP-2 in the hosts file somewhere?
> if so what is the "ifconfig tunl0 0.0.0.0 up" all about?
Init IP protocol on this interface (add /proc entries, etc)
before allowing the traffic by adding IPs.
> /sbin/ifconfig tunl0 192.168.1.100 netmask 255.255.255.255 broadcast
> 192.168.1.100 up
> /sbin/route add -host 192.168.1.100 dev tunl0
> and
> /sbin/ifconfig tunl0:1 192.168.1.200 netmask 255.255.255.255 broadcast
> 192.168.1.200 up
> /sbin/route add -host 192.168.1.200 dev tunl0:1
Adding broadcasts and -host routes to local IP addresses
is superfluous starting from kernel 2.2.
Regards
--
Julian Anastasov <ja@xxxxxx>
|