Skip to main content

All Questions

Tagged with
0 votes
2 answers
2k views

How can I ensure that my static ip address is read from /etc/network/interfaces rather than dhcp?

This is a follow up to the following question. I'm trying to set a static IP by changing /etc/network/interfaces to the following: # interfaces(5) file used by ifup(8) and ifdown(8) auto lo iface lo ...
jonderry's user avatar
  • 1,017
31 votes
6 answers
74k views

Check if a DHCP server existing in my network using bash

using CentOS with static IP, Is there any way to determinate if a DHCP server running on the network using bash ?
Steve's user avatar
  • 533
1 vote
0 answers
582 views

dhcp no lease because of not-DAD mode

My virtual machine does not receive an IP lease anymore. Manually requesting a new ip lease by 'ifdown/ifup eth0' or 'dhclient eth0' or 'service network restart' don't work either. The error is ...
lievendp's user avatar
3 votes
0 answers
3k views

Using DHCP to get multiple IP addresses on single NIC on RedHat

I am trying to obtain multiple IP addresses using the ISC dhclient supplied with Red Hat Enterprise Linux 5 in order to provide the IPs to multiple applications, which will run on separate virtual ...
Abisks's user avatar
  • 31
0 votes
2 answers
2k views

How to get host-name from DHCP server via Network Manager?

I can get hostname and ip address from DHCP server with invoking the script under /etc/dhcp/dhclient-exit-hooks.d/ directory as explained here on client side . But it stopped after installed network ...
Eyüp Alemdar's user avatar
-1 votes
2 answers
4k views

How to configure the network interface with a dynamic range of IP addresses?

I am new to networking, so please bear with me. I have two network interfaces. One network interface is connected to the external world. Another network interface 'p3p1' is what I want to use for ...
dexterous's user avatar
  • 221
0 votes
1 answer
1k views

DHCP fallback based on /etc/hosts lookup of your hostname

I have a Kubuntu box (12.04) which usually gets its IP via DHCP. However, it also has a hosts file with some entries in case the DHCP+DNS server fails. Now, if there is no DHCP available, I want the ...
einpoklum's user avatar
  • 9,852
2 votes
0 answers
1k views

Detect network clients connect and disconnect

I have a linux gateway/server, which sharing PPPoE internet connection between network users. Seeking for a proper way to detect when network clients are connected to and disconnected from the ...
GeekMagus's user avatar
  • 121
2 votes
0 answers
649 views

Windows 7 RNDIS client sends REQUEST without DHCP server IP

My linux based board is running a DHCP server on USB0 port to assign a fixed IP to the connected RNDIS client. When I connect Win XP or Ubuntu machine with this board, host machine gets the fixed IP ...
RPS's user avatar
  • 21
0 votes
2 answers
298 views

Persistent DHCP Reservation Timing Out

I have 2 machine inside my home LAN (Netgear WNR2000v2 wifi). One of them is a laptop ("client machine") that will always be assigned random IPs in the 192.168.1.1 through 192.168.1.50 range. The ...
pnongrata's user avatar
  • 2,882
2 votes
2 answers
8k views

How do I gracefully fall back to AutoIP when there is no DHCP service available?

I am developing an embedded device based on Linux and Busybox, and trying to make it adaptable to different network configurations. I want to: 1- At boot time, if there is no DHCP reply, use an ...
Atilla Filiz's user avatar
  • 1,176
6 votes
3 answers
14k views

What does asterisk meant in route command

I have two network interfaces present in two different subnets and are configured as DHCP. When I run route command I am getting following output with asterisk in Gateway. What is the meaning of it? ...
Sirish Kumar Bethala's user avatar
3 votes
1 answer
8k views

How to reload DHCP client remotely, in order to write new resolv.conf?

I'm trying to configure dnsmasq(8) on a Debian GNU/Linux system in a private DHCP-based network. During a local, manual setup - after installing dnsmasq istelf - one could simply include the line ...
mjhennig's user avatar
  • 146
1 vote
4 answers
8k views

Network interface/dhcp problems ubuntu with kvm and network bridge

I have a ubuntu system running 12.10 I am using KVM and have configured a bridge for the virtual machines, which is using nat forwarding. I am having problems with the connection dropping out ...
Alex Edwards's user avatar
3 votes
2 answers
4k views

No route to host after changing interface to static ip

I installed a Linux (Ubuntu) server inside my home LAN, initially it's automatically configured to use DHCP interface. I'm connecting to this server from another computer using that server's hostname. ...
Dan K.K.'s user avatar
  • 133

15 30 50 per page
1
5 6
7
8 9