Sponsored Content
Full Discussion: delete routing permanently
Operating Systems Solaris delete routing permanently Post 302540665 by gianluca.p on Thursday 21st of July 2011 09:57:20 AM
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.
 

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. Solaris

Set autolist permanently

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

NAME
route - route traffic control filter SYNOPSIS
tc filter ... route [ from REALM | fromif TAG ] [ to REALM ] [ classid CLASSID ] [ action ACTION_SPEC ] DESCRIPTION
Match packets based on routing table entries. This filter centers around the possibility to assign a realm to routing table entries. For any packet to be classified by this filter, a routing table lookup is performed and the returned realm is used to decide on whether the packet is a match or not. OPTIONS
action ACTION_SPEC Apply an action from the generic actions framework on matching packets. classid CLASSID Push matching packets into the class identified by CLASSID. from REALM fromif TAG Perform source route lookups. TAG is the name of an interface which must be present on the system at the time of tc invocation. to REALM Match if normal (i.e., destination) routing returns the given REALM. EXAMPLES
Consider the subnet 192.168.2.0/24 being attached to eth0: ip route add 192.168.2.0/24 dev eth0 realm 2 The following route filter will then match packets from that subnet: tc filter add ... route from 2 classid 1:2 and pass packets on to class 1:2. NOTES
Due to implementation details, realm values must be in a range from 0 to 255, inclusive. Alternatively, a verbose name defined in /etc/iproute2/rt_realms may be given instead. SEE ALSO
tc(8), ip-route(8) iproute2 21 Oct 2015 Route classifier in tc(8)
All times are GMT -4. The time now is 02:46 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy