Linux - Networking This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
02-23-2004, 01:09 PM
|
#1
|
LQ Newbie
Registered: Feb 2004
Posts: 5
Rep:
|
2 network cards, 2 network connections - routing problem
Hi,
I'm having problem with 2 network cards, both connected to Internet. First is connected to LAN, which is connected to ADSL and I want to use it for accessing the Internet. The other one is connected to Internet directly to ISP and has a static IP address, but I don't want to use it for normal Internet 'communication' web, mail, etc. It is actually IPsec connection to another network.
But every time I access the Internet, everything goes trough that other card.
What should I do ?
Thnx
|
|
|
02-23-2004, 01:43 PM
|
#2
|
Member
Registered: Nov 2003
Location: NC, USA
Distribution: unbuntu breazy
Posts: 143
Rep:
|
Do you unplug one connection and the other starts working?
If yes, rip was not design to dynamically route like that.
If no, need more info about your internal topology.
1. ipmasq?
2. ip address scheme?
a. public?
b. private?
c. nat/pat?
d. firewalling?
Rip 1 & 2 were not designed to dynamically route. You could build static routing tables to get it to work. Usually, what you are trying to achieve is worked out as BGP (border gateway protocol) in ingress or egress routers. your DSL and ISP should be unwilling to exchange BGP with you because of the damage that could be caused. another consideration is you don't want isp or dsl using you as a gateway.
Are you trying to achieve redundancy or packet management?
|
|
|
02-24-2004, 02:18 PM
|
#3
|
Member
Registered: Nov 2003
Location: NC, USA
Distribution: unbuntu breazy
Posts: 143
Rep:
|
Did this help you get going?
|
|
|
02-24-2004, 03:46 PM
|
#4
|
Member
Registered: Nov 2003
Location: NC, USA
Distribution: unbuntu breazy
Posts: 143
Rep:
|
Did this help you out?
|
|
|
02-24-2004, 04:26 PM
|
#5
|
Senior Member
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403
Rep:
|
First of all, which Linux distribution are you using ?
You will need to set up a default route.
In most Linux distribution, you can edit the /etc/sysconfig/network file and use one of the two options:[list=1]
GATEWAY=<value>, where <value> is the IP address of the network's gateway.
GATEWAYDEV=<value>, where <value> is the gateway device, such as eth0.[/list=1]
asalford: tvojvodi may have posted and then stepped away from his PC to do something else.
|
|
|
All times are GMT -5. The time now is 08:22 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|