Possible SPAM (accuracy low): how many ip's

Matt Luettgen matt at tccassociates.net
Thu Dec 19 13:42:42 CST 2002


Oh yeah sorry about the  possible spam stuff, my mail provider filters
spam...

heres the script he wrote

#!/bin/sh

IP="10.0"
LEVEL1COUNT="0" # 10.0.$LEVEL1COUNT.$LEVEL2COUNT
LEVEL2COUNT="1"
COUNT="0"

while [ $LEVEL1COUNT -lt 255 ]; do
	while [ $LEVEL2COUNT -lt 255 ]; do
		echo $IP.$LEVEL1COUNT.$LEVEL2COUNT $COUNT
		if ifconfig eth0:$COUNT $IP.$LEVEL1COUNT.$LEVEL2COUNT; then
		    COUNT=$[COUNT+1]
		    LEVEL2COUNT=$[LEVEL2COUNT+1]
		else
		    echo "Total nr of aliases created: $COUNT"
		    exit 1
		fi
	done
	LEVEL1COUNT=$[LEVEL1COUNT+1]
	LEVEL2COUNT="1"
done

On Thu, 19 Dec 2002 04:18:13 -0800 (PST)
Dale <dale_n_ks at yahoo.com> wrote:

> question is.. how many ip's can you alias to a single
> NIC?
> 
> Do you feel it is possible to over load a nic with ip
> addresses if you are not exceeding its bandwitdh
> limits?
> 
> 
> 
> =====
> o----------------------------------------------------o
>   |     The only possible interpretation of any       |
>   |     research whatever in the "social sciences"  |
>   |     is: some do, some don't.                            | 
>   |                                                                   
>      |
>   |      -Ernest Rutherford                                   |
>   o----------------------------------------------------o
> 
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com
> 
> 
> majordomo at kclug.org Enter without the quotes in body of message
> 
> 




More information about the Kclug mailing list