Voila :
eth0 Lien encap:Ethernet HWaddr 00:50:FC:45:FC:9E
inet adr:192.168.1.10 Bcast:192.168.1.255 Masque:255.255.255.0
adr inet6: 2a01:e35:8bcd:6280:250:fcff:fe45:fc9e/64 Scope:Global
adr inet6: fe80::250:fcff:fe45:fc9e/64 Scope:Lien
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:258 errors:0 dropped:0 overruns:0 frame:0
TX packets:235 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:1000
RX bytes:39803 (38.8 KiB) TX bytes:41838 (40.8 KiB)
Interruption:9 Adresse de base:0x3400
eth1 Lien encap:Ethernet HWaddr 00:E0:4C:05:6B:80
inet adr:192.168.2.100 Bcast:192.168.2.255 Masque:255.255.255.0
adr inet6: fe80::2e0:4cff:fe05:6b80/64 Scope:Lien
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:528 errors:0 dropped:0 overruns:0 frame:0
TX packets:351 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:1000
RX bytes:62917 (61.4 KiB) TX bytes:59796 (58.3 KiB)
Interruption:5 Adresse de base:0x3000
[/code]Et voila !
[code]
ESTEBAN:/home/antichoc# route -n
Table de routage IP du noyau
Destination Passerelle Genmask Indic Metric Ref Use Iface
192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
[/code]
Je te joint également les configurations :
[code]
option domain-name-servers 212.27.40.241,212.27.40.240;
option subnet-mask 255.255.255.0;
default-lease-time 86400;
max-lease-time 86400;
# Reseau LAN - ETH1
subnet 192.168.2.0 netmask 255.255.255.0 {
range 192.168.2.100 192.168.2.105;
option broadcast-address 192.168.2.255;
option routers 192.168.2.100;
option smtp-server 192.168.2.1;
}
[/code]
et
[code]auto lo eth0 eth1
iface lo inet loopback
iface eth1 inet static
address 192.168.2.100
netmask 255.255.255.0
network 192.168.2.0
broadcast 192.168.2.255
iface eth0 inet dhcp