04-20-2016
Dhcp not getting configured on Ubuntu
I have kali running on vbox as :-
Quote:
DISTRIB_ID=Kali
DISTRIB_RELEASE=kali-rolling
DISTRIB_CODENAME=kali-rolling
DISTRIB_DESCRIPTION="Kali GNU/Linux Rolling"
/etc/network/interfaces
Quote:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
#iface eth0 inet dhcp
auto eth0
iface eth0 inet dhcp
ifup eth0 gives me
Quote:
Listening on LPF/eth0/08:00:27:fa:25:8e
Sending on LPF/eth0/08:00:27:fa:25:8e
Sending on Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 13
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 17
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 18
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
tpcdump
Quote:
00:53:31.212388 08:00:27:fa:25:8e > ff:ff:ff:ff:ff:ff, ethertype IPv4 (0x0800), length 342: 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 08:00:27:fa:25:8e, length 300
00:53:43.828472 08:00:27:fa:25:8e > ff:ff:ff:ff:ff:ff, ethertype IPv4 (0x0800), length 342: 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 08:00:27:fa:25:8e, length 300
00:53:43.904128 bc:85:56:86:57:6e > ff:ff:ff:ff:ff:ff, ethertype IPv4 (0x0800), length 342: 10.25.0.81.68 > 255.255.255.255.67: BOOTP/DHCP, Request from bc:85:56:86:57:6e, length 300
10 More Discussions You Might Find Interesting
1. Slackware
hi,
i m tryin to learn ldap.
but its not getting configured.
the error msg it shows is:
LDAP configure error: BDB/HDB : Berkeley DB version incompatibe.
The BDB version i have installed is bdb4.2.52 and the ldap version is openldap-2.3.12.
my machine is running on red hat linux 9.
Why... (1 Reply)
Discussion started by: mridula
1 Replies
2. UNIX for Advanced & Expert Users
Hi Gurus:)
I have to connect from a SunOS 5.10 to a 5.8 using sftp in BatchMode. For this, I have generated a Public-Key (ssh-keygen -b 1024 -P "" -t dsa) on the 5.10 and saved it in ~remote-user/.ssh/authorized-keys on the 5.8.
Then, running either one of ssh or sftp, it asks for the... (24 Replies)
Discussion started by: unilover
24 Replies
3. Solaris
Hi,
I am new to solaris 10. What is the procedure the os takes if a default route is not configured? I am using a multihomed server with 4 interfaces. It looked strange to me this morning, because i had not defined a default route it defaulted to making one up, with the ip address of another... (9 Replies)
Discussion started by: borderblaster
9 Replies
4. UNIX for Advanced & Expert Users
Dear all,
We have installed one of our product in a HP PC server(DL380G5)/SUSE 10 SP1 (2 network cards) with an IP address 10.18.7.25. The Product is working fine.
Now for giving a internet based demo, we have moved to a different network(192.168.50.*)
For the demo, we want to use... (0 Replies)
Discussion started by: jagannathks
0 Replies
5. Red Hat
Hi
I am working in an environment where there are many redhat physical and virtual machines, mostly Redhat 4. These servers have LUNs attached. The external storage can be EMC, NetApp or Par3.
My question is that when Storage Administrator informs that a new LUN has been presented to a... (4 Replies)
Discussion started by: Tirmazi
4 Replies
6. Solaris
Hiya,
I got the default gateway set in /etc/defaultrouter file, however "netstat -nr" doesn't show anything like "default" in the routing table. As far as I know "netstat" on Solaris 10 u7 should show something like :
Routing Table: IPv4
Destination Gateway Flags Ref ... (8 Replies)
Discussion started by: TomSu
8 Replies
7. IP Networking
Hi All ,
please view the set up below:
-------------------------------------------------------------------
| DHCP Server |-----------| ROUTER & |-----------| Clients |
| 192.168.99.1 | - -<eth1>| DHCP-RELAY|<eth2>-- | 192.168.88.X |
... (2 Replies)
Discussion started by: gdangoor
2 Replies
8. AIX
I need to get the domain under which a printer is configured in an AIX machine. I have the IP address of the printer.
Could you please help me with that? (3 Replies)
Discussion started by: Pandee
3 Replies
9. IP Networking
Hi have a solaris server with the following IP 192.168.0.85, but anybody can login in using 172.19.0.85, and the ifconfigcommand does not show the 172.19.05 .
# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
inet 127.0.0.1 netmask... (6 Replies)
Discussion started by: fretagi
6 Replies
10. Ubuntu
Hello.
Doing my first steps in Linux and while trying to configure a DHCP server in Linux i encountered some problems:
TOPOLOGY:
- Laptop with Windows 8.1
- VM Player 12 with Linux installed (Ubuntu Server 14.04)
- ICS-DHCP-SERVER installed and running
- Another LAPTOP conected to a... (1 Reply)
Discussion started by: Portuguevos
1 Replies
LEARN ABOUT SUSE
lsb_release
FSG(1) FSG FSG(1)
NAME
FSG - manual page for FSG lsb_release v2.0-SuSE
SYNOPSIS
lsb_release [OPTION]...
DESCRIPTION
FSG lsb_release v2.0-SuSE prints certain LSB (Linux Standard Base) and Distribution information.
With no OPTION specified defaults to -v.
OPTIONS
-v, --version
Display the version of the LSB specification against which the distribution is compliant.
-i, --id
Display the string id of the distributor.
-d, --description
Display the single line text description of the distribution.
-r, --release
Display the release number of the distribution.
-c, --codename
Display the codename according to the distribution release.
-a, --all
Display all of the above information.
-s, --short
Use short output format for information requested by other options (or version if none).
-h, --help
Display this message.
FILES
If the installation is LSB compliant, the "/etc/lsb-release" file should contain the LSB_VERSION field. The value of the field should be a
colon separated list of supported module versions indicating the LSB specification modules to which the installation is compliant. If the
installation is not compliant, the above field should not be present.
Optional fields are DISTRIB_ID, DISTRIB_RELEASE, DISTRIB_CODENAME, DISTRIB_DESCRIPTION and can be used to override information which is
parsed from the "/etc/distrib-release" file.
If the "/etc/lsb-release.d" directory exists, it is searched for filenames which are taken as additional module-version strings to add to
LSB_VERSION.
The "/etc/distrib-release" file contains a description line which is parsed to get information (especially on currently non-LSB compliant
systems).
The required line style is:
"Distributor release x.x (Codename)"
Where Distributor can be a couple of words, but then concatenated (i.e. Linux Foo BarLinux Linux -> FooBarLinux),
x.x starts with a digit followed by any non-blank characters, Codename will also be concatenated (blanks cleanup only).
release may not be used as a keyword in DISTRIB_DESCRIPTION if you don't want to override "/etc/distrib-release" data.
Notice: To support the Debian distributions' lack of information (see "/etc/debian_version" file) some have been directly added into the
lsb_release script.
EXAMPLES
If the "/etc/lsb-release" file contains:
LSB_VERSION="core-2.0-ia64:core-2.0-noarch"
DISTRIB_DESCRIPTION="I enjoy using my distrib"
and the "/etc/lsb-release.d" directory contains:
graphics-2.0-ia64 graphics-2.0-noarch
and the "/etc/foobar-release" file contains:
My Linux Distrib release 1.0RC4 (TryIt)
Then the results of various options will be:
$ ./lsb_release --all
LSB Version: core-2.0-ia64:core-2.0-noarch:graphics-2.0-ia64:graphics-2.0-noarch
Distributor ID: MyDistrib
Description: I enjoy using my distrib
Release: 1.0RC4
Codename: TryIt
$ ./lsb_release -a -s
1.0 MyDistrib "I enjoy using my distrib" 1.0RC4 TryIt
If the "/etc/lsb-release" file is absent (indicating this is not an LSB compliant distribution), the result will be:
$ ./lsb_release -a
LSB Version: n/a
Distributor ID: MyDistrib
Description: My Linux Distrib release 1.0RC4 (TryIt)
Release: 1.0RC4
Codename: TryIt
REPORTING BUGS
Report bugs at http://bugs.linuxbase.org. Please include a complete, self contained example that will allow the bug to be reproduced, and
say which version of lsb_release you are using.
COPYRIGHT
Copyright (C) 2000, 2002, 2004 Free Standards Group, Inc.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU-
LAR PURPOSE.
Originally written by Dominique MASSONIE.
FSG lsb_release v2.0-SuSE July 2010 FSG(1)