RE: Starting/stopping a network interface
From: Olaf Hoyer (ohoyer_at_gaff.hhhr.ision.net)
Date: Sat, 1 Nov 2003 21:10:56 +0100 (CET) To: Roland Giesler <email@example.com>
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?)
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...
> -----Original Message-----
> From: Kevin Stevens [mailto:firstname.lastname@example.org]
> Sent: 01 November 2003 21:50
> To: Roland Giesler
> Cc: email@example.com
> 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 188.8.131.52 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?
> firstname.lastname@example.org mailing list
> To unsubscribe, send any mail to "email@example.com"
-- Olaf Hoyer firstname.lastname@example.org Fuerchterliche Erlebniss geben zu raten, ob der, welcher sie erlebt, nicht etwas Fuerchterliches ist. (Nietzsche, Jenseits von Gut und Boese) _______________________________________________ email@example.com mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-newbies To unsubscribe, send any mail to "firstname.lastname@example.org"