Results 1 to 4 of 4
Thread: mac address
-
07-13-2009, 05:17 PM #1Junior Guru Wannabe
- Join Date
- Mar 2009
- Posts
- 90
mac address
How do I apply a MAC Address (of my choice, not random) to a VE (Virtuozzo powered)
I tried this:
[root@node root]# vzctl set VEID# --mac "actual mac address here" --save
Invalid usage. Option --ifname not specified
In order to license software for use for my client's company, the vendor needs the MAC Addresses setup for their vps' virtual enet interfaces.
-
07-13-2009, 05:33 PM #2Junior Guru Wannabe
- Join Date
- Jul 2009
- Location
- Charlotte, NC
- Posts
- 42
It looks like it wants you to specify the device name, i.e. eth0, eth1, etc.
-
07-13-2009, 05:41 PM #3Junior Guru Wannabe
- Join Date
- Mar 2009
- Posts
- 90
Tried various methods, not working.
[root@node root]# vzctl set VEID# --mac --venet "mac-address" --save
Bad parameter for --mac: --venet
[root@node root]# vzctl set VEID# --mac --eth0 "mac-address" --save
Bad parameter for --mac: --eth0
[root@node root]# vzctl set VEID# --venet --mac "mac-address" --save
VEID#: unrecognized option `--venet'
[root@node root]# vzctl set VEID# --mac "mac-address" --save
Invalid usage. Option --ifname not specified
[root@node root]# vzctl set VEID# --mac "mac-address" --venet --save
VEID#: unrecognized option `--venet'
-
07-13-2009, 07:03 PM #4Junior Guru Wannabe
- Join Date
- Mar 2009
- Posts
- 90
Ok more info:
Ran this:
vzctl set 118 --netif_add venet0,"desired-mac-address" --save
While starting up the vps container,
Configure veth device(s): veth118.0
Unable to create veth device pair venet0 veth118.0: Cannot assign requested address
Container is unmounted
Container start failed
Had this line:
NETIF="ifname=venet0,mac=[desired-mac-#],host_mac=[some-mac-#]"
I commented that out, vps started up fine. What did I do wrong that it wouldn't start with the line uncommented?
Similar Threads
-
How do I setup a new ip address as my server's main ip address?
By Shin Asuka in forum Hosting Security and TechnologyReplies: 1Last Post: 07-26-2007, 11:14 PM -
Possible to have bounces sent to a different address than the original sender address
By CLKeenan in forum Web Hosting LoungeReplies: 5Last Post: 03-05-2007, 01:00 PM -
Should taxes depend on billing address or shipping address?
By Mark226 in forum Web Hosting LoungeReplies: 3Last Post: 03-25-2005, 09:38 PM -
IP Address vs. Shared IP Address vs. Sub-Domain Address ... Help !!
By Robin Ray in forum Reseller HostingReplies: 8Last Post: 07-24-2002, 08:18 AM