Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 May 2000 08:39:14 -0400 (EDT)
From:      Omachonu Ogali <oogali@intranova.net>
To:        Dan Langille <dan@rock.ghis.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: ping 127.0.0.1 => no route to host (fwd)
Message-ID:  <Pine.BSF.4.10.10005030837540.424-100000@hydrant.intranova.net>
In-Reply-To: <Pine.BSF.4.21.0005022109500.57376-100000@rock.ghis.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Do you use IPFilter? If so, either add a matching rule to allow data
to/from the loopback device, otherwise disable it, 'ipf -D'.

Allow Rules:
pass in on lo0 all
pass out on lo0 all

On Tue, 2 May 2000, Dan Langille wrote:

> I've just swapped a hard drive from a slower box to a faster box.  The
> networking on the new box is fuggered.  All pings give no "route to host"
> including 127.0.0.1.
> 
> Here are the system details.  Thanks.
> 
> # uname -a
> FreeBSD ducky.nz.freebsd.org 3.3-19991207-SNAP FreeBSD 3.3-19991207-SNAP
> #1: Wed May  3 15:07:46 NZST 2000     
> root@ducky.nz.freebsd.org:/usr/src/sys/compile/DUCKY40S  i386
> 
> # dmesg
> Copyright (c) 1992-1999 FreeBSD Inc.
> Copyright (c) 1982, 1986, 1989, 1991, 1993
>         The Regents of the University of California. All rights reserved.
> FreeBSD 3.3-19991207-SNAP #1: Wed May  3 15:07:46 NZST 2000
>     root@ducky.nz.freebsd.org:/usr/src/sys/compile/DUCKY40S
> Timecounter "i8254"  frequency 1193182 Hz
> CPU: Pentium/P54C (99.47-MHz 586-class CPU)
>   Origin = "GenuineIntel"  Id = 0x525  Stepping = 5
>   Features=0x1bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
> real memory  = 33554432 (32768K bytes)
> Preloaded elf kernel "kernel" at 0xc02aa000.
> Probing for devices on PCI bus 0:
> chip0: <Intel 82437FX PCI cache memory controller> rev 0x02 on pci0.0.0
> chip1: <Intel 82371FB PCI to ISA bridge> rev 0x02 on pci0.7.0
> ide_pci0: <Intel PIIX Bus-master IDE controller> rev 0x02 on pci0.7.1
> vga0: <ATI Mach64-CT graphics accelerator> rev 0x41 on pci0.12.0
> Probing for PnP devices:
> Probing for devices on the ISA bus:
> sc0 on isa
> sc0: VGA color <16 virtual consoles, flags=0x0>
> ed0 at 0x300-0x31f irq 10 maddr 0xcc000 msize 8192 on isa
> ed0: address 00:00:c0:fc:f2:b6, type SMC8216T (8 bit) 
> atkbdc0 at 0x60-0x6f on motherboard
> atkbd0 irq 1 on isa
> psm0 not found
> sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa
> sio0: type 16550A
> sio1 at 0x2f8-0x2ff irq 3 on isa
> sio1: type 16550A
> fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
> fdc0: FIFO enabled, 8 bytes threshold
> fd0: 1.44MB 3.5in
> wdc0 at 0x1f0-0x1f7 irq 14 on isa
> wdc0: unit 0 (wd0): <QUANTUM FIREBALL EL5.1A>
> wd0: 4892MB (10018890 sectors), 10602 cyls, 15 heads, 63 S/T, 512 B/S
> wdc1 not found at 0x170
> ppc0 at 0x378 irq 7 flags 0x40 on isa
> ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
> lpt0: <generic printer> on ppbus 0
> lpt0: Interrupt-driven port
> ppi0: <generic parallel i/o> on ppbus 0
> plip0: <PLIP network interface> on ppbus 0
> vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa
> npx0 on motherboard
> npx0: INT 16 interface
> Intel Pentium detected, installing workaround for F00F bug
> IP Filter: initialized.  Default = block all, Logging = enabled
> IP Filter: v3.3.6
> changing root device to wd0s1a
> 
> 
> # ifconfig -a
> 
> ed0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>         inet 192.168.0.78 netmask 0xffffff00 broadcast 192.168.0.255
>         ether 00:00:c0:fc:f2:b6 
> lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
> tun0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
> sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552
> ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
> lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
>         inet 127.0.0.1 netmask 0xff000000 
> 
> 
> # netstat -nr 
> 
> Routing tables
> 
> Internet:
> Destination        Gateway            Flags     Refs     Use     Netif
> Expire
> default            192.168.0.20       UGSc        0        0      ed0
> 127.0.0.1          127.0.0.1          UH          0        9      lo0
> 192.168            link#1             UC          0        0      ed0
> 192.168.0.20       link#1             UHLW        1        0      ed0
> 192.168.0.69       link#1             UHLW        0       65      ed0
> 192.168.0.78       0:0:c0:fc:f2:b6    UHLW        0        2      lo0
> 
> 
> # ping 127.0.0.1
> 
> PING 127.0.0.1 (127.0.0.1): 56 data bytes
> ping: sendto: No route to host
> ping: sendto: No route to host
> ping: sendto: No route to host
> ping: sendto: No route to host
> --- 127.0.0.1 ping statistics ---
> 4 packets transmitted, 0 packets received, 100% packet loss
> 
> 
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 

-- 
+-------------------------------------------------------------------------+
| Omachonu Ogali                                     oogali@intranova.net |
| Intranova Networking Group                 http://tribune.intranova.net |
| PGP Key ID:                                                  0xBFE60839 |
| PGP Fingerprint:       C8 51 14 FD 2A 87 53 D1  E3 AA 12 12 01 93 BD 34 |
+-------------------------------------------------------------------------+



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.10005030837540.424-100000>