[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Newbie help - No route to host



On Sat, Apr 05, 2003 at 10:43:54AM -0800, Victor Richardson wrote:
> I just did a new ftp install of 3.2 (stable) box with one NIC card - dc0.
> Since then, using "ifconfig dc1 inet 192.168.1.7 netmask 255.255.255.0" I
> added two more - "dc1" and "xl0".
> 
> According to "ifconfig -a"all  are active and configured,
> 
> lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33224
>         inet6 ::1 prefixlen 128
>         inet6 fe80::1%lo0 prefixlen 64 scopeid 0x6
>         inet 127.0.0.1 netmask 0xff000000
> lo1: flags=8008<LOOPBACK,MULTICAST> mtu 33224
> xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>         address: 00:50:04:6e:81:f2
>         media: Ethernet autoselect (100baseTX full-duplex)
>         status: active
>         inet6 fe80::250:4ff:fe6e:81f2%xl0 prefixlen 64 scopeid 0x1
>         inet 192.168.1.6 netmask 0xffffff00 broadcast 192.168.1.255
> dc0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>         address: 00:c0:f0:56:a1:c0
>         media: Ethernet autoselect (100baseTX full-duplex)
>         status: active
>         inet6 fe80::2c0:f0ff:fe56:a1c0%dc0 prefixlen 64 scopeid 0x2
>         inet 192.168.1.4 netmask 0xffffff00 broadcast 192.168.1.255
> dc1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>         address: 00:80:c6:f7:86:26
>         media: Ethernet autoselect (100baseTX full-duplex)
>         status: active
>         inet6 fe80::280:c6ff:fef7:8626%dc1 prefixlen 64 scopeid 0x3
>         inet 192.168.1.7 netmask 0xffffff00 broadcast 192.168.1.255
> 
> but when I try to ping any of them(including the original working dc0), I
> get this response.
> 
> PING 192.168.1.7 (192.168.1.7): 56 data bytes
> ping: sendto: No route to host
> 
> I thought the routing table would be configured on reboot, I guess not.
> Anyway, I've read the FAQ and man pages about adding interfaces, but haven't
> been able to find anything explaining what to do.
> 
> Directions to the relevent man pages or suggestions?
> 
> All help appreciated,
> 
> Victor
> 

Have you read
man 5 hostname.if
?

-- eric



Visit your host, monkey.org