Date: Sat, 7 Jul 2007 08:04:17 -0500 From: Eric Crist <mnslinky@gmail.com> To: Daniel A. A. <alive@dienub.org> Cc: ray@stilltech.net, freebsd-questions@freebsd.org Subject: Re: one server with two ip address Message-ID: <9DF80946-8AC5-469E-B870-2046411DB930@gmail.com> In-Reply-To: <468EDCA5.4050601@dienub.org> References: <200707061144.17748.ray@stilltech.net> <468EDCA5.4050601@dienub.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Jul 6, 2007, at 7:21 PMJul 6, 2007, Daniel A. A. wrote: > Ray wrote: >> Hello all, >> I have a production server with two network interfaces. The >> primary interface is up and running. (DHCP from the local Telco) >> The second interface is installed, but not yet active. It will run >> on a local network only. Can I do something as simple as ifconfig >> nfe1 192.168.0.100 >> to give myself access to the internal network? As this is a >> production server, I don't want to just play with it too much. >> Thanks, >> Ray > You'd have to > ifconfig nfe1 192.168.0.100 netmask ###.###.###.### > But don't worry - If you mistype, or make some other error (Like > forgetting to specify the gateway for the connection), nothing > happens. You'll just get an error printed to stdout and the netif > will remain untouched. > You can shorten that command using CIDR notation as well: ifconfig nfe1 192.168.0.100/24 Eric Crist
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9DF80946-8AC5-469E-B870-2046411DB930>