09-16-2009
Hi!
I have to remove route 192.168.30.101/32 192.168.30.1
biete 09:12:29 root:/u01# netstat -rn
Routing tables
Destination Gateway Flags Refs Use If Exp Groups
Route Tree for Protocol Family 2 (Internet):
default 10.180.1.1 UG 61 35988829 en2 - -
10.180.0.0 10.180.1.81 UHSb 0 0 en2 - - =>
10.180/21 10.180.1.81 U 128 328179753 en2 - -
10.180.1.81 127.0.0.1 UGHS 5 3836686 lo0 - -
10.180.7.255 10.180.1.81 UHSb 0 5 en2 - -
127/8 127.0.0.1 U 15 2476 lo0 - -
192.168.20.10 192.168.30.1 UGHS 5 16290676 en3 - -
192.168.30.0 192.168.30.121 UHSb 0 0 en3 - - =>
192.168.30/24 192.168.30.121 U 2 272 en3 - -
192.168.30.101/32 192.168.30.1 UGS 0 54 en3 - -
192.168.30.121 127.0.0.1 UGHS 0 145 lo0 - -
192.168.30.255 192.168.30.121 UHSb 0 5 en3 - -
But lsattr -El inet0 | grep route shows only two routes, that I need and do not want to delete (one default one static to specific host)!
biete 09:13:20 root:/u01# lsattr -El inet0 | grep route
route host,-hopcount,0,,,,,,-static,192.168.20.10,192.168.30.1 Route True
route net,-hopcount,0,,0,10.180.1.1 Route True
How can I remove route 192.168.30.101/32 192.168.30.1 (please see netstat -rn output above)!?
10 More Discussions You Might Find Interesting
1. IP Networking
Hi,
I have a machine that sits on 10.2 network.
I need to ssh from this to another box that is on both 10.125 & 10.140 VLANs
what should I need to do?
Thanks! (3 Replies)
Discussion started by: chaandana
3 Replies
2. HP-UX
I want to make static route how would I proceed?
I'm using "route add DestinationIP gatewayIP hop to 1
I would like to make this permanent, so when it reboots I don't want to loose it, would I do this in netconf file? If so where?
I did a search got this site, it didn't help much. ... (2 Replies)
Discussion started by: catwomen
2 Replies
3. UNIX for Dummies Questions & Answers
Hi,
Request you to please tell me the command or the process to add the static route in redhat linux.
Thanks in Advance.
Regards
Arun (2 Replies)
Discussion started by: Arun.Kakarla
2 Replies
4. AIX
#netstat -nr (shows the following with more static routes)
192.168.18.202 10.129.155.1 UGH 0 29 en0 - -
and i just want to remove the above one
i tried
#smitty rmroute
destination type= net
dest add = 192.168.18.202
default gateway= 10.129.155.1
net... (1 Reply)
Discussion started by: pchangba1
1 Replies
5. IP Networking
Hi guys,
sorry for asking noob question.
When do we really need to add a static route on the server?
I encounter this situation whereby a client trigger a network packet to the destination but the destination does not know how to return the traffic back to the client (source).
The issue was... (4 Replies)
Discussion started by: DrivesMeCrazy
4 Replies
6. Red Hat
Hi,
Using Centos, under /etc/rc5.d, I wrote a quick script to add my static route when the server gets rebooted. The script doesn't get executed. I did set the permission to 777. After I reboot the server, if I execute, it works manually.
I do this all the time on Solaris and never had... (5 Replies)
Discussion started by: samnyc
5 Replies
7. AIX
Anyone know how to edit a static route in AIX? I find myself deleting and then recreating the route with the new information. Would be nice to know how to edit the route. (3 Replies)
Discussion started by: bbbngowc
3 Replies
8. Red Hat
Hello Guys..
I am facing this weird problem of static route not added after reboot!!
Following is my route-<interface> file..
# cat /etc/sysconfig/network-scripts/route-eth0
ADDRESS0=172.31.0.1
NETMASK0=255.255.255.255
GATEWAY0=192.168.208.1
ADDRESS1=172.31.15.2... (3 Replies)
Discussion started by: parth_buch
3 Replies
9. IP Networking
Hi all,
This may be the basic question of Routing but I am a sort of new to networking so I am asking.
Do I need to put route for my router's LAN port ip to WAN (serial) port ip Or the router itself can communicate between its ports without routes.
lan (172.26.40.5) ... (3 Replies)
Discussion started by: dextergenious
3 Replies
10. UNIX for Dummies Questions & Answers
Hi,
I am on Linux Redhat 5.3. I added this static route but now I can't seem to take it out. Can you help?
netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
167.76.151.28 192.1.25.249 255.255.255.255 UGH 0 0... (1 Reply)
Discussion started by: samnyc
1 Replies
LEARN ABOUT FREEBSD
nos-tun
NOS-TUN(8) BSD System Manager's Manual NOS-TUN(8)
NAME
nos-tun -- implement ``nos'' or ``ka9q'' style IP over IP tunnel
SYNOPSIS
nos-tun -t tunnel -s source -d destination -p protocol_number [source] target
DESCRIPTION
The nos-tun utility is used to establish an nos style tunnel, (also known as ka9q or IP-IP tunnel) using a tun(4) kernel interface.
Tunnel is the name of the tunnel device /dev/tun0 for example.
Source and destination are the addresses used on the tunnel device. If you configure the tunnel against a cisco router, use a netmask of
``255.255.255.252'' on the cisco. This is because the tunnel is a point-to-point interface in the FreeBSD end, a concept cisco does not
really implement.
Protocol number sets tunnel mode. Original KA9Q NOS uses 94 but many people use 4 on the worldwide backbone of ampr.org.
Target is the address of the remote tunnel device, this must match the source address set on the remote end.
EXAMPLES
This end, a FreeBSD box on address 192.168.59.34:
nos-tun -t /dev/tun0 -s 192.168.61.1 -d 192.168.61.2 192.168.56.45
Remote cisco on address 192.168.56.45:
interface tunnel 0
ip address 192.168.61.2 255.255.255.252
tunnel mode nos
tunnel destination 192.168.59.34
tunnel source 192.168.56.45
AUTHORS
Nickolay N. Dudorov <nnd@itfs.nsk.su> wrote the program, Poul-Henning Kamp <phk@FreeBSD.org> wrote the man-page. Isao SEKI
<iseki@gongon.com> added a new flag, IP protocol number.
BUGS
We do not allow for setting our source address for multihomed machines.
BSD
April 11, 1998 BSD