LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-19-2002, 12:41 PM   #1
syxxpac023
Member
 
Registered: Aug 2001
Location: Knoxville, TN
Distribution: RedHat 7.1
Posts: 61

Rep: Reputation: 15
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
 
Old 02-19-2002, 07:58 PM   #2
manthram
Member
 
Registered: Feb 2002
Location: Fairfax, VA
Distribution: RedHat 8, Mandrake9.1, Slack9
Posts: 456

Rep: Reputation: 31
maybe you still have eth1 setup as your default route in the route table.
 
Old 02-19-2002, 08:22 PM   #3
Malicious
Member
 
Registered: Jan 2002
Location: Galveston Island
Distribution: suse, redhat
Posts: 208

Rep: Reputation: 30
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.
 
Old 02-20-2002, 09:25 AM   #4
syxxpac023
Member
 
Registered: Aug 2001
Location: Knoxville, TN
Distribution: RedHat 7.1
Posts: 61

Original Poster
Rep: Reputation: 15
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
routing problem DRagonRage Debian 8 09-21-2005 04:29 PM
routing problem DRagonRage Linux - Networking 1 09-21-2005 02:02 PM
Routing problem Infernal211283 Linux - Networking 3 02-28-2005 03:59 AM
Another Routing problem Bambi Linux - Networking 2 06-03-2004 04:13 PM
routing problem nowonmai Linux - Networking 2 10-09-2003 08:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration