Salut à tous,
J'ai installé une 2éme carte réseau LAN, avec le SETUP en GREEN+ORANGE, soit :
root@ipcop:~ # ifconfig
eth0 Link encap:Ethernet HWaddr 00:05:5D:01:1E:5C
inet addr:192.168.1.1 Bcast:192.168.2.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:342046 errors:0 dropped:2 overruns:0 frame:0
TX packets:124150 errors:1 dropped:0 overruns:0 carrier:1
collisions:2871 txqueuelen:1000
RX bytes:44999279 (42.9 Mb) TX bytes:86478218 (82.4 Mb)
Interrupt:11 Base address:0xfc00
eth1 Link encap:Ethernet HWaddr 00:05:5D:01:1B:75
inet addr:1.1.1.1 Bcast:1.1.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:115802 errors:0 dropped:0 overruns:0 frame:0
TX packets:269095 errors:0 dropped:0 overruns:0 carrier:0
collisions:173 txqueuelen:1000
RX bytes:81478134 (77.7 Mb) TX bytes:36487100 (34.7 Mb)
Interrupt:10 Base address:0xf800
eth2 Link encap:Ethernet HWaddr 00:60:08:31:57:BA
inet addr:192.168.2.1 Bcast:192.168.2.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:242 errors:0 dropped:0 overruns:0 frame:0
TX packets:784 errors:0 dropped:0 overruns:0 carrier:772
collisions:0 txqueuelen:1000
RX bytes:26164 (25.5 Kb) TX bytes:34714 (33.9 Kb)
Interrupt:5 Base address:0x220
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:6010 errors:0 dropped:0 overruns:0 frame:0
TX packets:6010 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:864872 (844.6 Kb) TX bytes:864872 (844.6 Kb)
ppp0 Link encap:Point-to-Point Protocol
inet addr:81.249.12.31 P-t-P:193.253.160.3 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MTU:1492 Metric:1
RX packets:3 errors:0 dropped:0 overruns:0 frame:0
TX packets:817 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:30 (30.0 b) TX bytes:63278 (61.7 Kb)
J'ai regardé :
root@ipcop:/var/ipcop/dhcp # more dhcpd.conf
subnet 192.168.1.0 netmask 255.255.255.0
{
option subnet-mask 255.255.255.0;
option domain-name "";
option routers 192.168.1.1;
option domain-name-servers 192.168.1.1;
range dynamic-bootp ;
default-lease-time 3600;
max-lease-time 7200;
}
root@ipcop:/var/ipcop/ethernet # more settings
CONFIG_TYPE=3
GREEN_DRIVER=via-rhine
GREEN_DRIVER_OPTIONS=
GREEN_DEV=eth0
GREEN_DISPLAYDRIVER=via-rhine
GREEN_ADDRESS=192.168.1.1
GREEN_NETMASK=255.255.255.0
GREEN_NETADDRESS=192.168.1.0
GREEN_BROADCAST=192.168.2.255
ORANGE_DEV=eth2
RED_DEV=eth1
RED_DRIVER=
RED_DRIVER_OPTIONS=
RED_DISPLAYDRIVER=via-rhine
RED_DHCP_HOSTNAME=ipcop
RED_ADDRESS=0.0.0.0
RED_NETMASK=0.0.0.0
RED_TYPE=PPPOE
RED_NETADDRESS=0.0.0.0
RED_BROADCAST=255.255.255.255
DNS1=193.252.19.3
DNS2=194.2.0.50
DEFAULT_GATEWAY=192.168.1.1
ORANGE_DRIVER=3c509
ORANGE_DRIVER_OPTIONS=
ORANGE_DISPLAYDRIVER=3c509
ORANGE_ADDRESS=192.168.2.1
ORANGE_NETMASK=255.255.255.0
ORANGE_NETADDRESS=192.168.2.0
ORANGE_BROADCAST=192.168.2.255
Voila, j'ai fouillé dans le forum, mais je m'y perds un peu.
Pouvez vous m'indiquer la mache à suivre pour transormer cela en GREEN+PURPLE ?
Par auilleur pouvez-vous confimer :
GREEN accède à PURPLE + RED
PURPLE accède à RED mais pas GREEN
RED n'accède pas à GREEN+PURPLE
Par avance Merci, Stephane LION