Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Aug 2002 11:24:13 +0100
From:      "Barry Byrne" <barry.byrne@wbtsystems.com>
To:        <ryan.baldwin@nexusalpha.com>, <freebsd-questions@FreeBSD.ORG>
Subject:   RE: sis900 ifconfig and static ip address
Message-ID:  <NCBBIAMNAKDKFJIIGNPKOECDJDAA.barry.byrne@wbtsystems.com>
In-Reply-To: <000301c23f8e$52788050$cf01a8c0@ryanb>

next in thread | previous in thread | raw e-mail | index | archive | help
Ryan:

I assume you mean rc.conf.

and I think it should read:

ifconfig_sis0="inet 192.168.2.100 netmask 255.255.255.0"
                                  ^^^^^^^

 - Barry


>
> I am trying to give my FreeBsd box a static ip address. I have set up
> machines with static ip's before without problems. This machine used dhcp
> previously. In rc.d I have changed
>
> ifconfig_sis0="DHCP"
> to
> ifconfig_sis0="inet 192.168.2.100 subnet 255.255.255.0"
>
> 192.168.2.100 is the address it used to be assigned via dhcp. The dhcp
> server on my network is now disabled. The problem is that now
> when ifconfig
> runs during boot
> the card does not report an ip address. If I run ifconfig it
> shows that the
> cards autodetected the media ok - but it does not have an ip address. The
> interface is therefre not operational. This has worked for me in the past
> OK. I've tried looking for solutions but with no luck so far. I would
> appreciate it if anyone could let me know if they know of anything I might
> have got wrong that would lead to this problem. As far as I'm
> aware this is
> the first step in switching the box over to a static ip.
>
> Thanks
>
> Ryan
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
>


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?NCBBIAMNAKDKFJIIGNPKOECDJDAA.barry.byrne>