2 ip-addr for 1 netcard...

Jerry McAllister jerrymc at clunix.cl.msu.edu
Mon Dec 15 06:52:31 PST 2003


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

Check out ifconfig(8) alias

if done in the rc.conf file or its children it would be something 
like the following because of the way network startup works.

ifconfig_xl0_alias0="147.39.62.11 netmask 255.255.255.255"
ifconfig_xl0_alias1="147.39.62.12 netmask 255.255.255.255"

The quotes must be there, the aliasnn numbers must each be unique
and the netmask must be as shown.   The ip addresses abobe, of course, 
are fiction and must be replaced with correct ones.

////jerry

> 
> -- 
> Best regards,
>  flux                          mailto:flux at hotbox.ru
> 
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
> 



More information about the freebsd-questions mailing list