Koozali.org: home of the SME Server

Two internet connections

Seth Vanderdrift

Two internet connections
« on: April 19, 2002, 03:17:43 AM »
I have a SME 5.1.2 server at and both a DSL and cable internet connection.  I have in the past had two SME servers, but would like to consolidate them.

Is it possible to have one SME server with two internet connections?

I would like to have the cable internet be a backup for the DSL, but any other way to do it would be great.

Thanks
Seth

Nathan Fowler

Re: Two internet connections
« Reply #1 on: April 21, 2002, 04:09:04 AM »
Sure, but it will require adding an additional network card.  My suggestions would be if your DSL is using PPOE let E-Smith see that as your internet connection, then simply add the additional device and adjust it's network-scripts declarations.  I've done this type of stuff in the past and it's fairly easy once you get started.  You can also do load-balancing across those two lines without having to use BGP or OPSF, there are a few modules out there that are pretty easy to use.  I'd be willing to help you through this if you kick me over an email.

Nathan Fowler
evilghost@stickit.nu

Edgar

Re: Two internet connections
« Reply #2 on: April 22, 2002, 08:57:05 PM »
Can you do it by this way im very interested in this feature!

Nathan Fowler

Re: Two internet connections
« Reply #3 on: April 22, 2002, 09:04:05 PM »
This is pretty in-depth if you want to use the load-balancing, it requires patching the kernel in addition to installing several RPMs to enable compiling on the E-Smith machine.  If this is unfamiliar territory you'll want to stay away.

:)

Edgar

Re: Two internet connections
« Reply #4 on: April 22, 2002, 09:11:29 PM »
can you post a How To or send us a link to follow instructions, thanks

Nathan Fowler

Re: Two internet connections
« Reply #5 on: April 22, 2002, 10:04:26 PM »
To my knowledge, a HOW-TO doesn't exist...and I just don't have the time/desire to create one.  Sorry guys :(

john

Re: Two internet connections
« Reply #6 on: April 22, 2002, 10:12:57 PM »
I have the same situation, only that One ISP provides Satellite downlink (1024K) only and the other ISP provides DSL with slower downlink and Uplink (128K/128K). I will like to use the Satellite Service for Browsing and downloading and DSL for uploading and sending emails and other services on one SME 5.1.2

Your help will be highly be appriciated.

John

Nathan Fowler

Re: Two internet connections
« Reply #7 on: April 22, 2002, 10:27:16 PM »
I fully understand and can appreciate your situation and the desire for this stuff, and trust me, I am by no means getting my "jollies" by "hoarding" this information, I simply do not have the time to invest in this project.  This was something that I spent about four months researching and I did have it working correctly, I was even DHCP-Hijacking multiple cable modem IP's and doing load-balancing across multiple IP's.  In it's simplest form you need to:

1) Setup your E-Smith box to use whichever link is harder to configure (PPOE, DHCP, etc) as your external interface.

2)  Install a Third network card and hook your alternate route up.

3) Edit /etc/sysconfig/network-scripts/ifcfg-eth2 with the correct values, I would use ifcfg-eth0 as a good template.

4)  ifup the device by typing "ifup eth2"

5) Download the necessary compiler RPM's such as Make, EGCS, etc, these are available somewhere on the E-Smith site, I believe under development/contrib.

6)  Download the kernel source for the patch you wish to apply.  I recommend getting the same kernel series as your E-Smith box.  Type "uname -a" to find out what kernel you are using.

7)  Download and apply the appropriate patch located here: ftp://sliepen.warande.net/pub/eql/

8) Read the instructions and apply the patch.
ftp://sliepen.warande.net/pub/eql/load-balancing.txt

I now offically absolve myself of all support in the above topics, I'll try to help you guys as much as possible but I cannot be the "default go-to guy".  Each one of these instructional steps can be broken down and there are how-to's in some form that will aide you.

Again I am sorry, but I just don't have the time to invest in something like this.  I constantly give back to the Linux community when I have time, but I just don't have room on my plate for another project.

Your understanding is appreciated,
Nathan

Sylvain

Re: Two internet connections
« Reply #8 on: July 23, 2003, 09:06:55 AM »
Darrell May did provide this how-to set up a NIC on e-smith
http://mirror.contribs.org/smeserver/contribs/dmay/mitel/howto/nic-drivers-howto.html
I use it as a start up  

so what I do is

/sbin/e-smith/config set EthernetDriver1 pcnet32
/sbin/e-smith/signal-event console-save
ifconfig eth2 inet IPADDRESS netmask IPNETMASK broadcast IPBROADCAST

Run the command 'ifconfig' to view the current network card status:

[root@e-smith /root]# ifconfig


The interface is up and running till next reboot :-()  

I'm there  

and still need to go further for routing and firewall issue

sugestion welcome