Results 1 to 4 of 4

Thread: mac address

Hybrid View

  1. #1
    Join Date
    Mar 2009
    Posts
    90

    Exclamation 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.

  2. #2
    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.

  3. #3
    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'

  4. #4
    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
    The vz conf file in /etc/vz/conf/"veid#.conf"

    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

  1. How do I setup a new ip address as my server's main ip address?
    By Shin Asuka in forum Hosting Security and Technology
    Replies: 1
    Last Post: 07-26-2007, 11:14 PM
  2. Replies: 5
    Last Post: 03-05-2007, 01:00 PM
  3. Should taxes depend on billing address or shipping address?
    By Mark226 in forum Web Hosting Lounge
    Replies: 3
    Last Post: 03-25-2005, 09:38 PM
  4. Replies: 8
    Last Post: 07-24-2002, 08:18 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •