Ok, I have a question...
Host files are a PITA and I have a server now so I've setup both a local / caching DNS server and a DHCP server. All is good and well.
So I've moved onto DHCP IP reservations - something I've always done, just seems easiest to me to use DHCP at the client end, and again, that's straightforward enough. Until that is, you get to multiple interfaces for the same machine.
Take for example, my work laptop. It has a gigabit port and a wireless N interface. I tend to use it 98% of the time on wired, but sometimes I bring it down to the house and it goes onto wireless.
Now, it's called "Nef" so I want to be able to ping, ssh (etc.) to Nef, and I don't want to have to care about whether it's wired or wireless. Ie, I could have "Nef1" and "Nef2" (doesn't help that Wired and Wireless both start with W!). But that's a pain.
SO, with fixed IPs you can kind of do this in DNS by using the same method that you would for load balancing but that's not really going to work very well as 50% of the time the DNS server will chuck out an address that isn't active. But I don't want fixed IPs anyway - by virtue of it being a laptop, I can pick it up and take it to work.
So how do I tackle this with DHCP and IP reservations? And having 2 for the same host name? Can I just define two host sections and it deal with it?
I guess I will play about and see but I'm just wondering what the "official" way is.
Ta.
Host files are a PITA and I have a server now so I've setup both a local / caching DNS server and a DHCP server. All is good and well.
So I've moved onto DHCP IP reservations - something I've always done, just seems easiest to me to use DHCP at the client end, and again, that's straightforward enough. Until that is, you get to multiple interfaces for the same machine.
Take for example, my work laptop. It has a gigabit port and a wireless N interface. I tend to use it 98% of the time on wired, but sometimes I bring it down to the house and it goes onto wireless.
Now, it's called "Nef" so I want to be able to ping, ssh (etc.) to Nef, and I don't want to have to care about whether it's wired or wireless. Ie, I could have "Nef1" and "Nef2" (doesn't help that Wired and Wireless both start with W!). But that's a pain.
SO, with fixed IPs you can kind of do this in DNS by using the same method that you would for load balancing but that's not really going to work very well as 50% of the time the DNS server will chuck out an address that isn't active. But I don't want fixed IPs anyway - by virtue of it being a laptop, I can pick it up and take it to work.
So how do I tackle this with DHCP and IP reservations? And having 2 for the same host name? Can I just define two host sections and it deal with it?
I guess I will play about and see but I'm just wondering what the "official" way is.
Ta.