Re: [gull] nfs: pas génial?

Olivier Evalet evaleto at gelux.ch
Thu Aug 9 08:56:58 CEST 2007


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<anne.possoz at epfl.ch> 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
> gull at lists.alphanet.ch
> http://lists.alphanet.ch/mailman/listinfo/gull
>


-- 
-------------------------------
olivier.gelux.ch
www.gelux.ch



More information about the gull mailing list