From owner-freebsd-questions@FreeBSD.ORG Tue Jan 3 16:49:33 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 76E5B16A420 for ; Tue, 3 Jan 2006 16:49:33 +0000 (GMT) (envelope-from glenn@antimatter.net) Received: from cobalt.antimatter.net (cobalt.antimatter.net [69.55.224.239]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9A42B43D5A for ; Tue, 3 Jan 2006 16:49:32 +0000 (GMT) (envelope-from glenn@antimatter.net) Received: from glenn-mobile.antimatter.net (cpe-66-91-227-82.san.res.rr.com [66.91.227.82]) (authenticated bits=0) by cobalt.antimatter.net (8.13.4/8.13.4) with ESMTP id k03GnRBu010968 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 3 Jan 2006 08:49:28 -0800 X-MailKey: purple frogs are falling from the sky Message-Id: <6.2.3.4.2.20060103083704.040bb590@cobalt.antimatter.net> X-Mailer: QUALCOMM Windows Eudora Version 6.2.3.4 Date: Tue, 03 Jan 2006 08:47:58 -0800 To: Christer Folkesson , freebsd-questions@freebsd.org From: Glenn Dawson In-Reply-To: <43BA95BF.5030903@aqualize.tk> References: <43BA95BF.5030903@aqualize.tk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Cc: Subject: Re: FreeBSD 6.0: Problem with network, doesn't use default gateway X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Jan 2006 16:49:33 -0000 At 07:18 AM 1/3/2006, Christer Folkesson wrote: >Hi, this is my first message to the mailing-list. I hope that I have included >enough information about the problem. > >The problem is that my FreeBSD 6.0 (release) won't use the default route >(gateway). So I can't access anything on the internet. > >Hardware and network equipment: >Dell latitude D810 (Pentium M 2.0 GHz, 1.5 GB of primary memory, broadcom >gigabit/fast/"normal" ethernet controller). >The broadcom chip uses the bge driver. I have looked in the man page for that >and no troubles or something like that is mentioned. >IPv4 address: 192.168.0.228 /25 > >The gateway is a netgear RP614 broadband router. IPv4: 192.168.0.199 /25 > >Also a windows 2003 server is acting as DNS-server for my network. > >FreeBSD shares the computer with windows XP pro SP2 using dual boot. >In windows it works fine so this convince me that it's a software problem in >FreeBSD. > >As said, it works perfectly fine inside the LAN, but not outside. > > >I include a dmesg output (at the bottom) if that is of any importance and also >output from ifconfig, netstat -nr, ping and traceroute. >I was logged in as root while testing this. >Notice that because I'm using an internal DNS-server I can do lookups. >Obviously that wouldn't have been possible with the DNS-server provided by my >ISP. I don't see anything obviously wrong with the configuration info you sent below. The problem you are having is more likely in the router you are using, but without that configuration info, it's impossible to tell. Are you using dhcp to assign IP addresses? If so, is the router doing that job or something else? Since you mentioned that it works when you boot into windows, are the network settings the same? (IP, netmask, default route ,etc) or is windows configured to use something different? How is NAT configured in the router? Does it's configuration cover the 192.168.0.228 address? -Glenn >alcoy# ifconfig >bge0: flags=8843 mtu 1500 > options=1a > inet6 fe80::214:22ff:fee1:41be%bge0 prefixlen 64 scopeid 0x1 > inet 192.168.0.228 netmask 0xffffff80 broadcast 192.168.0.255 > ether 00:14:22:e1:41:be > media: Ethernet autoselect (100baseTX ) > status: active >lo0: flags=8049 mtu 16384 > inet6 ::1 prefixlen 128 > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 > inet 127.0.0.1 netmask 0xff000000 >alcoy# netstat -nr >Routing tables > >Internet: >Destination Gateway Flags Refs Use Netif Expire >default 192.168.0.199 UGS 0 52 bge0 >127.0.0.1 127.0.0.1 UH 0 52 lo0 >192.168.0.128/25 link#1 UC 0 0 bge0 >192.168.0.199 00:09:5b:10:de:14 UHLW 2 190 bge0 1182 >192.168.0.210 00:05:5d:0c:f8:23 UHLW 1 29 bge0 > >Internet6: >Destination Gateway >Flags Netif Expire >::1 ::1 >UH lo0 >fe80::%bge0/64 link#1 >UC bge0 >fe80::214:22ff:fee1:41be%bge0 00:14:22:e1:41:be >UHL lo0 >fe80::%lo0/64 fe80::1%lo0 >U lo0 >fe80::1%lo0 link#2 >UHL lo0 >ff01::/32 ::1 >U lo0 >ff02::%bge0/32 link#1 >UC bge0 >ff02::%lo0/32 ::1 >UC lo0 >alcoy# traceroute ping.sunet.se >traceroute to ping.sunet.se (130.242.80.31), 64 hops max, 40 byte packets >1 sentinel (192.168.0.199) 0.524 ms 0.518 ms 0.515 ms >2 * * * >^C >alcoy# ping sentinel >PING router.aqualize.tk (192.168.0.199): 56 data bytes >64 bytes from 192.168.0.199: icmp_seq=0 ttl=250 time=0.669 ms >64 bytes from 192.168.0.199: icmp_seq=1 ttl=250 time=0.679 ms >64 bytes from 192.168.0.199: icmp_seq=2 ttl=250 time=0.673 ms >64 bytes from 192.168.0.199: icmp_seq=3 ttl=250 time=0.673 ms >^C >--- router.aqualize.tk ping statistics --- >4 packets transmitted, 4 packets received, 0% packet loss >round-trip min/avg/max/stddev = 0.669/0.673/0.679/0.004 ms >alcoy# > > > > > > > > >Copyright (c) 1992-2005 The FreeBSD Project. >Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 > The Regents of the University of California. All rights reserved. >FreeBSD 6.0-RELEASE #0: Thu Nov 3 09:36:13 UTC 2005 > root@x64.samsco.home:/usr/obj/usr/src/sys/GENERIC >ACPI APIC Table: >Timecounter "i8254" frequency 1193182 Hz quality 0 >CPU: Intel(R) Pentium(R) M processor 2.00GHz (1995.15-MHz 686-class CPU) >Origin = "GenuineIntel" Id = 0x6d8 Stepping = 8 >Features=0xafe9fbff > >Features2=0x180 >AMD Features=0x100000 >real memory = 1610448896 (1535 MB) >avail memory = 1569087488 (1496 MB) >ioapic0: Changing APIC ID to 1 >ioapic0 irqs 0-23 on motherboard >npx0: [FAST] >npx0: on motherboard >npx0: INT 16 interface >acpi0: on motherboard >pci_link0: irq 11 on acpi0 >pci_link1: irq 10 on acpi0 >pci_link2: irq 9 on acpi0 >pci_link3: irq 7 on acpi0 >pci_link4: on acpi0 >pci_link5: on acpi0 >pci_link6: on acpi0 >Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 >acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 >cpu0: on acpi0 >acpi_throttle0: on cpu0 >acpi_acad0: on acpi0 >battery0: on acpi0 >battery1: on acpi0 >acpi_lid0: on acpi0 >acpi_button0: on acpi0 >acpi_button1: on acpi0 >pcib0: port 0xcf8-0xcff on acpi0 >pci0: on pcib0 >pcib1: at device 1.0 on pci0 >pci1: on pcib1 >pci1: at device 0.0 (no driver attached) >pcib2: at device 28.0 on pci0 >pci2: on pcib2 >bge0: mem >0xdfcf0000-0xdfcfffff irq 16 at device 0.0 on pci2 >miibus0: on bge0 >brgphy0: on miibus0 >brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, >1000baseTX, 1000baseTX-FDX, auto >bge0: Ethernet address: 00:14:22:e1:41:be >uhci0: port >0xbf80-0xbf9f irq 16 at device 29.0 on pci0 >uhci0: [GIANT-LOCKED] >usb0: on uhci0 >usb0: USB revision 1.0 >uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 >uhub0: 2 ports with 2 removable, self powered >uhci1: port >0xbf60-0xbf7f irq 17 at device 29.1 on pci0 >uhci1: [GIANT-LOCKED] >usb1: on uhci1 >usb1: USB revision 1.0 >uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 >uhub1: 2 ports with 2 removable, self powered >uhci2: port >0xbf40-0xbf5f irq 18 at device 29.2 on pci0 >uhci2: [GIANT-LOCKED] >usb2: on uhci2 >usb2: USB revision 1.0 >uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 >uhub2: 2 ports with 2 removable, self powered >uhci3: port >0xbf20-0xbf3f irq 19 at device 29.3 on pci0 >uhci3: [GIANT-LOCKED] >usb3: on uhci3 >usb3: USB revision 1.0 >uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 >uhub3: 2 ports with 2 removable, self powered >ehci0: mem 0xffa80800-0xffa80bff >irq 16 at device 29.7 on pci0 >ehci0: [GIANT-LOCKED] >usb4: EHCI version 1.0 >usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3 >usb4: on ehci0 >usb4: USB revision 2.0 >uhub4: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 >uhub4: 8 ports with 8 removable, self powered >pcib3: at device 30.0 on pci0 >pci3: on pcib3 >cbb0: at device 1.0 on pci3 >cardbus0: on cbb0 >pccard0: <16-bit PCCard bus> on cbb0 >pci3: at device 1.5 (no driver attached) >pci3: at device 3.0 (no driver attached) >pci0: at device 30.2 (no driver attached) >isab0: at device 31.0 on pci0 >isa0: on isab0 >atapci0: port >0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xbfa0-0xbfaf irq 17 at device 31.2 on pci0 >atapci0: failed to enable memory mapping! >ata0: on atapci0 >ata1: on atapci0 >acpi_tz0: on acpi0 >atkbdc0: port 0x60,0x64,0x62,0x66 irq 1 on acpi0 >atkbd0: irq 1 on atkbdc0 >kbd0 at atkbd0 >atkbd0: [GIANT-LOCKED] >psm0: irq 12 on atkbdc0 >psm0: [GIANT-LOCKED] >psm0: model GlidePoint, device ID 0 >pmtimer0 on isa0 >orm0: at iomem 0xc0000-0xcffff on isa0 >ppc0: parallel port not found. >sc0: at flags 0x100 on isa0 >sc0: VGA <16 virtual consoles, flags=0x300> >sio0: configured irq 4 not in bitmap of probed irqs 0 >sio0: port may not be enabled >sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 >sio0: type 8250 or not responding >sio1: configured irq 3 not in bitmap of probed irqs 0 >sio1: port may not be enabled >vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 >ugen0: vendor 0x413c product 0x8103, rev 2.00/16.57, addr 2 >Timecounter "TSC" frequency 1995145893 Hz quality 800 >Timecounters tick every 1.000 msec >ad0: 76319MB at ata0-master UDMA100 >acd0: DVDR at ata1-master UDMA33 >Trying to mount root from ufs:/dev/ad0s3a >bge0: link state changed to UP >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"