Hi,
I just tried to set up an IPIP-tunnel with proxy for part of a network
on one end. I noticed the following problems:
BTW, I'm using linux-2.2.0pre7ac5 and net-tools-1.49 compiled from a
net-tools-1.49-1.src.rpm found in redhat's hurricane contrib.
One other thing, is there any good documentation for the IPIP-tunnel
device to be found, all I could find was documentation for the
2.0-kernels and the syntax has changed somewhat.
/Christer
---
ifconfig on a IP-tunnel device loses the P-t-P attribute.
the tunnel device is set up with:
ifconfig tunl0 192.168.150.2 pointopoint 192.168.151.1 netmask 255.255.255.0
ifconfig on a tunnel device with 2.2.0-pre7ac5 shows:
tunl0 Link encap:IPIP Tunnel HWaddr
inet addr:192.168.150.2 Mask:255.255.255.0
while ifconfig on a tunnel device with 2.0.36 shows:
tunl0 Link encap:IPIP Tunnel HWaddr
inet addr:192.168.150.2 P-t-P:192.168.151.1 Mask:255.255.255.0
So the 2.2-kernel shows the wrong result. I belive I have to set up
the tunnel device as pointopoint, since when I tried it witout I
couldn't get it to work.
---
Proxy arp for networks using a netmask doesn't work.
I.e. the following command is just ignored and won't show up in
/proc/net/arp:
arp -i eth0 -s 192.168.150.0 de:ad:be:ef:ed:00 netmask 255.255.255.240 pub
I've replaced it with a loop like this right now which works but is
kind of ugly and I was hoping for a better way to do it:
for i in 1 2 3 4 ... 13 14
do
arp -i eth0 -s 192.168.150.$i de:ad:be:ef:ed:00 pub
done
---
--
If it's tourist season, why can't we shoot them?
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]