everyone
06-04-2001, 02:19 PM
How do I add a block of IPs to a server running Linux 6.2? Thanks
![]() | View Full Version : Adding a block of IP addresses everyone 06-04-2001, 02:19 PM How do I add a block of IPs to a server running Linux 6.2? Thanks cbaker17 06-04-2001, 02:29 PM You need to alias them to the box, the easiest way is prob. through linuxconf, simply type linuxconf at the command prompt and it will take you into a graphical interface where you can manage your network interface along with other things.. If you dont have linuxconf, webmin is another good gui for managing servers ZachB 06-18-2001, 01:04 AM Alright, I'm assuming that you have your IP address's available and ready to use, you just need to find that next step of how your going to use it, I'm also assuming that you have one network card in this box and have root. first step, make sure you have IP alias'ing available, try doing this ifconfig eth0:2 inet 192.168.0.33 if that gives you an error, you probly need to recompile your kernel with aliasing which I'll refer you to linuxdoc.org 's http://www.linuxdoc.org/HOWTO/Kernel-HOWTO.html if that works, and you have an ip address available to use, than your set. just use ifconfig eth0:(# you have setup) inet (ip.address) to view what you have so far, type ifconfig -a I'm not 100% familiar with redhat, it has been some time since I've used it, so for proper network setup, I'm not familiar with, but the lazy way to do it echo "ifconfig eth0:3 inet some.ip.address">>/etc/rc.d/rc.local if you need anymore help, let me know. rghigliazza 10-02-2001, 07:19 PM And does anybody knows how to add multiple IPs to a NT machine? CagedTornado 10-02-2001, 07:26 PM It's a pain in the rear, but you add them through the GUI (as far as I know). In Windows 2000: -Right-click on the 'My Network Places' icon on the desktop -Select 'Properties' -Right-click on the 'Connection' you want to add the IP addresses to -Select 'Properties' -Select Internet Protocol (TCP/IP) in the components list -Press 'Properties' ... It looks like you can only add one IP address ... but that's not entirely true ... -Press 'Advanced' -Add IP address/subnet combinations using the 'Add' button in the top part of the properties dialog. Dan rghigliazza 10-02-2001, 07:28 PM Yes, but i need to ADD 300 IPs. Ricardo |