Date: Thu, 18 Jan 2001 09:19:29 -0600 From: Drew Sanford <drew@planetwe.com> To: questions <questions@freebsd.org> Subject: ifconfig in rc.conf Message-ID: <3A670981.4090308@planetwe.com>
next in thread | raw e-mail | index | archive | help
I have a NIC I need to answer to two IP addresses. Lets say hypothetically I have something like: ifconfig_dc0="inet 192.168.1.6 mtu 1462 netmask 255.255.255.0" in my rc.conf file. If the machine is up, I type something like: ifconfig dc0 alias 192.168.1.16 to add the second ip address. If I want this to happen automatically on startup (FBSD 4.2-stable) I would add: ifconfig_dc0="alias 192.168.1.16" to my rc.conf, right? I'm trying to verify this because if the machine goes down, and comes back up, and that doesn't work, I'd hate to have to rely on my memory to check on it. Thanks in advance for confirming or correcting my suspicions on this. -- Drew Sanford Systems Administrator drew@planetwe.com 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?3A670981.4090308>