Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Jan 2000 08:27:33 +0100
From:      Kai Voigt <k@123.org>
To:        Jim Manley <jmanley@metronet.com>
Cc:        "Eric D. Futch" <efutch@nyct.net>, freebsd-stable@FreeBSD.ORG
Subject:   Re: Multiple IP addresses
Message-ID:  <20000120082732.V78143@abc.123.org>
In-Reply-To: <4.2.2.20000119203927.00a7b8e0@127.0.0.1>
References:  <Pine.BSF.4.05.10001192129540.14656-100000@bsd1.nyct.net> <4.2.2.20000119201356.00a8fad0@127.0.0.1> <4.2.2.20000119203316.00a8e2a0@127.0.0.1> <4.2.2.20000119203927.00a7b8e0@127.0.0.1>

next in thread | previous in thread | raw e-mail | index | archive | help
Jim Manley wrote:
> Found it.  Syntax problem.
> 
> ifconfig <interface> alias 192.168.0.10 netmask 0xffffffff

And to get all this done automatically at boot time, add this
to your /etc/rc.conf

network_interfaces="de0 lo0"  # List of network interfaces (lo0 is loopback).
ifconfig_de0="inet 195.244.241.123  netmask 255.255.255.0"
ifconfig_de0_alias0="inet 195.244.241.124 netmask 255.255.255.255"
ifconfig_de0_alias1="inet 195.244.241.125 netmask 255.255.255.255"
ifconfig_de0_alias2="inet 195.244.241.126 netmask 255.255.255.255"
ifconfig_de0_alias3="inet 195.244.241.127 netmask 255.255.255.255"
ifconfig_de0_alias4="inet 195.244.241.128 netmask 255.255.255.255"

Kai

PS: People, please learn to quote, thank you.

-- 
kai voigt                                               hamburger chaussee 36
                                                                   24113 kiel
                                                          04 31 - 22 19 98 69
                                                            http://k.123.org/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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