Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Aug 2006 04:07:36 +0800
From:      Darryl Yeoh <drl@MyBSD.org.my>
To:        freebsd-stable@freebsd.org
Subject:   Default route (IPv4) demolished by destroying clone (gif/gre) interface
Message-ID:  <20060815040736.2f85f090.drl@MyBSD.org.my>

next in thread | raw e-mail | index | archive | help
Hi lists,

While destroying gif interface, I notice it also removes IPv4 default route. Has anyone else
encountered this ?

Command:

# netstat -rn -f inet
Routing tables

Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
default            10.1.1.1           UGS         0      282   fxp0
10.1.1/24          link#1             UC          0        0   fxp0
10.1.1.1           00:02:b3:a4:40:65  UHLW        2       12   fxp0   1138
10.1.1.55          00:02:b3:a4:40:65  UHLW        1        2   fxp0   1137
127.0.0.1          127.0.0.1          UH          0    14238    lo0

# ifconfig gif0 create ; ifconfig gif0 destroy
# netstat -rn -f inet
Routing tables

Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
10.1.1/24          link#1             UC          0        0   fxp0
127.0.0.1          127.0.0.1          UH          0    14238    lo0

# uname -a
FreeBSD rogue.netif.org 6.1-STABLE FreeBSD 6.1-STABLE #0: Thu Jul 27 23:51:21 MYT 2006    
root@rogue.netif.org:/usr/obj/usr/src/sys/ROGUE  i386

- Darryl Yeoh



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