Hello all. I'm having a networking problem with my 8.3-RELEASE installation and I've exhausted my knowledge on what to do. In a nutshell:
Pinging the gateway gets me:
A variety of other networking apps also throw connection errors, even when trying to connect via IP address.
So given that the interface can be configured via DHCP it seems like the adapter should be able to talk to the gateway, and it doesn't seem like just a DNS issue because all IP fails. Any thoughts?
rc.conf:
And some relevant dmesg snippets:
- When the system boots the ethernet adapter is brought up and is configured via DHCP
- The routing table is set up with a default route to the gateway during the boot process
- After booting, no net communication seems to be able to reach the gateway
Pinging the gateway gets me:
Code:
ping: sendto: Host is down
A variety of other networking apps also throw connection errors, even when trying to connect via IP address.
So given that the interface can be configured via DHCP it seems like the adapter should be able to talk to the gateway, and it doesn't seem like just a DNS issue because all IP fails. Any thoughts?
rc.conf:
Code:
# -- sysinstall generated deltas -- # Sat Jan 23 13:28:04 2010
# Created: Sat Jan 23 13:28:04 2010
# Enable network daemons for user convenience.
# Please make all changes to this file, not to /etc/defaults/rc.conf.
# This file now contains just the overrides from /etc/defaults/rc.conf.
#network_interfaces="lo0 ep0"
rc_debug="YES"
#defaultroute_delay="60"
#ip6addrctl_enable="NO"
#ip6addrctl_policy="ipv4_prefer"
#ipv6_network_interfaces="none"
#ipv6_activate_all_interfaces="NO"
ifconfig_ep0="SYNCDHCP"
inetd_enable="YES"
#sshd_enable="YES"
hostname="vernon"
#ntpdate_enable="YES"
#ntpd_enable="YES"
#defaultrouter="192.168.1.1"
ifconfig
:
Code:
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=3<RXCSUM,TXCSUM>
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
inet6 ::1 prefixlen 128
inet 127.0.0.1 netmask 0xff000000
nd6 options=3<PERFORMNUD,ACCEPT_RTADV>
ep0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether 00:50:04:cc:d1:5c
inet 192.168.1.4 netmask 0xffffff00 broadcast 192.168.1.255
media: Ethernet 10baseT/UTP
status: active
netstat -r
:
Code:
Routing tables
Internet:
Destination Gateway Flags Refs Use Netif Expire
default 192.168.1.1 UGS 0 0 ep0
localhost link#2 UH 0 0 lo0
192.168.1.0 link#3 U 0 26 ep0
192.168.1.4 link#3 UHS 0 0 lo0
Internet6:
Destination Gateway Flags Netif Expire
:: localhost UGRS lo0
localhost localhost UH lo0
::ffff:0.0.0.0 localhost UGRS lo0
fe80::%lo0 link#2 U lo0
fe80::1%lo0 link#2 UHS lo0
ff01::%lo0 fe80::1%lo0 U lo0
ff02::%lo0 fe80::1%lo0 U lo0
route show default
:
Code:
route to: default
destination: default
mask: default
gateway: 192.168.1.1
interface: ep0
flags: <UP,GATEWAY,DONE,STATIC>
recvpipe sendpipe ssthresh rtt,msec mtu weight expire
0 0 0 0 1500 1 0
rcorder /etc/rc.d/*
: http://pastebin.com/6qA7ReXB dmesg
with rc_debug="YES": http://pastebin.com/gBrC75Y4And some relevant dmesg snippets:
Code:
...
ep0: <3Com Megahertz 589E> at port 0x100-0x10f irq 11 function 0 config 1 on pccard0
ep0: Ethernet address: 00:50:04:cc:d1:5c
ep0: [ITHREAD]
...
/etc/rc: DEBUG: run_rc_command: doit: network_start
/etc/rc: DEBUG: Cloned:
/etc/rc.d/dhclient: DEBUG: pid file (/var/run/dhclient.ep0.pid): not readable.
/etc/rc.d/dhclient: DEBUG: run_rc_command: start_precmd: dhclient_prestart
/etc/rc.d/dhclient: DEBUG: checkyesno: background_dhclient is set to NO.
Starting dhclient.
/etc/rc.d/dhclient: DEBUG: run_rc_command: doit: /sbin/dhclient ep0
DHCPREQUEST on ep0 to 255.255.255.255 port 67
DHCPACK from 192.168.1.1
bound to 192.168.1.4 -- renewal in 43200 seconds.
Starting Network: lo0 ep0.
/etc/rc: DEBUG: checkyesno: rc_startmsgs is set to YES.
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=3<RXCSUM,TXCSUM>
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
inet6 ::1 prefixlen 128
inet 127.0.0.1 netmask 0xff000000
nd6 options=3<PERFORMNUD,ACCEPT_RTADV>
ep0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether 00:50:04:cc:d1:5c
inet 192.168.1.4 netmask 0xffffff00 broadcast 192.168.1.255
media: Ethernet 10baseT/UTP
status: active
/etc/rc: DEBUG: The following interfaces were not configured:
...
/etc/rc: DEBUG: run_rc_command: doit: routing_start
add net ::ffff:0.0.0.0: gateway ::1
add net ::0.0.0.0: gateway ::1
...