configuring the sequence order of access of web connections
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
You can use iptables to configure network connections (firewall, port blocking, and NATting) so I imagine it could be configured for this purpose. Doing some checking for iptables how-tos may give you an idea.
Yeah, the IP tables; I was afraid someone might mention these. They look real complicated. I guess if you really want to do some serious package management then you have to learn IP table configuration.
Actually, I am surprised there is not a preference setting somewhere for something as simple as OFF/ON for either eth 0 or eth1 connection to the web.
There are ways to bring up and down your ethernet interfaces, and there are also ways to change the default route for packets travelling out of those interfaces. I'd imagine having 2 internet connections has something to do with maintaining connectivity at all times. To bring the interfaces up and down try
Code:
ifdown eth0
and
Code:
ifup eth0
As far as the default routes are concerned if you want to attempt this, you could post the output of a couple commands and we could possibly help you with this.
Actually, I am surprised there is not a preference setting somewhere for something as simple as OFF/ON for either eth 0 or eth1 connection to the web
That makes it sound like you want to turn off eth0 or eth1 so they don't automatically start which isn't how I understood your original question.
As the person above notes you can disable interfaces with ifconfig.
You can also setup the default as to whether the specific interface starts or stops (on or off as you put) it. Not sure where that is on SUSE. On RedHat Linux it is /etc/sysconfig/network-scripts. There one would find ifcfg-eth0, ifcfg-eth1 etc... Within each of those files is a flag ONBOOT=yes - simply setting it to ONBOOT=no would prevent it from starting networking on the interface in the file name.
Well aside from tracing the physical cable back to the actual modem, you could possible test your bandwidth at a website to make sure you are getting the throughput you require. For this I usually query http://www.speakeasy.net/speedtest As far as I can tell from your output, I am fairly certain that eth0 is your high bandwidth interface.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.