Re: routing in the same subnet

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

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

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux