Christopher Mi wrote:
Sophie Hu wrote:
my solaries machine only has two network interfaces bge0 and bge1.
I want to connect the machine to two subnets via a switch, while this switch 
only  accept bge2 and bge3. So is there any way to rename the network 
interfaces from bge0/ bge1 to bge2/bge3? or just create two new interfaces? or 
is there any other options?

I know how to create logical interface by using such as:
ifconfig <interface> addif <new IP address>/24 up
But how to create or rename physical interface, like bge0 and bge1?

Thanks
This message posted from opensolaris.org
_______________________________________________
networking-discuss mailing list
[email protected]
If you use Snv83 or higher, you can do like this:

# ifconfig bge0 unplumb
# dladm rename-link bge0 bge2
# ifconfig bge2 plumb

While that's true, you can rename them to (almost?) anything you want.

To the Original Poster, why do you need to do this?

The switch can't possibly know what the interfaces are named in Solaris. Why is it that you think the switch will only accept the names 'bge2' and 'bge3'.

Most likely there is some other problem getting in your way here. If the 2 interfaces aren't working as 0/1, it's unlikely they'll work as 2/3 either.

  -Kyle

_______________________________________________
networking-discuss mailing list
[email protected]

_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to