Date: Thu, 25 Mar 1999 09:23:20 -0800 (PST) From: jin@george.lbl.gov To: freebsd-bugs@FreeBSD.ORG, marquard@zilker.net Subject: Re: bin/2258 route add/delete Message-ID: <199903251723.JAA28809@george.lbl.gov>
next in thread | raw e-mail | index | archive | help
Dave Marquardt <marquard@zilker.net> wrote: : > 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 : > ... : : Try netstat -rA and see what it shows for netmask. You've got one : default route with the usual netmask, and the other one is with some : strange netmask. Since network is down, option -n have to be used. I do not know if this makes different to you: # netstat -rAn Routing tables Internet: Address Destination Gateway Flags Refs Use Netif Expire c07d33cc (32) c0810718 : c0810818 mk = c07a6210 {(32), (255) ffff 0000 0001 } -> mk = c07a6610 {(0), (0) } c0810718 (33) c07d33b4 : c0810700 c07d33b4 (root node) => c0843c00 default 128.3.50.1 UGSc 1 0 ep0 => mask (255) ffff 0000 0001 mk = c07a6210 {(32), (255) ffff 0000 0001 } -> mk = c07a6610 {(0), (0) } c0810400 default 128.3.196.1 UGSc 8 1239 ep0 mask (0) mk = c07a6610 {(0), (0) } c0810700 127.0.0.1 127.0.0.1 UH 1 54 lo0 c0810818 (33) c082e518 : c07d33e4 c082e518 (38) c0843d18 : c081ad18 c0843d18 (48) c0843d00 : c081a018 c0843d00 c081a018 (54) c0811d18 : c081a000 mk = c07a6720 {(54), <normal>, (255) ffff ffff fc } c0811d18 (57) c0810318 : c082cd18 c0810318 (60) c0810800 : c0810300 c0810800 128.3.196/22 link#2 UC 0 0 ep0 mask (255) ffff ffff fc mk = c07a6720 {(54), <normal>, (255) ffff ffff fc } c0810300 128.3.196.1 0:60:3e:52:6c:0 UHLW 6 0 ep0 1159 c082cd18 (59) c082cd00 : c0811d00 c081a000 128.3.199.255 ff:ff:ff:ff:ff:ff UHLWb 0 1 ep0 c081ad18 (49) c0816118 : c081ad00 c0816118 (57) c082e418 : c082e318 c082e418 (58) c082e500 : c082e400 c082e500 c082e400 c082e318 (58) c0816100 : c082e300 c0816100 c082e300 c081ad00 c07d33e4 (root node) # before route add, it looks like # netstat -rA Routing tables Internet: Address Destination Gateway Flags Refs Use Netif Expire c07d33cc (32) c0810718 : c0810818 mk = c07a6610 {(0), (0) } c0810718 (33) c07d33b4 : c0810700 c07d33b4 (root node) => c0810400 default testgw UGSc 7 0 ep0 mask (0) mk = c07a6610 {(0), (0) } c0810700 localhost localhost UH 2 54 lo0 c0810818 (33) c0811c18 : c07d33e4 c0811c18 (38) c0811e18 : c0816118 c0811e18 (48) c0811e00 : c081de18 c0811e00 c081de18 (54) c081dd18 : c081de00 mk = c07a6720 {(54), <normal>, (255) ffff ffff fc } c081dd18 (56) c0811d18 : c081dd00 c0811d18 (57) c0810318 : c0811d00 c0810318 (60) c0810800 : c0810300 c0810800 128.3.196/22 link#2 UC 0 0 ep0 mask (255) ffff ffff fc mk = c07a6720 {(54), <normal>, (255) ffff ffff fc } c0810300 testgw 0:60:3e:52:6c:0 UHLW 8 0 ep0 1143 c081de00 128.3.199.255 ff:ff:ff:ff:ff:ff UHLWb 0 1 ep0 c0816118 (57) c082e418 : c082e118 c082e418 (58) c082e318 : c082e218 c082e318 (61) c082e300 : c0811c00 c082e300 c0811c00 c082e218 (60) c082e200 : c082e400 c082e200 c082e400 c082e118 (58) c0816100 : c082e100 c0816100 c082e100 c07d33e4 (root node) -Jin P.S. I think this can be reproduced on any FreeBSD host. We have more than 50 FreeBSD hosts running here, and I can use "route add something..." to screw up every host. So, it is not a particular configuration on my site to triggering the bug. I think it is a general problem. 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?199903251723.JAA28809>