Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Mar 1999 09:06:17 -0800 (PST)
From:      jin@george.lbl.gov
To:        bugs@freebsd.org
Subject:   bin/2258 route add/delete
Message-ID:  <199903231706.JAA05739@george.lbl.gov>

next in thread | raw e-mail | index | archive | help
      State-Changed-From-To: open->closed 
      State-Changed-By: sheldonh 
      State-Changed-When: Fri Mar 19 02:25:00 PST 1999 
      State-Changed-Why:  
      Originator not available for feedback on later releases. 

Original host has been renamed, so the mail was undelieveable, sorry
about that.

The problem still remains in 3.x and 4.0-SNAPs.

-------------------- info --------------------

Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994
        The Regents of the University of California.  All rights reserved.

FreeBSD 4.0-19990318-CURRENT (MinMax) #0: Mon Mar 22 12:24:56 PST 1999

Welcome to FreeBSD!

If the doc distribution has been loaded on this machine, the FreeBSD
Handbook will be in file:/usr/share/doc/handbook and the FAQ in
file:/usr/share/doc/FAQ 

Type /stand/sysinstall to re-enter the installation and configuration utility

testp2# route add default 128.3.50.1 1
add net default: gateway testgw
testp2# netstat -r
Routing tables

Internet:
Destination        Gateway            Flags     Refs     Use     Netif Expire

^C
testp2# netstat -rn
Routing tables

Internet:
Destination        Gateway            Flags     Refs     Use     Netif Expire
default            128.3.50.1         UGSc        1        0      ep0 =>
default            128.3.196.1        UGSc        9      265      ep0
127.0.0.1          127.0.0.1          UH          2       54      lo0
128.3.196/22       link#2             UC          0        0      ep0
128.3.196.1        0:60:3e:52:6c:0    UHLW        6        0      ep0   1176
...
testp2# route delete default 128.3.50.1
delete net default: gateway 128.3.50.1		# deleted a wrong router!!!
testp2# netstat -r
Routing tables

Internet:
Destination        Gateway            Flags     Refs     Use     Netif Expire
default            128.3.50.1         UGSc        1        0      ep0
localhost          localhost          UH          2       54      lo0
128.3.196/22       link#2             UC          0        0      ep0
128.3.196.1        0:60:3e:52:6c:0    UHLW        0        0      ep0   1150
...
testp2# route delete default 128.3.50.1
route: writing to routing socket: No such process
delete net default: gateway 128.3.50.1: not in table
testp2# Mar 23 08:57:47 testp2 xntpd[125]: sendto(131.243.2.240): No route to host
Mar 23 08:57:47 testp2 xntpd[125]: sendto(131.243.2.240): No route to host

network is dead...

	-Jin



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199903231706.JAA05739>