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-19-2002, 12:41 PM
|
#1
|
Member
Registered: Aug 2001
Location: Knoxville, TN
Distribution: RedHat 7.1
Posts: 61
Rep:
|
Routing Problem
Ok, I'm going to try to explain the situation here as clearly as possible so hopefully I can get an answer to this question. The original setup was a firewall machine with two network cards, one to the internal LAN(eth1) and one to the outside world(eth0). Well, we decided to get a router instead. So, naturally we only needed one network card in the machine and had decided to use that network in another machine. First of all, I got the machine and all of the network running with the router. Then I took the other network card out and restarted it. Then my problem was that I could get to the outside world but I couldn't get to any of the computers inside. I tried turning off ipchains, firewalls, and I tried running this command (or something like this anyways):
route -add host 192.168.1.2 eth0
I tried adding the netmask to the eth0 adapter (since obviously there is no eth1 now). The problem is, the computer is still looking for the eth1 adaptor to get to those internal machines when that adaptor isn't even there. Does anyone have any ideas that could help me? Thanks in advance.
Joey
|
|
|
02-19-2002, 07:58 PM
|
#2
|
Member
Registered: Feb 2002
Location: Fairfax, VA
Distribution: RedHat 8, Mandrake9.1, Slack9
Posts: 456
Rep:
|
maybe you still have eth1 setup as your default route in the route table.
|
|
|
02-19-2002, 08:22 PM
|
#3
|
Member
Registered: Jan 2002
Location: Galveston Island
Distribution: suse, redhat
Posts: 208
Rep:
|
Sounds like you just pulled the eth0 card and rebooted with out reconfiguring the network internally. Without the old eth0, the old eth1 has become eth0 and all of the configuration stuff that you did still has eth0 set up with the external configuration. I think you will need to edit your config files deleteing the eth0 stuff and changing the eth1 to eth0.
|
|
|
02-20-2002, 09:25 AM
|
#4
|
Member
Registered: Aug 2001
Location: Knoxville, TN
Distribution: RedHat 7.1
Posts: 61
Original Poster
Rep:
|
Well, I kind of knew that I would have to change the configurations... but I just don't know which configuration files I need to change. That's the problem.
|
|
|
All times are GMT -5. The time now is 01:44 PM.
|
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
|
|