* [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
* Re: [LARTC] Pls help with proxyarp
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
1 sibling, 0 replies; 3+ messages in thread
From: bert hubert @ 2002-02-23 18:43 UTC (permalink / raw)
To: lartc
On Sat, Feb 23, 2002 at 09:13:35AM +0800, Glynn S. Condez wrote:
> 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
I haven't read your message exactly yet, but do note that the HOWTO used to
list the explanation of proxy arp the wrong way round. Please recheck with
the current HOWTO (http://ds9a.nl/lartc) if you are doing the right thing.
Regards,
bert
--
http://www.PowerDNS.com Versatile DNS Software & Services
http://www.tk the dot in .tk
Netherlabs BV / Rent-a-Nerd.nl - Nerd Available -
Linux Advanced Routing & Traffic Control: http://ds9a.nl/lartc
_______________________________________________
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
* Re: [LARTC] Pls help with proxyarp
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
1 sibling, 0 replies; 3+ messages in thread
From: Ard van Breemen @ 2002-02-24 20:10 UTC (permalink / raw)
To: lartc
On Sat, Feb 23, 2002 at 07:43:17PM +0100, bert hubert wrote:
> On Sat, Feb 23, 2002 at 09:13:35AM +0800, Glynn S. Condez wrote:
> > 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
> I haven't read your message exactly yet, but do note that the HOWTO used to
> list the explanation of proxy arp the wrong way round. Please recheck with
> the current HOWTO (http://ds9a.nl/lartc) if you are doing the right thing.
Eh, he does nothing with proxy-arp.
So I am really puzzled here. Especially the MASQ entries? Why? What?
Glynn, would you care to explain your setup, more like what are you
trying to do?
Because: yes: you can have a proxy-arp "bridge" (remember, it will not
learn anything) using a tunnel, connecting the same subnets. Both ends
of the tunnel must exactly know where each system resides with respect
to the tunnel. And no, this has nothing to do with netfilter,
masquerading, etc. . You still are in the pure routing domain.
--
<ard@telegraafnet.nl> Telegraaf Elektronische Media http://wwwijzer.nl
http://leerquoten.monster.org/ http://www.faqs.org/rfcs/rfc1855.html
Let your government know you value your freedom. Sign the petition:
http://petition.eurolinux.org/
_______________________________________________
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.