LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 07-26-2006, 12:03 AM   #1
linian
LQ Newbie
 
Registered: Jul 2006
Posts: 17

Rep: Reputation: 0
changing routing table in Debian sarge


I am facing two problems regarding routing tables.

First problem:
In one of my client machines, I am getting routing table as:
_____________________________________________________
Destination Gateway Genmask Flag M R U Ifac
localnet * 255.255.255.0 U 0 0 0 eth0
default ......
-----------------------------------------------------
In other client machines, I have routing table as:
_____________________________________________________
Destination Gateway Genmask Flag M R U Ifac
10.0.0.0 * 255.255.255.0 U 0 0 0 eth0
default ......
-----------------------------------------------------
How to change Destination from localnet to 10.0.0.0???

I cannot fetch internet to the clinet with Destination:localnet.
Where as other clients can fetch the internet through Gateway (I am use firestarter and have enabled LAN clients to access internet).

Second problem:
One is in my gateway, which has two networking cards.

When I reboot the machine:

both eth0 and eth1 are taken as default

so I have to delete one of them as:
"route del default eth1".
I have to do this all the times, I reboot the machine.
Is there a way to do tell the Debian to take eth0 only as default.
While installing Debian, I chose only eth0 as default network card.

Thanks
 
Old 07-26-2006, 12:13 AM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
What does 'route -n' show on the 'localnet' machine?

On the gateway, are both interfaces being assigned IPs via DHCP? If not, you should be able to fix it in /etc/network/interfaces.
 
Old 07-26-2006, 12:14 AM   #3
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
If you use Gnome, try Desktop|Administration|Networking and disable eth1.

I assume KDE has a similar function.
 
  


Reply



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
Cisco VPN Client routing problem on Debian Sarge pohl886 Linux - Networking 9 09-10-2006 05:49 PM
delete the routing cache on Debian Sarge Stable cccc Debian 1 01-23-2006 12:24 PM
Changing desktop resolution after a fresh install of Debian Sarge Virp00 Debian 7 01-17-2005 05:05 AM
No Routing table in debian tbartolucci Linux - Networking 2 06-18-2004 10:20 AM
routing table upr8830 Linux - Networking 6 06-18-2003 03:04 AM

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

All times are GMT -5. The time now is 09:35 AM.

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