Peut être en utilisant un bridge, # ifconfig eth0 0.0.0.0 # ifconfig eth1 0.0.0.0 # brctl addbr mybridge # brctl addif mybridge eth0 # brctl addif mybridge eth1 # ifconfig mybridge up
This will set the host up as a pure bridge, it will not have an IP address for itself, so it can not be remotely accessed (or hacked) via TCP/IP. Optionally you can configure the virtual interface mybridge to take part in your network. It behaves like one interface (like a normal network card). Exactly that way you configure it, replacing the previous command with something like: # ifconfig mybridge 192.168.100.5 netmask 255.255.255.0 http://linux-net.osdl.org/index.php/Bridge Olivier Le 08/08/07, Anne Possoz<[EMAIL PROTECTED]> a écrit : > On Wed, 8 Aug 2007 23:30:02 +0200, Thierry de Coulon a écrit: > > Y a-t-il une autre solution que de mettre le même numéro IP aux deux > > interfaces (ce qui ne devrait pas poser de gros problème puisqu'elles ne > > sont > > pas actives en même temps)? > > Mettre explicitement les 2 IP dans /etc/exports? > > Anne > > _______________________________________________ > gull mailing list > [email protected] > http://lists.alphanet.ch/mailman/listinfo/gull > -- ------------------------------- olivier.gelux.ch www.gelux.ch _______________________________________________ gull mailing list [email protected] http://lists.alphanet.ch/mailman/listinfo/gull
