Re: "Silly" question about IP, NICs, and Linux

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Aug 28, 2007 at 11:35:20AM +0000, Mateus Interciso wrote:
> Hello,
> Is there a way to create thousands of internal ips (like 10.0.0.1) on 
> just one linux box, with 2 NICs?
> I need this for a final paper for university, it would be about routing 
> and load balancing, and since I don't have thousands of computers, I 
> would need another way, is there any?
> 
> Thanks a lot.
> 
> Mateus
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-net" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

You could add multiple ips to each interface using iproute2, but for your
described need it would probably just be easier to write a program to generate
packets with varying mac/ip addresses using a raw socket and libnet

Neil
 
-- 
/***************************************************
 *Neil Horman
 *Software Engineer
 *Red Hat, Inc.
 *nhorman@xxxxxxxxxxxxx
 *gpg keyid: 1024D / 0x92A74FA1
 *http://pgp.mit.edu
 ***************************************************/
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux