All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] Pls help with proxyarp
@ 2002-02-23  0:59 Glynn S. Condez
  2002-02-23 18:43 ` bert hubert
  2002-02-24 20:10 ` Ard van Breemen
  0 siblings, 2 replies; 3+ messages in thread
From: Glynn S. Condez @ 2002-02-23  0:59 UTC (permalink / raw)
  To: lartc

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/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-02-24 20:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-02-23  0:59 [LARTC] Pls help with proxyarp Glynn S. Condez
2002-02-23 18:43 ` bert hubert
2002-02-24 20:10 ` Ard van Breemen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.