dhcp interview questions
Top dhcp frequently asked interview questions
The blog post "A 'tinyurl' service for your domain" explains how to set up a ShortName service for your domain using Google Apps. For example, if your domain is example.com
and you use Google Apps, you can configure it so that http://go.example.com
is your enterprise's personal ShortName service.
NOTE: This is not about creating a "tinyurl" service for the world to use. This is for an enterprise.
It is useful to have a shortname service that only your users can use so that you can create links to internal pages. Rather than telling people a long difficult URL, you can say, "Today's lunch menu is at http://go.example.com/lunch". The blog post documents some of the benefits of empowering people to set up their own links. (Most important: they don't have to bother YOU to set up a new link!)
The Problem
The problem with the system is that the URL is still rather long. People would rather type "go/lunch" into their web browser and have it work. Sadly, Google Apps can't support this because of a technicality of how the HTTP protocol works. The "Host:" header in HTTP 1.1 lists the domain that the user typed into their web browser, not the FQDN. In other words, when Google Apps gets the HTTP request for "http://go/lunch" the webserver receives "go" as the hostname. Since Google Apps is providing this service for many domains, it can't tell if you want go.example.com
or go.some-other-example.com
.
As a result, users have to type "go.example.com/lunch" every time, which is much longer than "go/lunch".
The Solution
Google could solve this by using web cookies or some other scheme. None of which are particularly clean or easy. Until they do you can solve the problem by setting up a machine of your own that accepts requests as "go" and redirects them.
The server accepts HTTP requests for a site called "go" and redirect the request to go.example.com
. You then create the right DNS records so that it works, and twiddle your DHCP configurations so that your laptops/workstations do the right thing.
The point of this Server Fault document is to explain the process then give configuration examples to help you do this for your site. Since I don't have access to or knowledge of every operating system in the world, I'm making this a "community wiki" so that people can fill in configuration snippets for as they get it working for them. I've put 'TODO' in area that particularly need improvement.
The Details
In this example we'll use "example.com" as the domain.
Step 1: Set up the Google Apps service the normal way.
Configure the service for go.example.com
as normal. Test it and make sure a URL like http://go.example.com/foo
works. Don't continue if this isn't complete. That would be like trying to repair your car before you own one.
Step 2: Select your redirector hostname
If your shortname service is go.example.com
, ideally you'd make your redirector's name go.example.com
. Sadly, physics prevents two bodies from being in the same place at the same time, and DNS obeys the laws of physics.
The trick is to have the redirector be the same hostname as the ShortName service, but in a different domain. For example, go.corp.example.com
, go.ext.google.com
, or go.this-is-different.example.com
.
Large companies usually have an internal subdomain that is not exposed to the outside world. Usually internal hosts are INSIDEHOST.corp.google.com
. That is where you put the redirector.
Some companies allocate a subdomain that is full of CNAMEs pointing to services that should be accessed from both inside and outside the company. That way there is one subdomain that needs to be put in people's DNS searchpath. (Unix people can think of this as having /usr/local/bin
be a subdirectory full of symlinks) Traditionally this subdomain is ext.example.com
. In that subdomain are CNAMEs like mail.ext.example.com
, calendar.ext.example.com
, vpn.ext.example.com
, and so on.)
Warning: Adding yet another item to your DNS search path is yet another way to make your computers run slower. Doing an additional DNS query EVERY TIME is slow and surfing the web will be noticeably slower. It is much better to add this redirector to a subdomain that is already in your machine's DNS search path, even if this means adding a CNAME in multiple subdomains. For example, if your internal machines and machines connected to your VPN have corp.example.com
in their search path already, add the CNAME there. If you want external machines not VPNed in to be able to access the redirector, it might be weird to hard code corp.example.com
into their search path if that is the subdomain for machines never accessed from the outside. In that case, another CNAME can be added to an external subdomain (like ext.example.com
) to point to the redirector. Update the web server configuration to support both.
For this example, let's assume you've selected that the redirector will be go.ext.example.com
. The machine can be called anything you want, we'll do all the magic in DNS and the web server configuration.
Step 3: Planning for your redirector
The web server you are going to set up can be on an existing web server or a new one built just for this purpose. The key is that the machine has to be accessible from anywhere you want the ShortName service to work: inside the company, outside the company, when the user is connected via VPN. (You may choose to forego having this working from outside the company for security reasons. You may also, for security reasons, set up one machine on the inside and another on the outside.)
Note: You don't have to set up a new web server for this. You can add this to a pre-existing web server as long as the configuration doesn't exist.
Note: This can be rather complicated. You might want to focus on getting this working in the most simple case, then once working and tested, get it working for other situations. In particular, get it working in this order:
1. workstations/laptops inside the company
2. THEN machines connected by VPN, then machines outside the company (for example, at an Internet cafe).
3. THEN machines outside the network, without the VPN up
4. THEN test this for other operating systems
In this example, we'll assume there is a web server that is accessible at the same IP address whether you are inside or outside the company.
In our "go.corp.example.com" example, this means the "go" is in a subdomain that is only accessible to insiders, and requires a VPN to use the ShortName service. Since Google Apps is usually configured to work without a VPN (because all access is HTTPS), this is sub-optimal.
In our "go.ext.example.com" example, this means the subdomain is accessible from both inside and outside the company, and the A
record points to an external IP address.
Step 4: Add DNS records for your redirector
Here are the DNS records required:
go.example.com. IN CNAME ghs.google.com.
go.ext.example.com. IN A 64.32.179.5
go-redirector.example.com IN A 64.32.179.5
The first DNS record (go.example.com) should exist already as part of Step 1.
The second DNS record (go.ext.example.com) is an A
record pointing at the IP address of the new web server you are configuring.
The third DNS record (go-redirector) is to help you when debugging.
Step 5: Configure the web server
Add the redirect to the web server. (This assumes the web server is already installed and running).
Here is the Apache configuration snippet:
<VirtualHost *:80>
ServerName go-redirector.example.com
ServerAlias go, go.ext, go.ext.example
RewriteEngine on
RewriteRule ^(.*)$ http://go.example.com$1 [R=permanent]
</VirtualHost>
How to test this. http://go-redirector.example.com
should work at this point.
Do not proceed until this test works. Baby steps.
Step 6: Configure the client's DNS search path
Now we are going to configure machines (anything running a web browser) so that the DNS search path includes "ext.example.com"
On your DHCP server and VPN server send a DNS search path that is:
corp.example.com .
(the subdomain with the redirect host, followed by ".")
Alternatively you could use a search path like:
corp.example.com example.com .
However that is going to add an additional DNS lookup for EVERY darn web page we go to. Since they will fail 99% of the time, that's just going to make web surfing slow.
On workstations and laptops you need to make sure that the subdomain is included in their DNS search path. That way when the user types "go", the software will find it in the domain.
We want to configure the search path of the machine to include this subdomain every way that the search path can possibly be set:
Originally the DNS search path couldn't be set via DHCP. This is a newly added feature and not all DHCP clients support it. Even DHCP clients that do support it need to be modified because when a laptop is at (for example) an Internet cafe, it is talking to a DHCP server that you don't control. When a laptop uses a VPN, the VPN client software doesn't actually use DHCP but there is usually some way that the VPN server transmits the settings that one would usually get from a DHCP server.
Therefore you want to set the DNS search path in all these places:
- The DHCP server should send the DNS search path options
- Statically configured machines should have their DNS search path set
- Clients that use DHCP should be configured to pre-pend the
corp.example.com
domain to their search path if the DHCP server didn't include it already.
Below are instructions on how to do this on various DHCP servers and operating systems.
Configuring DHCP servers to include a DNS Search Path:
- Windows DHCP instructions
TODO
- ISC DHCP instructions
If the search path is just the domain that the machine should be in, then:
option domain-name "corp.example.com";
If the clients support RFC 3397 to supply a search path, then you can do this, but it's awkward as there's no native support for a data type which is a sequence of DNS hosts, each encoded as length-prefixed labels as in DNS. There's no way to write the values of an option defined as an array of records, where the record contains an array of another record, so you're down to using a data-string to encode things manually.
option dns-search-domains code 119 = string;
option dns-search-domains concat(
encode-int(4,1), "corp", encode-int(7,1), "example", encode-int(3,1), "com", encode-int(0,1),
encode-int(7,1), "example", encode-int(3,1), "com", encode-int(0,1)
);
which should (untested) generate a two item search list.
- dnsmasq DHCP instructions
TODO
Configuring statically configured machines:
- Windows
TODO
- Linux/Unix
Edit /etc/resolv.conf
and make sure (1) the "domain corp.example.com" is the first line, (2) add/edit the "search" line to include the corp.example.com
domain, (3) add an "options ndotes:2" line to reduce the load on your DNS servers.
domain corp.example.com
search corp.example.com exmaple.com
options ndots:2
Configuring DHCP clients to work when on other DHCP servers
TODO fill in for Windows, Linux, etc.
Step 7: Test, test, test!
Now users should be able to specify:
http://go/foo
http://go.example/foo
http://go.example.com/foo
In fact, as a confidence test, you'll want to test those URLs in all situations:
( each OS you support ) * ( internal LAN / at an Internet cafe / while on the VPN )
Step 8: Other advice
And lastly, one bit of advice: Even if you'd done a perfect job of this, you are still at risk of a http://go/foo
link not working when a person tries to type it on a computer you didn't configure to force the DNS search path to include your domain. You should, therefore, publish links using the full URL: http://go.example.com/foo
; and take the time to educate your company's PR department and others to always specify it that way.
Or at least encode them in HTML so that "go" is visible in the link text, but the actual HREF goes to the FQDN:
<a rel='nofollow' href="http://go.example.com/lunch">go/lunch</a>
Teaching people in the PR department to do this may be difficult. You might just want to tell them they have to use the long version (go.example.com
) in anything they write because the short "go/lunch" only works by accident.
Step 8: HTTPS
TODO: Work out how to do with with HTTPS (the certifications are going to be very difficult, if not impossible, to get right).
Source: (StackOverflow)
Possible Duplicate:
How do I find if there is a rogue DHCP server on my Network?
I know this is a serious long shot, but here we go.
In the past week or so, for users connected to a particular switch in our network (there are four dumb switches all connected, and it only affects SOME, not all, users on the one switch) are getting DHCP addresses from a rogue DHCP server.
I have physically checked every cable plugged into the switch in question to make sure that none of them have a router or wifi point attached to it. I know the IP of the DHCP server, but I cannot ping it, and it does not have a web interface.
Does anyone have any suggestions on what I can do to locate it or shut it down? Unfortuantely all the switches are unmanaged, and as mentioned, there's no physical device (that I can find) plugged in to anything.
It's getting critical, because it's screwing up the PXE boot of a whole bunch of thin clients.
Source: (StackOverflow)
I am helping a friend manage a shared internet connection in an apartment buildling with 80 apartments - 8 stairways with 10 apartments in each.
The network is laid out with the internet router at one end of the building, connected to a cheap non-managed 16 port switch in the first stairway where the first 10 apartments are also connected.
One port is connected to another 16 port cheapo switch in the next stairway, where those 10 apartments are connected, and so forth. Sort of a daisy chain of switches, with 10 apartments as spokes on each "daisy". The building is a U-shape, approximately 50 x 50 meters, 20 meters high - so from the router to the farthest apartment it’s probably around 200 meters including up-and-down stairways.
We have a fair bit of problems with people hooking up wifi-routers the wrong way, creating rogue DHCP servers which interrupt large groups of the users and we wish to solve this problem by making the network smarter (instead of doing a physical unplugging binary search).
With my limited networking skills, I see two ways - DHCP-snooping or splitting the entire network into separate VLANS for each apartment. Separate VLANS gives each apartment their own private connection to the router, while DHCP snooping will still allow LAN gaming and file sharing.
Will DHCP snooping work with this kind of network topology, or does that rely on the network being in a proper hub-and-spoke-configuration? I am not sure if there are different levels of DHCP snooping - say like expensive Cisco switches will do anything, but inexpensive ones like TP-Link, D-Link or Netgear will only do it in certain topologies?
And will basic VLAN support be good enough for this topology? I guess even cheap managed switches can tag traffic from each port with it’s own VLAN tag, but when the next switch in the daisy chain receives the packet on it’s “downlink” port, wouldn’t it strip or replace the VLAN tag with it’s own trunk-tag (or whatever the name is for the backbone traffic).
Money is tight, and I don’t think we can afford professional grade Cisco (I have been campaigning for this for years), so I’d love some advice on which solution has the best support on low-end network equipment and if there are some specific models that are recommended? For instance low-end HP switches or even budget brands like TP-Link, D-Link etc.
If I have overlooked another way to solve this problem it is due to my lack of knowledge. :)
Source: (StackOverflow)
I have a sad network left behind by some careless admins - I am in process of figuring out exactly what services are running where, not excluding the possibility that some services are running from two places at once, which is tons of fun. There are 2 Windows 2003 servers, one Windows 2008 server with Exchange 2010 on it and a SonicWall TZ210 between the LAN and the WAN. Computers connected via DHCP reveal the gateway IP that corresponds to the SonicWall unit, however it doesn't have DHCP enabled.
Anyone have any ideas as to where and how I might discover what IS running DHCP so I could administer it? I am also concerned about internal DNS and Windows domain services as there appears to be confusing information on the network that conflicts with itself.
Source: (StackOverflow)
We have a network setup for a demo, which lasts about 15mn. Our DHCP server is configured to assign ~ 100 addresses (max number of simultaneous connections or our AP) ... but since people might come and go very quickly we need to keep the lease time very short in order to free the IP addresses and allow other people to connect.
Initially I wanted to go for a lease time as short as 25 seconds, considering that the demo is quite short, and to be sure that no IP will be "abusively" reserved by the DHCP server ...
However, I am afraid of several things.
First, the impact on the load of the network.
Second, I have read here and there that there might be some "weird" issues with time leases below 1 minute (e.g. What is a good DHCP lease timeout configuration).
Does somebody know what can be the different problems with using such a short time lease? What is the impact on the network? What would be a short but safe lease duration to use?
Source: (StackOverflow)
SCENARIO
To simplify this down to it's easiest example:
I have a Windows 2008 R2 standard DC with the DHCP server role. It hands out IPs via various IPv4 scopes, no problem there.
WHAT I'D LIKE
I would like a way to create a notification/eventlog entry/similar whenever a device gets a DHCP address lease and that device IS NOT a domain joined computer in Active Directory. It doesn't matter to me whether it is custom Powershell, etc.
Bottom line = I'd like a way to know when non-domain devices are on the network without using 802.1X at the moment. I know this won't account for static IP devices. I do have monitoring software that will scan the network and find devices, but it isn't quite this granular in detail.
RESEARCH DONE/OPTIONS CONSIDERED
I don't see any such possibilities with the built in logging.
Yes, I'm aware of 802.1X and have the ability to implement it long-term at this location but we are some time away from a project like that, and while that would solve network authentication issues, this is still helpful to me outside of 802.1X goals.
I've looked around for some script bits, etc. that might prove useful but the things I'm finding lead me to believe that my google-fu is failing me at the moment.
I believe the below logic is sound (assuming there isn't some existing solution):
- Device receives DHCP address
- Event log entry is recorded (event ID 10 in the DHCP audit log should work (since a new lease is what I'd be most interested in, not renewals): http://technet.microsoft.com/en-us/library/dd759178.aspx)
- At this point a script of some kind would probably have to take over for the remaining "STEPS" below.
- Somehow query this DHCP log for these event ID 10's (I would love
push, but I'm guessing pull is the only recourse here)
- Parse the query for the name of the device being assigned the new lease
- Query AD for the device's name
- IF not found in AD, send a notification email
If anyone has any ideas on how to properly do this, I'd really appreciate it. I'm not looking for a "gimme the codez" but would love to know if there are alternatives to the above list or if I'm not thinking clear and another method exists for gathering this information. If you have code snippets/PS commands you'd like to share to help accomplish this, all the better.
Source: (StackOverflow)
You cannot set the Windows DHCP/DHCPv6 server to listen on dynamic addresses or all addresses, only static addresses. Is there a technical reason for this limitation? Is there any workaround?
My specific situation:
I am using Router Advertisements to configure IPv6 hosts in this network. The address prefix is acquired from upstream routers and MAY change without notice. The Windows DHCPv6 server in question is only configured to distribute domain search lists and other non-address related configuration (it configured for stateless mode and does NOT configure addresses).
The DHCPv6 server could configure it's own address using the same Router Advertisements but then will not respond to requests. I cannot configure it to use a static address because it will break once the prefix changes.
I do realize I can set up a ULA in this subnet but that is a last resort (not an answer).
UPDATE: There has been some question is whether dynamic IPv6 routing is a good idea. I consider it a necessity even if your ISP provides static prefixes. It must be used in order to be able to quickly re-route from fail-overs and to imitate other functionality provided by pseudo-routing in IPv4 NAT.
Source: (StackOverflow)
I have generally seen that DHCP lease times are quite long (a day plus) on most defaults. I have a client that seems to have the following problem. They have a DHCP server in a router that is near-saturation (say in a normal work day 80-85% of the potential IPs are used). Occasionally they restart their router. When that happens it seems that the the router loses its table of assigned IPs, so it assigns IPs anew (of course).
The problem is that quite often there is a client on the LAN which has the IP already and is going to hold it for a day (the current timeout length), causing an IP conflict and connectivity issues for those two machines.
The obvious solution is to make a very short lease time, but since I'm only a hobbyist when it comes to networking, there may be more to DHCP that I don't understand.
Is the above a reasonable evaluation of the situation (at least with lower-end equipment) and does a lower lease time (say a half-hour) make sense in this case?
Source: (StackOverflow)
I am adding a tagged VLAN onto eth0:
#ip link add link eth0 name eth0.20 type vlan id 20
This results in:
#ip link
2: eth0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 9c:c7:a6:95:65:1c brd ff:ff:ff:ff:ff:ff
....
12: eth0.20@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP
link/ether 9c:c7:a6:95:65:1c brd ff:ff:ff:ff:ff:ff
#ip -d link show eth0.20
70: eth0.20@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP
link/ether 9c:c7:a6:95:65:1c brd ff:ff:ff:ff:ff:ff
vlan id 20 <REORDER_HDR>
#cat /proc/net/vlan/config
VLAN Dev name | VLAN ID
Name-Type: VLAN_NAME_TYPE_RAW_PLUS_VID_NO_PAD
eth0.234 | 234 | eth0
eth0.20 | 20 | eth0
Now I start dhclient:
#dhclient -d -v -1 eth0.20
What I see in tcpdump is an untagged DHCP discovery frame:
#tcpdump -i eth0 -XX
0x0000: ffff ffff ffff 9cc7 a695 651c 0800 4500
^^^^
Why is it not tagged?
802.1q module seems to be used:
#lsmod | grep 8021q
8021q 28324 0
garp 14311 1 8021q
(OS: SLES11SP2 kernel 3.0.13-0.27-default)
BTW other traffic is not tagged either (at least tcpdump doesn't show it)...
Update 16 October
# tcpdump -Uw - | tcpdump -i eth0 -en -r - &
[1] 7310
# tcpdump: WARNING: eth0: no IPv4 address assigned
tcpdump: listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes
# dhclient -d -v -1 eth0.20
Internet Systems Consortium DHCP Client 4.2.3-P2
Copyright 2004-2012 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF/eth0.20/9c:c7:a6:95:65:1c
Sending on LPF/eth0.20/9c:c7:a6:95:65:1c
Sending on Socket/fallback
DHCPDISCOVER on eth0.20 to 255.255.255.255 port 67 interval 3
reading from file -, link-type EN10MB (Ethernet)
18:49:14.437882 9c:c7:a6:95:65:1c > ff:ff:ff:ff:ff:ff, ethertype IPv4 (0x0800), length 347: 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 9c:c7:a6:95:65:1c, length 305
^^^^^^
So, still no tag shown here.
But indeed the transmit counter for eth0.20 in /proc/net/dev does increment when running dhclient...
Source: (StackOverflow)
Is it possible to map 2 different MAC addresses to the same IP address?
For my backup, I need to connect back from the server to the portable, and I would like to have the same IP both for the wireless and the wired interface.
The openwrt web interface doesn't accept multiple dhcp entries with the same IP address, but perhaps there is a workaround?
Clarification added on 23 may:
I should have made it clear that only one of the network interfaces of the portable is connected to the network at any given time (hence switches shouldn't get confused). Initially I had 2 distinct IP addresses assigned to the interfaces, with the same DNS name, but this didn't work very well (timeouts when I got the wrong IP). Yet I want to use the same name for both, as it is hard-coded in my backup script.
Sorry for the confusion.
Source: (StackOverflow)
I have a MacBook running Snow Leopard in our company's internal network, which is basically a Windows domain network. Our TO department complains about my MacBook not specifying a name to the DHCP server. Accordingly, the MacBook isn't resolvable by anything else than its IP address from our Windows workstations.
I already
- set the NetBIOS name in the Network settings in the OSX Control Panel
- set the DHCP Client ID in the Network settings in the OSX Control Panel
- set the "Computer Name" in Control Panel > Sharing.
- set the hostname using
sudo scutil --set HostName MACBOOK001
(and rebooted)
... but all of that didn't solve the problem.
Can anyone tell me how to make OSX register its hostname to the DHCP server so that it can be reachable e.g. using ping MACBOOK001
Source: (StackOverflow)
I'm having a problem where our Windows Server 2003 domain controller assigns my Windows 7 computer one IP address (x.x.x.75) via DHCP, but reports another (x.x.x.84) via DNS. This causes some interesting behavior on the network. If I change my adapter settings to get IP and DNS addresses from DHCP, I can access the internet, but no one on our network can access my computer. If I change my IP manually to what DNS says it is, I lose my internet access, but everyone can get to my computer again.
I know that we have some old, invalid reverse DNS pointers hanging around (a reverse lookup on an IP address often gives more than one result, usually not including the one that is correct), so that could be contributing, but my problem is recent, and the invalid reverse pointers have been around a long time.
What's going on, and how do I fix it?
Source: (StackOverflow)
In the past I've setup a PXE server several times by making the normal dhcp server return everything needed for network booting: both the regular ip config AND bootinfo in a single dhcp setup. That way it is easy to do.
According to the documentation i've read it (wikipedia has a nice summary) should be possible to have an unmodified dhcp server (for example if the admin at your location denies access) and a separate server that ONLY returns the boot information. This is usually called the "PXE server" or "Proxy DHCP" server. In the past I've seen (not used) this pxe server (last release was 5 years ago).
Yesterday I installed Cobbler to see what it really does. Now I would like to use it (love the ease of use) but modifying the 'main' dhcpd server to get PXE is not an option.
I've not been able to find any documentation on how I can get cobbler to run using a real PXE (==proxy dhcp) server.
Can this be done with cobbler?
Can I configure the isc dhcp server to behave as a PXE server (i.e. NO ip info, only boot info)?
Or should I go for a completely different approach (if so, what is your suggestion) ?
Thanks
New discovery I just made: The changelog for dnsmasq version 2.4.8 says:
"Proxy-DHCP, where dnsmasq just
supplies the PXE information and
another DHCP server does address
allocation, is also allowed."
VERY INTERESTING. Especially because cobbler can already control dnsmasq.
Update:
dnsmasq 2.51 will support this config that fully does the trick I wanted.
My /etc/cobbler/dnsmasq.template now looks like this:
# Cobbler generated configuration file for dnsmasq
# $date
#
# resolve.conf .. ?
#no-poll
#enable-dbus
read-ethers
addn-hosts = /var/lib/cobbler/cobbler_hosts
# Be a proxyDHCP server
dhcp-range=10.10.0.0,proxy
# Only respond to clients that are known (i.e present in /etc/ethers)
dhcp-ignore=#known
# Set this (and domain: see below) if you want to have a domain
# automatically added to simple names in a hosts-file.
expand-hosts
domain=test.basjes.nl,10.10.15.0
# Loads <tftp-root>/pxelinux.0 from dnsmasq TFTP server.
pxe-service=x86PC, "Boot PXELinux (=Cobbler controlled)", pxelinux ,$next_server
$insert_cobbler_system_definitions
Update: 2012-04-30
A few months ago I got an email from someone stating he couldn't get the above to work.
Turns out that I had done some fixing and changing of my own cobbler that I had forgotten about. So I provided the crucial fix to the mainline cobbler which has just become part of the trunk. I also created some additional supporting documentation.
Source: (StackOverflow)
This seems to work fine:
dhclient eth0
ifconfig eth0:1 192.168.1.105 up
But not this:
ifconfig eth0 192.168.1.105 up
dhclient eth0:1
Is there any way to get dhcp on a virtual address?
Source: (StackOverflow)
I have a small network with Windows and Linux machines connected to a D-Link DIR-825 router.
The Windows machines on the network can reach all other machines by name while the Linux machines only can reach other machines by IP-address.
I can see all the machines listed with names and their DHCP assigned addresses in the DHCP client status list in the router web admin interface.
Why can't the Linux machines find any other machine by name while Windows has no problem finding the Linux machines?
Source: (StackOverflow)