Date: Fri, 9 Aug 2002 11:39:23 +0100 From: "Ryan Baldwin" <ryan.baldwin@nexusalpha.com> To: <freebsd-questions@FreeBSD.ORG> Subject: RE: sis900 ifconfig and static ip address Message-ID: <000101c23f91$072f8dc0$cf01a8c0@ryanb>
next in thread | raw e-mail | index | archive | help
Thanks alot - I do mean rc.conf that was a mistake. ifconfig_sis0="inet 192.168.2.100 netmask 255.255.255.0" ^^^^^^^ Oh my, that could very well be the problem. I was trying to get this going last and am at work at the moment and wrote this post from memory but I am fairly sure that is what I put- I will check this once I get home. I apologise for the poorely written and stupid(if this is the problem) question, and thanks very much for the respone. Ryan Barry - sorry fr responding to your email directly - I hit reply intending this to go to the list but then realised what was in the To field a little to late. -----Original Message----- From: owner-freebsd-questions@FreeBSD.ORG [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Barry Byrne Sent: 09 August 2002 11:24 To: ryan.baldwin@nexusalpha.com; freebsd-questions@FreeBSD.ORG Subject: RE: sis900 ifconfig and static ip address 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 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?000101c23f91$072f8dc0$cf01a8c0>