Default route (IPv4) demolished by destroying clone (gif/gre)
interface
Darryl Yeoh
drl at MyBSD.org.my
Mon Aug 14 20:02:44 UTC 2006
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 at rogue.netif.org:/usr/obj/usr/src/sys/ROGUE i386
- Darryl Yeoh
More information about the freebsd-stable
mailing list