From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Glynn S. Condez" Date: Sat, 23 Feb 2002 00:59:52 +0000 Subject: [LARTC] Pls help with proxyarp Message-Id: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org Hello everyone, pls help me to make this work. I really need to have a tunnel who have the same subnet and I cant make it work. Here is my simple setup with my network A and network B, it working fine with differnt subnet. Pls correct this for same left/right ip address. I really need it. Thanks #Network A /sbin/echo 1 > /proc/sys/net/ipv4/ip_forward /sbin/ipchains -A forward -s 192.168.1.0/24 -j MASQ /sbin/ipchains -A forward -s 192.168.2.0/24 -j MASQ /sbin/insmod ip_gre /sbin/ip tunnel add alas mode gre remote x.x.x.x local y.y.y.y ttl 255 /sbin/ip link set netb up /sbin/ip addr add 192.168.1.1 dev netb /sbin/ip route add 192.168.2.0/24 dev netb --------------------------------------------------------------------------- --- #Network B /sbin/echo 1 > /proc/sys/net/ipv4/ip_forward /sbin/ipchains -A forward -s 192.168.2.0/24 -j MASQ /sbin/ipchains -A forward -s 192.168.1.0/24 -j MASQ /sbin/insmod ip_gre /sbin/ip tunnel add text mode gre remote y.y.y.y local x.x.x.x ttl 255 /sbin/ip link set neta up /sbin/ip addr add 192.168.2.1 dev neta /sbin/ip route add 192.168.1.0/24 dev neta _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/