Date: Thu, 01 Dec 2005 19:44:10 -0800 From: Glenn Dawson <glenn@antimatter.net> To: Mark Jayson Alvarez <jay2xra@yahoo.com>, questions@freebsd.org Subject: Re: devices are automatically created at boot(how about pseudo devices e.g; carp)? Message-ID: <6.2.3.4.2.20051201194128.05c72d10@cobalt.antimatter.net> In-Reply-To: <20051202033217.95647.qmail@web51606.mail.yahoo.com> References: <20051202033217.95647.qmail@web51606.mail.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
At 07:32 PM 12/1/2005, Mark Jayson Alvarez wrote: >Hi, > Do I have to write a script that contains let's say: > #!/bin/sh > ifconfig carp0 create > > > then add a line in my rc.conf that looks like this: > ifconfig_carp0="vhid 1 pass mypasswd 192.168.0.1/24" > > or is there a place where I can do them both at the same time? from the carp man page: A carp interface can be created at runtime using the ifconfig carpN create command or by configuring it via cloned_interfaces in the /etc/rc.conf file. so, using something like: cloned_interfaces="carp0" in your rc.conf would create the device at boot time. From there, you would just configure it like any other network interface. -Glenn > > thanks > > > >--------------------------------- > Yahoo! Personals > Single? There's someone we'd like you to meet. > Lots of someones, actually. Try Yahoo! Personals >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6.2.3.4.2.20051201194128.05c72d10>