> Je d�sire configurer ma Debian en routeur, j'ai donc install� les 2 cartes
> r�seaux les ai configur�s, la machine voit les 2 r�seaux (droite & gauche).
> J'ai ensuite activ� le forwarding /etc/network/ip_forward -> ip_forward = yes

Si cela peux t'aider, voici la config que j'avais fait pour un proxy-arp (et
ip_formward activ� via /etc/network/options) :

## Configuration pour le firewall en mode proxy arp

#auto eth1
iface eth1 inet static
       address 192.168.1.51
       netmask 255.255.255.0
       network 192.168.1.0
       broadcast 192.168.1.255
       gateway 192.168.1.1
       up echo "1" > /proc/sys/net/ipv4/conf/eth1/proxy_arp

#auto eth2
iface eth2 inet static
       address 192.168.1.51
       netmask 255.255.255.0
       network 192.168.1.0
       broadcast 192.168.1.255
       gateway 192.168.1.1
       # delete bad route
       up ip route del 192.168.1.0/24 dev eth2
       # route to gateway
       up ip route add 192.168.1.1 dev eth2
       up echo "1" > /proc/sys/net/ipv4/conf/eth2/proxy_arp

Il faut mieux avoir deux cartes Ethernet de marque diff�rentes.

Stef...


..........................................................
.  Linux - Debian - php4 - Apache - MySQL - Infogerance  .
.   email: [EMAIL PROTECTED] - http://www.actionweb.fr   .
.     Tel: (0)141 906 100    -    Fax: (0)141 906 101    .
..........................................................

Répondre à