I am getting the same ip being assigned to 2 different VM's, is there some trick to getting different IP's that I am not aware of?
1589189114 igb0 0 00:a0:98:58:c6:fc 192.168.1.108 ARP_REQ
1589189146 igb0 0 00:a0:98:0e:3d:52 192.168.1.108 ARP_REQ
I spent a good portion of the evening thinking is was my router but I switched the dhcp server to something else and its doing the exact same thing. I thought changing the mac address would get you a new dhcp IP but when I change it, I get the same one.
The only thing I did the same was to make a new VM, configure it and clone it so I could cut down on the install time. When cloning the new VM I made sure to generate a new mac address. Both are using VirtIO but changing to Intel doesn't seem to change anything, also long term the VM stops responding if left on Intel.
VM1:
lspci
00:00.0 Host bridge: Network Appliance Corporation Device 1275
00:03.0 SATA controller: Intel Corporation 82801HR/HO/HH (ICH8R/DO/DH) 6 port SATA Controller [AHCI mode]
00:04.0 Ethernet controller: Red Hat, Inc. Virtio network device
00:1d.0 VGA compatible controller: Device fb5d:40fb
00:1e.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller
00:1f.0 ISA bridge: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II]
ifconfig
enp0s4: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.108 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::2a0:98ff:fe58:c6fc prefixlen 64 scopeid 0x20<link>
ether 00:a0:98:58:c6:fc txqueuelen 1000 (Ethernet)
RX packets 16621 bytes 3273153 (3.2 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 96 bytes 11307 (11.3 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
VM2:
lspci
00:00.0 Host bridge: Network Appliance Corporation Device 1275
00:03.0 SATA controller: Intel Corporation 82801HR/HO/HH (ICH8R/DO/DH) 6 port SATA Controller [AHCI mode]
00:04.0 Ethernet controller: Red Hat, Inc. Virtio network device
00:1d.0 VGA compatible controller: Device fb5d:40fb
00:1e.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller
00:1f.0 ISA bridge: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II]
ifconfig
enp0s4: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.108 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::2a0:98ff:fe0e:3d52 prefixlen 64 scopeid 0x20<link>
ether 00:a0:98:0e:3d:52 txqueuelen 1000 (Ethernet)
RX packets 1442 bytes 280464 (280.4 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 92 bytes 12416 (12.4 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
1589189114 igb0 0 00:a0:98:58:c6:fc 192.168.1.108 ARP_REQ
1589189146 igb0 0 00:a0:98:0e:3d:52 192.168.1.108 ARP_REQ
I spent a good portion of the evening thinking is was my router but I switched the dhcp server to something else and its doing the exact same thing. I thought changing the mac address would get you a new dhcp IP but when I change it, I get the same one.
The only thing I did the same was to make a new VM, configure it and clone it so I could cut down on the install time. When cloning the new VM I made sure to generate a new mac address. Both are using VirtIO but changing to Intel doesn't seem to change anything, also long term the VM stops responding if left on Intel.
VM1:
lspci
00:00.0 Host bridge: Network Appliance Corporation Device 1275
00:03.0 SATA controller: Intel Corporation 82801HR/HO/HH (ICH8R/DO/DH) 6 port SATA Controller [AHCI mode]
00:04.0 Ethernet controller: Red Hat, Inc. Virtio network device
00:1d.0 VGA compatible controller: Device fb5d:40fb
00:1e.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller
00:1f.0 ISA bridge: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II]
ifconfig
enp0s4: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.108 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::2a0:98ff:fe58:c6fc prefixlen 64 scopeid 0x20<link>
ether 00:a0:98:58:c6:fc txqueuelen 1000 (Ethernet)
RX packets 16621 bytes 3273153 (3.2 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 96 bytes 11307 (11.3 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
VM2:
lspci
00:00.0 Host bridge: Network Appliance Corporation Device 1275
00:03.0 SATA controller: Intel Corporation 82801HR/HO/HH (ICH8R/DO/DH) 6 port SATA Controller [AHCI mode]
00:04.0 Ethernet controller: Red Hat, Inc. Virtio network device
00:1d.0 VGA compatible controller: Device fb5d:40fb
00:1e.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller
00:1f.0 ISA bridge: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II]
ifconfig
enp0s4: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.108 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::2a0:98ff:fe0e:3d52 prefixlen 64 scopeid 0x20<link>
ether 00:a0:98:0e:3d:52 txqueuelen 1000 (Ethernet)
RX packets 1442 bytes 280464 (280.4 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 92 bytes 12416 (12.4 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
Last edited: