Jump to content

Switched to KVM can no longer set a static IP


pyrater

Recommended Posts

Sounds basic and simple right?  For some reason this is not working for me (worked fine under XEN).

 

Unraid 6.0 RC3

- Default Network Bridge: br0

 

XML

	<interface type='bridge'>
      <mac address='52:54:00:93:1e:59'/>
      <source bridge='virbr0'/>
  <target dev='vnet0'/>
      <alias name='net0'/>	  
      <model type='virtio'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
    </interface>

 

Server IP

IP: 192.168.2.4
Subnet: 255.255.255.0
Gateway: 192.168.2.1

 

VM IP (DHCP)

IP: 192.168.122.140
Subnet: 255.255.255.0
Gateway: 192.168.122.1

 

When i change the IP on the VM to match the static IP i want it loses connection.

IP: 192.168.2.12
Subnet: 255.255.255.0
Gateway: 192.168.2.1

 

Can VM's in KVM not share the same gateway due to the way it handles NAT??

 

 

 

BASICLY I cannot port forward plex...

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...