All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] routing in the same subnet
@ 2005-12-16 18:58 Adam Gawda
  2005-12-16 19:43 ` Andreas Unterkircher
  2005-12-16 20:10 ` Oscar Mechanic
  0 siblings, 2 replies; 3+ messages in thread
From: Adam Gawda @ 2005-12-16 18:58 UTC (permalink / raw)
  To: lartc

Hi,

I have IP 64.10.12.64/26 (example)
and there's gateway 64.10.12.65 and I want doing something like this:

 -------------------------------------64.10.12.65  GW        
 
---------------------------  ROUTER    -----------      --------------------clients 
          eth0 64.10.12.66               eth1  64.10.12.66                      from 64.10.12.67 to 126
          255.255.255.192             255.255.255.192                           255.255.255.192
                                                                                                          GW 64.10.12.65

I want have all clients behind router  (traffic shaper, firewall , etc). May I do it other method than subneting ? - because now doesn't work



----------------------------------------------------
Pamiêtaj o wszystkich/ -im w te ¶wiêta!
Zajrzyj na swieta.wp.pl i wygraj aparaty cyfrowe Panasonic!
Kliknij: http://klik.wp.pl/?adr=www.swieta.wp.pl&sidY9


_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

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

* Re: [LARTC] routing in the same subnet
  2005-12-16 18:58 [LARTC] routing in the same subnet Adam Gawda
@ 2005-12-16 19:43 ` Andreas Unterkircher
  2005-12-16 20:10 ` Oscar Mechanic
  1 sibling, 0 replies; 3+ messages in thread
From: Andreas Unterkircher @ 2005-12-16 19:43 UTC (permalink / raw)
  To: lartc

Any ugly trick is to active proxy_arp on the interfaces of the router 
(/proc/sys/net/ipv4/conf/*/proxy_arp).
Then the external interface will scream "i have it!" on all of the arp 
requests for the other ip addresses (as
soon as the router has the other machines in his arp-table). if you have 
ip_forward enabled and your clients
using the internal interface address of the router as gateway you have 
what you want.

Adam Gawda schrieb:
> Hi,
>
> I have IP 64.10.12.64/26 (example)
> and there's gateway 64.10.12.65 and I want doing something like this:
>
>  -------------------------------------64.10.12.65  GW        
>  
> ---------------------------  ROUTER    -----------      --------------------clients 
>           eth0 64.10.12.66               eth1  64.10.12.66                      from 64.10.12.67 to 126
>           255.255.255.192             255.255.255.192                           255.255.255.192
>                                                                                                           GW 64.10.12.65
>
> I want have all clients behind router  (traffic shaper, firewall , etc). May I do it other method than subneting ? - because now doesn't work
>
>
>
> ----------------------------------------------------
> Pamiêtaj o wszystkich/ -im w te ¶wiêta!
> Zajrzyj na swieta.wp.pl i wygraj aparaty cyfrowe Panasonic!
> Kliknij: http://klik.wp.pl/?adr=www.swieta.wp.pl&sidY9
>
>
> _______________________________________________
> LARTC mailing list
> LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
>   

_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

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

* Re: [LARTC] routing in the same subnet
  2005-12-16 18:58 [LARTC] routing in the same subnet Adam Gawda
  2005-12-16 19:43 ` Andreas Unterkircher
@ 2005-12-16 20:10 ` Oscar Mechanic
  1 sibling, 0 replies; 3+ messages in thread
From: Oscar Mechanic @ 2005-12-16 20:10 UTC (permalink / raw)
  To: lartc

Why would you not just bridge them? Proxy arp I have found to be a pain
and it has caused me more wierd problems with switching loops. Have a
look at brctl and ebtables if fantastic.

On Fri, 2005-12-16 at 20:43 +0100, Andreas Unterkircher wrote:
> Any ugly trick is to active proxy_arp on the interfaces of the router 
> (/proc/sys/net/ipv4/conf/*/proxy_arp).
> Then the external interface will scream "i have it!" on all of the arp 
> requests for the other ip addresses (as
> soon as the router has the other machines in his arp-table). if you have 
> ip_forward enabled and your clients
> using the internal interface address of the router as gateway you have 
> what you want.
> 
> Adam Gawda schrieb:
> > Hi,
> >
> > I have IP 64.10.12.64/26 (example)
> > and there's gateway 64.10.12.65 and I want doing something like this:
> >
> >  -------------------------------------64.10.12.65  GW        
> >  
> > ---------------------------  ROUTER    -----------      --------------------clients 
> >           eth0 64.10.12.66               eth1  64.10.12.66                      from 64.10.12.67 to 126
> >           255.255.255.192             255.255.255.192                           255.255.255.192
> >                                                                                                           GW 64.10.12.65
> >
> > I want have all clients behind router  (traffic shaper, firewall , etc). May I do it other method than subneting ? - because now doesn't work
> >
> >
> >
> > ----------------------------------------------------
> > Pamiętaj o wszystkich/ -im w te święta!
> > Zajrzyj na swieta.wp.pl i wygraj aparaty cyfrowe Panasonic!
> > Kliknij: http://klik.wp.pl/?adr=www.swieta.wp.pl&sidY9
> >
> >
> > _______________________________________________
> > LARTC mailing list
> > LARTC@mailman.ds9a.nl
> > http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
> >   
> 
> _______________________________________________
> LARTC mailing list
> LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

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

end of thread, other threads:[~2005-12-16 20:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-16 18:58 [LARTC] routing in the same subnet Adam Gawda
2005-12-16 19:43 ` Andreas Unterkircher
2005-12-16 20:10 ` Oscar Mechanic

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.