Skip site navigation (1)Skip section navigation (2)
Date:      10 May 1998 20:37:31 +0200
From:      dag-erli@ifi.uio.no (Dag-Erling Coidan =?iso-8859-1?Q?Sm=F8rgrav?= )
To:        x5gb7uk9@wna-linknet.com
Cc:        freebsd-net@FreeBSD.ORG
Subject:   Re: home network
Message-ID:  <xzpk97uas5w.fsf@hrotti.ifi.uio.no>
In-Reply-To: "Arnold J. Rimmer"'s message of "Sun, 10 May 1998 11:27:51 -0500"
References:  <3555D587.BE1@wna-linknet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
"Arnold J. Rimmer" <x5gb7uk9@wna-linknet.com> writes:
> ifconfig -a results:
> ed0: flags=8843 <UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500

You should have two lines here with the IP and MAC addresses,
something like:

ed0: flags=8843 <UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 192.168.1.2 netmask 0xffffff00 broadcast 192.168.1.255
        ether 01:23:45:67:89:ab

(the actual numbers on the second line will of course be different)

If these lines are missing, make sure you have the appropriate entries
in /etc/rc.conf:

network_interfaces="lo0 ed0"
ifconfig_lo0="inet 127.0.0.1 netmask 0xff000000"
ifconfig_ed0="inet 192.168.1.2 netmask 0xffffff00"

If that is indeed the problem, you can fix it by typing the following
as root:

# ifconfig ed0 inet 192.168.1.2 netmask 0xffffff00

(but remember to add the appropriate lines to /etc/rc.conf as well)

-- 
Noone else has a .sig like this one.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzpk97uas5w.fsf>