New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
No gateway specified for KVM from DHCPD?
After following http://docs.solusvm.com/kvm_bridge_setup and getting everything else set up, DHCP doesn't seem to be offering a gateway:
/etc/dhcpd.conf contains:
subnet 0.0.0.0 netmask 0.0.0.0 { authoritative; default-lease-time 21600000; max-lease-time 432000000; } ddns-update-style ad-hoc; host kvm101.0 { hardware ethernet 00:16:3c:85:3e:45; option routers 198.144.190.1; option subnet-mask 255.255.255.0; fixed-address 198.23.138.192; option domain-name-servers 8.8.8.8,8.8.4.4; }
Anyone know why this might not be working?
Comments
That gateway is not in the subnet (198.23.138.0/24) so is not valid.
Indeed, multiple people told me that I could keep my IPs pooled into the same block that I use for OVZ.
Then you need to extend your subnet
Ehh our IP blocks are all over the place. It looks like we'll have to end up splitting our IPs into logical blocks within Solus instead
How does your DC give you your subnets? Do they route them to your router, or you don't have a router and they are routed directly connected on the interface to you?
Thats probably te best way to do it, not know that much about your infrastructure but many routers you can set multiple ip's.
If so, add an ip in the kvm subnet and use it.
TBH, I'm not sure.
Additionally, I change the KVM container's IP to an IP in the gateway's network, and now it seems to work fine. So it looks like I get to spend my afternoon switching IP blocks to their own gateways.
Thanks everyone!
@Damian good luck :P