|
From: Boursin O. <oli...@in...> - 2010-09-29 14:45:27
|
Hello Dominic, You were right, the problem is solved ! It was under my nose, but ... Many thanks, OB Date: Wed, 29 Sep 2010 14:39:55 +0100 From: Dominic Raferd <dl...@ed...> Subject: Re: [Devil-Linux-discuss] Add more NIC To: dev...@li... Message-ID: <4CA...@ed...> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Why DEVICE=eth0 for all of your NICs? I think it should be eth0, eth1, eth2, eth3... Dominic On 29/09/2010 14:10, Boursin Olivier wrote: > > Hello, > I would like to know if it is possible to add one or two more NIC in > addition of the 3, to build a firewall router with 4 or 5 NIC. I tried > to configure /etc/sysconfig/nic (files ifcfg-eth3 and ifcfg-eth4) but > it is visible as two more eth2 when starting /etc/init.d/network. > > Many thanks for your kind answer, > > OB > > /etc/sysconfig/nic>cat ifcfg-eth0 > DEVICE=eth0 > ONBOOT=yes > MODULE="8139too" > DHCP=no > IP="192.168.0.1" > NETMASK="255.255.255.0" > BROADCAST="192.168.0.255" > > /etc/sysconfig/nic>cat ifcfg-eth1 > DEVICE=eth0 > ONBOOT=yes > MODULE="8139too" > DHCP=no > IP="192.168.1.254" > NETMASK="255.255.255.0" > BROADCAST="192.168.1.255" > > /etc/sysconfig/nic>cat ifcfg-eth2 > DEVICE=eth0 > ONBOOT=yes > MODULE="8139too" > DHCP=no > IP="192.168.9.254" > NETMASK="255.255.255.0" > BROADCAST="192.168.9.255" > > /etc/sysconfig/nic>cat ifcfg-eth3 > DEVICE=eth0 > ONBOOT=yes > MODULE="8139too" > DHCP=no > IP="192.168.10.254" > NETMASK="255.255.255.0" > BROADCAST="192.168.10.255" > > /etc/sysconfig/nic>cat ifcfg-eth4 > DEVICE=eth0 > ONBOOT=yes > MODULE="8139too" > DHCP=no > IP="192.168.15.254" > NETMASK="255.255.255.0" > BROADCAST="192.168.15.255" > > /etc/init.d/network start > Starting interface eth0 > [IPv4] > [ OK ] > Starting interface eth1 > [IPv4] > [ OK ] > > Starting interface eth2 > [IPv4] > [ OK ] > > Starting interface eth2 > [IPv4] > [ OK ] > > Starting interface eth2 > [IPv4] > [ OK ] > > Enabling Routing > [IPv4] > [ OK ] > > Disabling ECN > |