[Dnsmasq-discuss] [FEAT.REQ] Further localisation of --localise-queries
Luca Landi
me@lucalandi.com
Sun, 1 May 2005 14:19:26 +0200
Alex Hermann ha scritto:
> >> server: eth0 192.168.1.1 <---> client1 : 192.168.1.101
> >> eth1 192.168.1.2 <---> client2 : 192.168.1.102
> >> eth2 192.168.1.3 <---> client3 : 192.168.1.103
> >> eth3 public ip <---> inet
> >>
Why do you need such a garbled topology? you want your server to act as a
switch (a Layer-2 switch) but you configured it much like as if it was a
router (a Layer-3 switch), that is, with an IP address assigned to each of
its interfaces. To my humble opinion there is a misconception here: if you
want your server to play the role of the switch then all you have to do is
to bring up a bridge interface, which means to enslave the physical devices
(eth0,1,2) to a logical one (traditionally a logical net device named
something like "br0") and then assign ONE single IP address to the
*logical* device only.