Date: Thu, 18 Jan 2001 10:23:42 +0000 From: Mikel King <mikel@ocsinternet.com> To: Drew Sanford <drew@planetwe.com> Cc: questions <questions@FreeBSD.ORG> Subject: Re: ifconfig in rc.conf Message-ID: <3A66C42E.A6857CA5@ocsinternet.com> References: <3A670981.4090308@planetwe.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Drew, Just add the following for your alias; ifconfig_dc0_alias0="inet 192.168.1.16 mtu 1462 netmask 255.255.255.255" cheers, Mikel Drew Sanford wrote: > 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 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?3A66C42E.A6857CA5>