misc/108645: [gre] bogus route after ifconfig tunnel

Vladimir Korkodinov newbieman at perm.raid.ru
Thu Feb 1 06:00:37 UTC 2007


>Number:         108645
>Category:       misc
>Synopsis:       [gre] bogus route after ifconfig tunnel
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 01 06:00:35 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Vladimir Korkodinov
>Release:        6.2-STABLE
>Organization:
ER-telecom
>Environment:
uname -a
FreeBSD test 6.2-STABLE FreeBSD 6.2-STABLE #0: Wed Jan 31 19:11:02 YEKT 2007     viper at test:/usr/src/sys/i386/compile/viper  i386

>Description:
After the creation of tunnel bogus route appears.
The tunnel does not work because of it. Temporarily it helps arp -ad.
however this route may appears again after the certain time.
I saw the similar symptoms on 6.1R and 6.2R.


>How-To-Repeat:
#ifconfig
vr0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 10.100.201.100 netmask 0xffff0000 broadcast 10.100.255.255
        ether 00:05:5d:75:fd:73
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet 127.0.0.1 netmask 0xff000000

#arp -an
? (10.100.10.235) at 00:15:f2:5b:37:29 on vr0 [ethernet]

#ifconfig gre1 create
#arp -an
? (10.100.10.235) at 00:15:f2:5b:37:29 on vr0 [ethernet]
#ifconfig gre1 tunnel 10.100.201.100 10.100.200.120
#arp -an
? (10.100.10.235) at 00:15:f2:5b:37:29 on vr0 [ethernet]
? (10.100.200.121) at (incomplete) on vr0 [ethernet]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
#netstat -rn
Routing tables

Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
10.1.12.38         127.0.0.1          UGHS        0        2    lo0
10.100/16          link#1             UC          0        0    vr0
10.100.10.235      00:15:f2:5b:37:29  UHLW        1      110    vr0   1128
10.100.200.120     00:0c:29:0e:1d:b2  UHLW        2       42    vr0   1130
10.100.200.121     link#1             UHLW        2        0    vr0
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
127.0.0.1          127.0.0.1          UH          1       10    lo0

# ifconfig gre1 inet 10.1.12.38 10.1.12.37 netmask 255.255.255.252
# ifconfig gre1 mtu 1450
# ifconfig gre1 up
# route add -host 10.1.12.38 127.0.0.1

# ping 10.1.12.37
PING 10.1.12.37 (10.1.12.37): 56 data bytes
^C
--- 10.1.12.37 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss

#arp -ad
10.100.10.235 (10.100.10.235) deleted
10.100.200.120 (10.100.200.120) deleted
10.100.200.121 (10.100.200.121) deleted

#ping 10.1.12.37
PING 10.1.12.37 (10.1.12.37): 56 data bytes
64 bytes from 10.1.12.37: icmp_seq=0 ttl=254 time=1.030 ms
64 bytes from 10.1.12.37: icmp_seq=1 ttl=254 time=0.605 ms
^C
--- 10.1.12.37 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.605/0.818/1.030/0.213 ms


>Fix:
Unknown
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list