Problem with changing hardware address on proxmox 6.0

Discussion in 'Proxmox VE: Networking and Firewall' started by infineon, Aug 9, 2019.

  1. infineon

    infineon New Member

    Joined:
    Aug 9, 2019
    Messages:
    3
    Likes Received:
    0
    Hello
    I just installed Proxmox VE 6.0 on my HP Workstation
    Internet acces come from my provider throught GPON terminal. there is my 2 problems:
    1. I have one public static IP address, that i get over DHCP protocol, locked to my MAC address, but Proxmox installation have not option to choose dhcp, only static address, i typed someone ip 192.168....... to complete installation
    2. On my internet provider is recorded another MAC from my old server, and i need to change address ot new PC to get internet access.

    I edited file /etc/network interfaces this way:

    auto lo
    iface lo inet loopback

    iface enp3s0f2 inet manual

    auto vmbr0
    iface vmbr0 inet dhcp
    hwaddress ether e4:12:58:e3:49:fe (this is mac from old pc)
    bridge_ports enp3s0f2
    bridge_stp off
    bridge_fd 0

    but i can not receive ip address from internet provider, and i get every time after reboot ip 192.168... that typed at installation, even though I deleted it from interfaces.

    Where is my mistake?


    Thanks in advance.
     
  2. Yvan Watchman

    Yvan Watchman New Member
    Proxmox Subscriber

    Joined:
    Apr 5, 2018
    Messages:
    12
    Likes Received:
    0
    Can you please post the output from `ifconfig` you may have to force your mac on to the bridged interface.
     
  3. infineon

    infineon New Member

    Joined:
    Aug 9, 2019
    Messages:
    3
    Likes Received:
    0
    ifconfig command not found, i used "ip a" and get 2 interfaces - 1 enp3s0f2 that mac`s not changed, and 2 vmbr0 that mac`s is changed to old.

    I will post all outputs tomorrow because the server is not with me now and I do not have access to the network.
     
  4. Yvan Watchman

    Yvan Watchman New Member
    Proxmox Subscriber

    Joined:
    Apr 5, 2018
    Messages:
    12
    Likes Received:
    0
    All right, the physical connection (so enp3s0f2) is what makes the difference, please mock that one to the right mac addr.
     
  5. infineon

    infineon New Member

    Joined:
    Aug 9, 2019
    Messages:
    3
    Likes Received:
    0
    This is the output from ip a command:
    Last login: Fri Aug 9 17:05:36 EEST 2019 on pts/0
    Linux mig29 5.0.15-1-pve #1 SMP PVE 5.0.15-1 (Wed, 03 Jul 2019 10:51:57 +0200) x86_64

    The programs included with the Debian GNU/Linux system are free software;
    the exact distribution terms for each program are described in the
    individual files in /usr/share/doc/*/copyright.

    Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
    permitted by applicable law.
    root@mig29:~# ifconfig
    -bash: ifconfig: command not found
    root@mig29:~# ip a
    1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
    valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
    valid_lft forever preferred_lft forever
    2: enp0s25: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr0 state UP group default qlen 1000
    link/ether d0:bf:9c:57:d8:47 brd ff:ff:ff:ff:ff:ff
    3: wlo1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether c4:d9:87:26:02:5f brd ff:ff:ff:ff:ff:ff
    4: vmbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether aa:bb:00:12:34:63 brd ff:ff:ff:ff:ff:ff
    inet 192.168.62.43/24 brd 192.168.62.255 scope global dynamic vmbr0
    valid_lft 85682sec preferred_lft 85682sec
    inet6 fe80::a8bb:ff:fe12:3463/64 scope link
    valid_lft forever preferred_lft forever
    root@mig29:~#
     
  6. Yvan Watchman

    Yvan Watchman New Member
    Proxmox Subscriber

    Joined:
    Apr 5, 2018
    Messages:
    12
    Likes Received:
    0
    Add this line

    hwaddress ether e4:12:58:e3:49:fe
    directly after
    iface enp3s0f2 inet manual

    and try again
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice