LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices

Reply
 
LinkBack Search this Thread
Old 10-07-2004, 02:51 PM   #1
Romendo
LQ Newbie
 
Registered: Sep 2003
Location: Innsbruck, Austria
Distribution: Slackware 10.0
Posts: 18

Rep: Reputation: 0
DragonFlyBSD: Network not working after boot


When I boot into DragonFlyBSD 1.0A the external network does not work. Here is my configuration and the output of ifconfig and netstat-rn:

ifconfig_sk0="inet 192.168.0.3 netmask 255.255.255.0"
defaultrouter="192.168.0.1"
hostname="toronto"

sk0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet 192.168.0.3 netmask 0xffffff00 broadcast 192.168.0.255
inet6 fe80::211:2fff:fe30:c87%sk0 prefixlen 64 scopeid 0x2
ether 00:11:2f:30:0c:87
media: Ethernet autoselect (100baseTX <full-duplex,flag0,flag1>)
status: active

Routing tables

Internet:
Destination Gateway Flags Refs Use Netif Expire
default 192.168.0.1 UGSc 3 0 sk0
127.0.0.1 127.0.0.1 UH 0 0 lo0
192.168.0 link#2 UC 1 0 sk0
192.168.0.1 00:09:5b:46:5f:40 UHLW 4 0 sk0 1057

Internet6:
Destination Gateway Flags Netif Expire
::1 ::1 UH lo0
fe80::%sk0/64 link#2 UC sk0
fe80::211:2fff:fe30:c87%sk0 00:11:2f:30:0c:87 UHL lo0
fe80::%lo0/64 fe80::1%lo0 Uc lo0
fe80::1%lo0 link#7 UHL lo0
ff01::/32 ::1 U lo0
ff02::%sk0/32 link#2 UC sk0
ff02::%lo0/32 ::1 UC lo0

Funny thing is that my internal network works. I can ping 192.168.0.1 (router) and 192.168.0.2 (second computer). However, external network does not work.

After executing the following two commands, everything works fine:

ifconfig sk0 192.168.0.4
route add default 192.168.0.1

Output of ifconfig and netstat -r is now:

sk0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet6 fe80::211:2fff:fe30:c87%sk0 prefixlen 64 scopeid 0x2
inet 192.168.0.4 netmask 0xffffff00 broadcast 192.168.0.255
ether 00:11:2f:30:0c:87
media: Ethernet autoselect (100baseTX <full-duplex,flag0,flag1>)
status: active

Routing tables

Internet:
Destination Gateway Flags Refs Use Netif Expire
default 192.168.0.1 UGSc 0 2 sk0
127.0.0.1 127.0.0.1 UH 0 0 lo0
192.168.0 link#2 UC 1 0 sk0
192.168.0.1 00:09:5b:46:5f:40 UHLW 1 0 sk0 1178

Internet6:
Destination Gateway Flags Netif Expire
::1 ::1 UH lo0
fe80::%sk0/64 link#2 UC sk0
fe80::211:2fff:fe30:c87%sk0 00:11:2f:30:0c:87 UHL lo0
fe80::%lo0/64 fe80::1%lo0 Uc lo0
fe80::1%lo0 link#7 UHL lo0
ff01::/32 ::1 U lo0
ff02::%sk0/32 link#2 UC sk0
ff02::%lo0/32 ::1 UC lo0

I would appreciate any hints in resolving this "interesting" problem.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Network card not working? Cannot activate network device eth0 lifeonitsown Linux - Networking 1 11-17-2005 06:30 AM
Hesitating: FreeBSD 4, 5, or DragonFlyBSD? frzburn *BSD 8 04-24-2005 02:06 AM
Network not working under Fedora, but does under gentoo boot CD BrianK Fedora 7 04-08-2005 04:18 PM
Internet working, network not working... phoenix07 Fedora 1 04-11-2004 02:30 AM
Ethernet Adapter not working or Network not working... phoenix07 Linux - Hardware 2 04-09-2004 06:58 PM


All times are GMT -5. The time now is 02:19 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration