Re: ip addressing in freebsd

2004-01-16 Thread Matthew Seaman
On Fri, Jan 16, 2004 at 05:59:21PM +, niraj kumar wrote:
 
> how many ip address can i assign to my single machine( maximum limit ).how can i 
> check this in freebsd   thanks in advance   niraj
> 

There's no specific limit: the total number you could possibly support
depends on the capacity of your hardware and how well you can tweak
the kernel settings.

Practically speaking, you could certainly support dozens, and maybe
hundreds of addresses on a single machine.  The only way you'll get
any hard numbers is to run some experiments.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: ip addressing in freebsd

2003-12-28 Thread Dirk-Willem van Gulik


On Sun, 28 Dec 2003, niraj kumar wrote:

> 1. in freebsd we can have two ip address for a single host like 2.0.0.1
> & 17.0.0.1 by using ifconfig but why can't we assign two ip like 2.0.0.1
> & 2.0.0.2 (i know that both r in same network)

In your rc.conf:

ifconfig_fxp0=...2.0.0.1
ifconfig_fxp0_alias0=...2.0.0.2 netmask 255.255.255.255
ifconfig_fxp0_alias1=...2.0.0.3 netmask 255.255.255.255

See /etc/defaults/rc.conf for more examples.

> 3 where i can find more about this (links)

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/

chapters on networking and setup

> 4. where is the code of the ip resolution in thekernel

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/

chapters on the kernel and references for the OS internals.

DW
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ip addressing in freebsd

2003-12-28 Thread "J.D. BronsonĀ®"
At 07:21 AM 12/28/2003, you wrote:
1. in freebsd we can have two ip address for a single host like 2.0.0.1 & 
17.0.0.1 by using ifconfig but why can't we assign two ip like 2.0.0.1 & 
2.0.0.2 (i  know that both r in same network)
2 so where is the problem in resolving the ip addressing of the host
3 where i can find more about this (links)

4. where is the code of the ip resolution in 
thekernel
  niraj

You can do this. You setup aliases in rc.conf:

ifconfig_bge0="inet 2.0.0.1  netmask 255.255.255.0"
ifconfig_bge0_alias0="inet 2.0.0.2 netmask 255.255.255.255"
( you need a 32bit mask on any aliases especially ones on the same subnet)

then, if you do this you will see ARP complaints. To quiet that up add this 
to your sysctl.conf:

net.link.ether.inet.log_arp_wrong_iface=0

Hope this helps! 

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"