Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 07 Jul 2007 02:21:57 +0200
From:      "Daniel A. A." <alive@dienub.org>
To:        ray@stilltech.net
Cc:        freebsd-questions@freebsd.org
Subject:   Re: one server with two ip address
Message-ID:  <468EDCA5.4050601@dienub.org>
In-Reply-To: <200707061144.17748.ray@stilltech.net>
References:  <200707061144.17748.ray@stilltech.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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
>
> _______________________________________________
> 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"
>
>   
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?468EDCA5.4050601>