LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   deleting entries in routing table (https://www.linuxquestions.org/questions/linux-networking-3/deleting-entries-in-routing-table-524081/)

mwagz 01-30-2007 10:22 AM

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

bitva 01-30-2007 01:13 PM

you'd use the "route" command for that. man route usage


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