Re: Combining 2 Ethernet NICS -> 1 IP address SOLUTION THANKS
On Wed, 2003-03-19 at 18:18, J.J. van Gorkum wrote: > On Wed, 2003-03-19 at 03:46, alan graham wrote: > > I have been trying unsuccessfully to find doco on combining 2 Ethernet > > NICS, such that only one IP address is presented to clients. > > > apt-get install ifenslave > > less /usr/src/kernel-source-2.4.20/Documentation/networking/bonding.txt > > That is all you need. > -- > JJ van Gorkum Knowledge Zone > If UNIX isn't the solution, you've got the wrong problem. Cheers, just what I was searching for. Just need to check that the old SMC interface supports MII link status reporting...
Re: Combining 2 Ethernet NICS -> 1 IP address SOLUTION THANKS
On Wed, 2003-03-19 at 18:18, J.J. van Gorkum wrote: > On Wed, 2003-03-19 at 03:46, alan graham wrote: > > I have been trying unsuccessfully to find doco on combining 2 Ethernet > > NICS, such that only one IP address is presented to clients. > > > apt-get install ifenslave > > less /usr/src/kernel-source-2.4.20/Documentation/networking/bonding.txt > > That is all you need. > -- > JJ van Gorkum Knowledge Zone > If UNIX isn't the solution, you've got the wrong problem. Cheers, just what I was searching for. Just need to check that the old SMC interface supports MII link status reporting... -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Combining 2 Ethernet NICS -> 1 IP address
On Wed, 2003-03-19 at 21:09, Jan Vitek wrote: [snip] > > I wonder what is the correct 'Debian way' configuration in > /etc/network/interfaces. > > This is my current configuration, it looks rather mad, but without 'up route > del' I wasn't able to ping 10.2.0.0/24 and without 'post-down ifconfig' were > both eth1 and eth0 still up after networking stop. > [snip] What I meant was all the information to get started... I also had some problems getting the thing to work with debian... (your milage may be different -- depends on the switch/configuration ) On my switch (Cisco 2948XL) it does not matter if you leave the seperate net routes (to eth0 and eth1) in place. My config looks like this: (excerpt from /etc/network/interfaces) auto bond0 iface bond0 inet static address 192.168.1.1 netmask 255.255.255.0 network 192.168.1.0 broadcast 192.168.1.255 gateway 192.168.1.254 pre-up ifconfig bond0 hw ether `ifconfig eth0 | sed -n 's/.*HWaddr \([^ ]*\)./\1/p'` up /usr/sbin/ifenslave bond0 eth0 eth1 || true down /usr/sbin/ifenslave -d bond0 eth0 eth1 || true ** the sed quirk is for the warning the bond interface displays during boot -- and no stanza for eth0 and eth1 ** (excerpt from /etc/modutils/aliases) alias bond0 bonding alias eth0 e100 alias eth1 e100 options eth0 e100_speed_duplex=4 options eth1 e100_speed_duplex=4 options bonding miimon=100 mode=0 (excerpt from /etc/modutils/actions) probeall bond0 eth0 eth1 bonding One thing to watch when doing this with cisco's is the type of etherchannel configuration setting. The channel mode can be set to optimize for sorce or destination addresses (depends on your type of traffic) -- JJ van Gorkum Knowledge Zone If UNIX isn't the solution, you've got the wrong problem.
Re: Combining 2 Ethernet NICS -> 1 IP address
On Wed, 2003-03-19 at 21:09, Jan Vitek wrote: [snip] > > I wonder what is the correct 'Debian way' configuration in > /etc/network/interfaces. > > This is my current configuration, it looks rather mad, but without 'up route > del' I wasn't able to ping 10.2.0.0/24 and without 'post-down ifconfig' were > both eth1 and eth0 still up after networking stop. > [snip] What I meant was all the information to get started... I also had some problems getting the thing to work with debian... (your milage may be different -- depends on the switch/configuration ) On my switch (Cisco 2948XL) it does not matter if you leave the seperate net routes (to eth0 and eth1) in place. My config looks like this: (excerpt from /etc/network/interfaces) auto bond0 iface bond0 inet static address 192.168.1.1 netmask 255.255.255.0 network 192.168.1.0 broadcast 192.168.1.255 gateway 192.168.1.254 pre-up ifconfig bond0 hw ether `ifconfig eth0 | sed -n 's/.*HWaddr \([^ ]*\)./\1/p'` up /usr/sbin/ifenslave bond0 eth0 eth1 || true down /usr/sbin/ifenslave -d bond0 eth0 eth1 || true ** the sed quirk is for the warning the bond interface displays during boot -- and no stanza for eth0 and eth1 ** (excerpt from /etc/modutils/aliases) alias bond0 bonding alias eth0 e100 alias eth1 e100 options eth0 e100_speed_duplex=4 options eth1 e100_speed_duplex=4 options bonding miimon=100 mode=0 (excerpt from /etc/modutils/actions) probeall bond0 eth0 eth1 bonding One thing to watch when doing this with cisco's is the type of etherchannel configuration setting. The channel mode can be set to optimize for sorce or destination addresses (depends on your type of traffic) -- JJ van Gorkum Knowledge Zone If UNIX isn't the solution, you've got the wrong problem. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Combining 2 Ethernet NICS -> 1 IP address
On Wednesday 19 of March 2003 08:18, J.J. van Gorkum wrote: > apt-get install ifenslave > > less /usr/src/kernel-source-2.4.20/Documentation/networking/bonding.txt > > That is all you need. I wonder what is the correct 'Debian way' configuration in /etc/network/interfaces. This is my current configuration, it looks rather mad, but without 'up route del' I wasn't able to ping 10.2.0.0/24 and without 'post-down ifconfig' were both eth1 and eth0 still up after networking stop. auto eth0 iface eth0 inet static address 10.2.0.9 netmask 255.255.255.0 network 10.2.0.0 broadcast 10.2.0.255 gateway 10.2.0.1 auto eth1 iface eth1 inet static address 10.2.0.9 netmask 255.255.255.0 network 10.2.0.0 broadcast 10.2.0.255 gateway 10.2.0.1 auto bond0 iface bond0 inet static address 10.2.0.9 netmask 255.255.255.0 network 10.2.0.0 broadcast 10.2.0.255 gateway 10.2.0.1 up route del -net 10.2.0.0 netmask 255.255.255.0 dev eth0 up route del -net 10.2.0.0 netmask 255.255.255.0 dev eth1 pre-up ifenslave -E bond0 eth0 eth1 post-down ifconfig eth0 down post-down ifconfig eth1 down Regards --Jan Vitek
Re: Combining 2 Ethernet NICS -> 1 IP address
On Wednesday 19 of March 2003 08:18, J.J. van Gorkum wrote: > apt-get install ifenslave > > less /usr/src/kernel-source-2.4.20/Documentation/networking/bonding.txt > > That is all you need. I wonder what is the correct 'Debian way' configuration in /etc/network/interfaces. This is my current configuration, it looks rather mad, but without 'up route del' I wasn't able to ping 10.2.0.0/24 and without 'post-down ifconfig' were both eth1 and eth0 still up after networking stop. auto eth0 iface eth0 inet static address 10.2.0.9 netmask 255.255.255.0 network 10.2.0.0 broadcast 10.2.0.255 gateway 10.2.0.1 auto eth1 iface eth1 inet static address 10.2.0.9 netmask 255.255.255.0 network 10.2.0.0 broadcast 10.2.0.255 gateway 10.2.0.1 auto bond0 iface bond0 inet static address 10.2.0.9 netmask 255.255.255.0 network 10.2.0.0 broadcast 10.2.0.255 gateway 10.2.0.1 up route del -net 10.2.0.0 netmask 255.255.255.0 dev eth0 up route del -net 10.2.0.0 netmask 255.255.255.0 dev eth1 pre-up ifenslave -E bond0 eth0 eth1 post-down ifconfig eth0 down post-down ifconfig eth1 down Regards --Jan Vitek -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Combining 2 Ethernet NICS -> 1 IP address
On Wed, 2003-03-19 at 03:46, alan graham wrote: > I have been trying unsuccessfully to find doco on combining 2 Ethernet > NICS, such that only one IP address is presented to clients. > apt-get install ifenslave less /usr/src/kernel-source-2.4.20/Documentation/networking/bonding.txt That is all you need. -- JJ van Gorkum Knowledge Zone If UNIX isn't the solution, you've got the wrong problem. signature.asc Description: This is a digitally signed message part
Re: Combining 2 Ethernet NICS -> 1 IP address
On Wed, 2003-03-19 at 03:46, alan graham wrote: > I have been trying unsuccessfully to find doco on combining 2 Ethernet > NICS, such that only one IP address is presented to clients. > apt-get install ifenslave less /usr/src/kernel-source-2.4.20/Documentation/networking/bonding.txt That is all you need. -- JJ van Gorkum Knowledge Zone If UNIX isn't the solution, you've got the wrong problem. signature.asc Description: This is a digitally signed message part
Re: Combining 2 Ethernet NICS -> 1 IP address
I'm not a network guru but I think bridgeing can do this. brctl is the command you use to bridge two interfaces. Maybe a search on google for that will turn something up? apt-get install bridge-utils should download all the packages you need for a 2.4 kernel. Some one please conrrect me if I am totaly off track here as I'd also be interested n this kind of thing. Cheers, Lauch On Wed, 2003-03-19 at 13:46, alan graham wrote: > I have been trying unsuccessfully to find doco on combining 2 Ethernet > NICS, such that only one IP address is presented to clients. > > Is this possible, if so can someone point me to appropriate resources. > > cheers > > AG > > > >
Re: Combining 2 Ethernet NICS -> 1 IP address
I'm not a network guru but I think bridgeing can do this. brctl is the command you use to bridge two interfaces. Maybe a search on google for that will turn something up? apt-get install bridge-utils should download all the packages you need for a 2.4 kernel. Some one please conrrect me if I am totaly off track here as I'd also be interested n this kind of thing. Cheers, Lauch On Wed, 2003-03-19 at 13:46, alan graham wrote: > I have been trying unsuccessfully to find doco on combining 2 Ethernet > NICS, such that only one IP address is presented to clients. > > Is this possible, if so can someone point me to appropriate resources. > > cheers > > AG > > > > -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]