LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 01-30-2007, 11:22 AM   #1
mwagz
LQ Newbie
 
Registered: Jan 2007
Posts: 15

Rep: Reputation: 0
deleting entries in routing table


netstat -nr
Destination Gateway Genmask Flags MSS Window iface
10.22.0.0 0.0.0.0 255.255.0.0 U 0 0 eth0
10.22.0.0 0.0.0.0 255.255.0.0 U 0 0 eth2
0.0.0.0 10.22.0.254 0.0.0.0 UG 0 0 eth2
0.0.0.0 10.22.0.251 0.0.0.0 UG 0 0 eth2
0.0.0.0 10.22.0.1 0.0.0.0 UG 0 0 eth2
0.0.0.0 10.22.0.1 0.0.0.0 UG 0 0 eth0


I need to delete an entry for eth2 : gateway 10.22.0.1 and gateway 10.22.0.254

I'm running Debian Linux 3.1
 
Old 01-30-2007, 02:13 PM   #2
bitva
Member
 
Registered: Dec 2002
Location: Los Angeles
Distribution: Debian
Posts: 72

Rep: Reputation: 15
you'd use the "route" command for that. man route usage
 
  


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
where to put routing entries jbako Linux - Networking 3 05-23-2005 08:14 AM
Adding entries to route table in C? kuronai Programming 2 04-04-2005 03:42 PM
filter /etc/messages for certain IP table entries don_wombat Linux - Software 0 12-14-2004 04:45 PM
How to save routing table entries? drgowans Linux - Networking 6 09-23-2003 03:35 PM
Route table loses entries filth Linux - Networking 3 05-05-2003 06:27 PM


All times are GMT -5. The time now is 04:08 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration