en1:1 and en1:2 possible or not?

AssetBurned

Registered
hi there,

i want to make two virtual network devices out of my one airport card in my iBook 12" 1.33GHz.

i tryed like i did it manytimes on some Linux machines, but all i got was sonething like "There is no en1:1 device" :-(

so now i want to know is it possible on Mac OS X 10.4.3 and how is it possible?

cu assetburned
 
Read the manpage for ifconfig, I may have made a mistake in here, or missed a detail (it seemed to work when I tried it, but I didn't do any testing).

You want to add the alias parameter when you set the address. You don't use virtual devices (en0:1 or whatever). So, like this:

ifconfig en0 10.0.0.5 alias

Then the interface will have two addresses.
 
no i don´t want to simply add an alias IP to that device.

i want to have two diffrent virtual devices. just like i can do it in linux.
there i can type:

ifconfig eth1:1 10.0.0.1 up
ifconfig eth1:2 192.168.0.1 up

and after that i have two devices in addition to my eth1 device.

cu assetburned
 
there are options in the ifconfig man page indicating you can create a new pseudo device (including using 802.1q VLAN trunking), but I couldn't find any examples of precisely what arguments you need. I didn't dig very deep, so I'm sure it's out there...
 
Back
Top