|
From: Boursin O. <oli...@in...> - 2010-09-29 13:28:20
|
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 |
|
From: Dominic R. <dl...@ed...> - 2010-09-29 13:40:04
|
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 > |
|
From: Frank W. <Fra...@ct...> - 2010-09-29 13:58:06
|
Salut Olivier, you need to change the DEVICE= lines too, they must match the name of the physical NIC you want to configure.... Regards, Frank On 29/09/10 15: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 > > > > > > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev > > > > _______________________________________________ > Devil-linux-discuss mailing list > Dev...@li... > https://lists.sourceforge.net/lists/listinfo/devil-linux-discuss -- _______________________________________________ Centre de Technologie de l'Education 29 avenue John F. Kennedy L-1855 Luxembourg-Kirchberg email: Fra...@ct... tél.: +352 247-85973 fax: +352 333797 _______________________________________________ |
|
From: Emil V. <va...@jo...> - 2010-09-29 14:40:59
|
Hello! You need to add the MAC= lines too. Emil Varjasi ----------------eredeti üzenet----------------- Feladó: "Boursin Olivier" oli...@in... Címzett: dev...@li... Dátum: Wed, 29 Sep 2010 15:10:04 +0200 ------------------------------------------------- > 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 > > > > __________________________________________________ > > -------------------------------------------------------------------- > ---------- > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev __________________________________________________ > _______________________________________________ > Devil-linux-discuss mailing list > Dev...@li... > https://lists.sourceforge.net/lists/listinfo/devil-linux-discuss > |
|
From: Serge L. <ser...@gm...> - 2010-09-29 19:43:33
|
Emil, 'MAC' parameter is optional in DL. In Red Hat-like distributions network configuration script distinguish NICs based on HWADDR(MAC) address in the network script, but in DL it has a different sense: it redefines MAC address. i.e. 'DEVICE' is paramount parameter: since udev holds the map "device name - mac address" (and udev makes it on early stage of booting) we can rely on device names. I've added a few words about this specific to *.sample file. Serge On 09/29/2010 07:27 AM, Emil Varjasi wrote: > Hello! > > You need to add the MAC= lines too. > > Emil Varjasi > > ----------------eredeti üzenet----------------- > Feladó: "Boursin Olivier" oli...@in... > Címzett: dev...@li... > Dátum: Wed, 29 Sep 2010 15:10:04 +0200 > ------------------------------------------------- > > >> 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 >> >> >> >> > > __________________________________________________ >> >> -------------------------------------------------------------------- >> ---------- >> Start uncovering the many advantages of virtual appliances >> and start using them to simplify application deployment and >> accelerate your shift to cloud computing. >> http://p.sf.net/sfu/novell-sfdev2dev > > __________________________________________________ >> _______________________________________________ >> Devil-linux-discuss mailing list >> Dev...@li... >> https://lists.sourceforge.net/lists/listinfo/devil-linux-discuss >> > > > > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev > _______________________________________________ > Devil-linux-discuss mailing list > Dev...@li... > https://lists.sourceforge.net/lists/listinfo/devil-linux-discuss |