Date: Sat, 1 Nov 2003 21:10:56 +0100 (CET) From: Olaf Hoyer <ohoyer@gaff.hhhr.ision.net> To: Roland Giesler <roland@thegreentree.org> Cc: freebsd-newbies@freebsd.org Subject: RE: Starting/stopping a network interface Message-ID: <20031101210654.T21938@gaff.hhhr.ision.net> In-Reply-To: <NFEBLNMJLPMABJMOEINDMEPECHAA.roland@thegreentree.org> References: <NFEBLNMJLPMABJMOEINDMEPECHAA.roland@thegreentree.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 1 Nov 2003, Roland Giesler wrote: > The interface is up, but it still read 192.168.1.1 !! Although I've changed > /etc/rc.conf the change doesn't seem to be effective. That's why I was > wondering how to stop/start the interface so the change could be re-read (or > am I thinking to much in a Windows fashion here?) Hi! Well, yes, the rc.conf only gets parsed during start-up. You could basically execute the rc.network script, but preferred method is to activate those things manually via ifconfig. Respectively, first test with ifconfig, if it does what you want, and then edit t rc.conf to make sure that after a reboot all stays the same. You want to do: ifconfig rlx 192.168.99.2 netmask 255.255.255.0 x= Number of card the route shall be automatically set up. BTW: This normally goes above the ordinary newbie-horizon, those caliber is better suited on -questions... HTH Olaf > > -----Original Message----- > From: Kevin Stevens [mailto:kevin_stevens@pursued-with.net] > Sent: 01 November 2003 21:50 > To: Roland Giesler > Cc: freebsd-newbies@freebsd.org > Subject: Re: Starting/stopping a network interface > > > > On Nov 1, 2003, at 17:19, Roland Giesler wrote: > > > I've searched high and low, but can't find an answer to this problem. > > Maybe someone could help or point me in the right direction? Here > > goes: > > I've got FreeBSD 4.7 set up with 2 netcards. One is 192.168.99.2 and > > the other 195.15.176.2 and I've got routing between them enabled. I > > cannot ping the 192.168.99.2 card even from the console. Put I can > > browse the web from the machine (I've got X with KDE set up) and also > > ping other machines on the network. > > Is the interface up? What does ifconfig -a say? > > KeS > > > _______________________________________________ > freebsd-newbies@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-newbies > To unsubscribe, send any mail to "freebsd-newbies-unsubscribe@freebsd.org" > -- Olaf Hoyer ohoyer@gaff.hhhr.ision.net Fuerchterliche Erlebniss geben zu raten, ob der, welcher sie erlebt, nicht etwas Fuerchterliches ist. (Nietzsche, Jenseits von Gut und Boese)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031101210654.T21938>