Here is one response that I got, but have to try (but this is the kind of solution I wanted):

Hi,

Use the alias option to ifconfig e.g.

sudo ifconfig en0 inet 10.0.0.1 netmask 255.255.255.0 alias

Then if you do "ifconfig en0" you'll see the real interface and the alias turn up. You can remove aliases by using "-alias" e.g.

sudo ifconfig en0 inet 10.0.0.1 -alias

cheers,
;) jimmy.

However, I also found another method using the Network option in System Preferences.
Basically, what you do is you go to you Network Port Configurations, then highlight your Built-in Ethernet Port, click Duplicate on the right.
Now you can go to that Duplicated port and set up its connections for the alias. That's it.


On 09 Dec, 2003, at 11:14, nettles wrote:

Good question. Please let me know if you get it to work.

Thanks,

Jim Nettles

On Tuesday, December 9, 2003, at 02:06 PM, Curtis Vaughan wrote:

In the linux world, you can set multiple IP addresses to a single interface. For example, if I have eth0 = 192.168.1.1, I could set eth0:1 = 10.0.0.1.

How do I do that on a mac? i.e., I want to create an en1:1 and set an ip address for it.

Curtis Vaughan



------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Fink-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to