Novell Home

I need to have more than one IP address on a network card. How do I do it?

Novell Cool Solutions: Question & Answer

Posted: 4 May 2005

Q:
I need to have more than one IP address on a network card. How do I do it?

A:
In a terminal windows type in this line for the secondary ip address 10.1.1.10:

/sbin/ifconfig eth0:1 inet 10.1.1.10 netmask 255.255.255.0

EXAMPLE: You can also create a shell script to run for easy creation of seconday ip.

#!/bin/sh
/sbin/ifconfig eth0:1 inet 10.1.1.10 netmask 255.255.255.0

Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com

© 2014 Novell