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&sid=599
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&sid=599 > > > _______________________________________________ > LARTC mailing list > LARTC@mailman.ds9a.nl > http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/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&sid=599 > > > > > > _______________________________________________ > > 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