Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Aug 2003 01:14:27 +1000
From:      "Hugh Blandford" <hugh@island.net.au>
To:        "mouhammad sajjad" <sajjadw21@hotmail.com>
Cc:        freebsd-isp@FreeBSD.ORG
Subject:   Re: ip
Message-ID:  <000d01c35776$6f71eb00$7adea8c0@island.net.au>
References:  <Sea1-F163DO3hRDT6Z300010c21@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Mouhammad,

this is covered in a few spots, the thing to look for is the word alias.

eg:

you could put the following in /etc/rc.conf

ifconfig_fxp0="inet 210.28.14.35 netmask 255.255.255.192"
ifconfig_fxp0_alias0="inet 210.28.14.3 netmask 0xffffffff" # alias entry
ifconfig_fxp0_alias1="inet 210.28.14.9 netmask 0xffffffff" # alias entry
ifconfig_fxp0_alias2="inet 210.28.14.16 netmask 0xffffffff" # alias entry

have a look at man ifconfig.

you could do the following from the command line

ifconfig fxp0 inet 210.28.14.16 netmask 0xffffffff alias

Hugh
----- Original Message ----- 
From: "mouhammad sajjad" <sajjadw21@hotmail.com>
To: <freebsd-isp@freebsd.org>
Sent: Thursday, July 31, 2003 5:18 PM
Subject: ip


> 
>    hi
> 
>    how i can add multi ip in freeBSD?????
>      _________________________________________________________________
> 
>    The new [1]MSN 8: smart spam protection and 2 months FREE*
> 
> References
> 
>    1. http://g.msn.com/8HMYEN/2737??PS=
> _______________________________________________
> freebsd-isp@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-isp
> To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org"
> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000d01c35776$6f71eb00$7adea8c0>