delete routing permanently


 
Thread Tools Search this Thread
Operating Systems Solaris delete routing permanently
# 1  
Old 07-21-2011
Question delete routing permanently

How can I remove permanently a route from the routing table?


I have the following:
Code:
root@aiwutr1>netstat -rnv
IRE Table: IPv4
  Destination             Mask           Gateway          Device Mxfrg Rtt   Ref Flg  Out  In/Fwd
-------------------- --------------- -------------------- ------ ----- ----- --- --- ----- ------
default              0.0.0.0         10.42.134.129                1500*    0   1 UG      25      0
10.42.134.128        255.255.255.128 10.42.134.215        e1000g4  1500*    0   1 U        6      0
10.42.134.128        255.255.255.128 10.42.134.216        e1000g5  1500*    0   1 U        0      0
118.200.3.88         255.255.255.255 10.42.134.129                1500*    0   1 UGH      4      0
118.200.3.88         255.255.255.255 10.42.134.129        e1000g5  1500*    0   1 UGH      0      0
118.200.3.89         255.255.255.255 10.42.134.129                1500*    0   1 UGH      4      0
118.200.3.89         255.255.255.255 10.42.134.129        e1000g5  1500*    0   1 UGH      0      0
224.0.0.0            240.0.0.0       10.42.134.215        e1000g4  1500*    0   1 U        0      0
127.0.0.1            255.255.255.255 127.0.0.1            lo0     8232*    0  76 UH    4861      0

I remove
Code:
118.200.3.88         255.255.255.255 10.42.134.129                1500*    0   1 UGH      4      0
118.200.3.89         255.255.255.255 10.42.134.129                1500*    0   1 UGH      4      0

with
Code:
route delete 118.200.3.88 10.42.134.129

after a reboot I have the initial configuration , how can I delete the 2 routing for ever?

Thanks Gianluca.

Last edited by Scott; 07-21-2011 at 11:22 AM.. Reason: Please use code tags, and less formatting.
# 2  
Old 07-21-2011
try in ,,,,,,,,,,,,,,,,,delete in /etc/default/routezone
# 3  
Old 07-21-2011
Thanks for the answer don't have that file.
# 4  
Old 07-21-2011
ciao gianluca
and what's about a
Code:
/etc/defaultrouter

file?

---------- Post updated at 09:19 AM ---------- Previous update was at 09:18 AM ----------

and i think you have to use:
Code:
route delete net 118.200.3.88 10.42.134.129

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Set autolist permanently

Hi , How to set autolist permanently in Solaris 10 (2 Replies)
Discussion started by: ankit.padhiyar
2 Replies

2. Red Hat

Change service name permanently

Hi, Since everything is doable in Linux so far, what is the ability of changing a spicifc service name permanently. e.g. I want to change the network service name to connection, so I can use chkconfig command as follow: chkconfig connection off --level 5 # for disabling network service in... (7 Replies)
Discussion started by: leo_ultra_leo
7 Replies

3. UNIX for Advanced & Expert Users

gmail revert to old look permanently

I thought I would share gmail revert to old look permanently. I am sure I am not the only one annoyed by the new look. Install Stylish extension Choose the Stylish UserStyle that you want. I know The Return of Old Gmail and gmail-b2b both work but I prefer gmail-b2b since I think it looks... (0 Replies)
Discussion started by: cokedude
0 Replies

4. IP Networking

Changing the Ip adress permanently

well i'm trying to change the ip adress on an old alphaserver runing tru64 4.0F using the ifconfig hme0 IP_ADDRESS mask MASK broadcast BROADCAST and when i check it using ifconfig -a it shows the new ip and all is well but when the server is rebooted it reverts back to the old ip (3 Replies)
Discussion started by: randUSR()
3 Replies

5. Programming

how to delete a file permanently from computer

how to delete a file permanently frm computer? (7 Replies)
Discussion started by: unknown9
7 Replies

6. Shell Programming and Scripting

Find and replace permanently

i have a few scripts in which i need to find string"ali1@abcd.com" and replace it with "ali@abcd.com" i used 2 below commands but none of them is permanently replacing the old string in the script s.sh perl -pi -e 's/ali1@abcd.com/ali@abcd.com/g' s.sh sed 's/ali1@abcd.com/ali@abcd.com/g'... (7 Replies)
Discussion started by: ali560045
7 Replies

7. UNIX for Dummies Questions & Answers

Change IP permanently without Yast?

Folks; i have a SUSE 10 box and i need to change the IP/GW & Netmask on it but without Yast tool. Which files/services needed to be edited or restarted to make it happen? Thanks in advance (1 Reply)
Discussion started by: Katkota
1 Replies

8. UNIX for Dummies Questions & Answers

numbers on permanently through .bash_profile

Hi Can anyone tell me if it is at all possible to edit ones .bash_profile, to make the setting on of line numbers (in vi/vim), permanent? I've been to a few IRC channels and people keep telling me it is more of a vi/vim thing and to use something called ".vimrc", however I heard that it is... (3 Replies)
Discussion started by: zorrokan
3 Replies

9. UNIX for Dummies Questions & Answers

Turning off MMDF permanently

This is definitely a post from a "UNIX Newbie" - we have a SCO Unix machine that houses our customer database. I have been getting reports that the system starts lagging intermittently, and have managed to determine that the cause of the slowdown is a process called MMDF. I can manually kill... (4 Replies)
Discussion started by: QmanV2
4 Replies

10. UNIX for Dummies Questions & Answers

Unmounting /home Permanently

Hi! I got tired of running out of disk space on the different partitions on my Solaris 8 Ultra 5 computer so I tried to make just a big / partition and install everything on that. But somehow I managed to get a 0 byte /home partition :-) I tried to delete this (By just clicking it in X-Windows and... (8 Replies)
Discussion started by: alfabetman
8 Replies
Login or Register to Ask a Question