2 ip-addr for 1 netcard...

Dirk-Willem van Gulik dirkx at webweaving.org
Mon Dec 15 04:35:40 PST 2003

On Mon, 15 Dec 2003, flux wrote:

> How do I assign two IP addresses for one netcard?

Just use the command 'man ifconfig' and check out the section
on 'alias'. In general it is somethign like

	vi /etc/rc.conf

and near


add things like


The manual equivalent is:

	ifconfig fxp0 alias netmask

to add an extra IP to the intel fxp0 card with IP address which
must be inside the currently assigned netmask for that interface or

	ifconfig fxp0 alias netmask

to assign a second IP and submask.


More information about the freebsd-questions mailing list