09-15-2001
How do I set up DHCP on Linux
I have linux box setup and connected to a cable modem via a hub which is shared with other win98 pcs. I need to set up the linux box with dhcp.
I have two issues:
First: For some reason, every time I activate the eth0 interface, it seems to deactivate itself after some time all by itself.
Second: when I am able to activate the eth0 interface and run the ifconfig command from the xterm screen, I always get the 127.0.0.1 ip address associated with the lo interface. For some reason, it doesn't recognize the eth0 and even try to get an ip over dhcp.
finally, if I try to ping another machine on the network, I always get network unreachable.
thank you.
Last edited by alam; 09-15-2001 at 11:55 AM..
10 More Discussions You Might Find Interesting
1. IP Networking
I can do all this in windows, but Im trying to run the SuSe 8.0 professional as a gateway. I have the local (private) LAN setup with no problems, but Im having troubles getting it to use DHCP to go out on the external card to the service provider, which only uses Dynamic IP's. WHere, what and how... (3 Replies)
Discussion started by: ftn96
3 Replies
2. IP Networking
I have 5 unix and 1 linux machines and due to requirements I must have static IPs, its necessary for documentation and such. We are looking at going to DHCP but how can I "fool" these computers into thinking they have static Ips? Our lan admin said something about putting a second IP tied to the... (6 Replies)
Discussion started by: kymberm
6 Replies
3. IP Networking
DHCP Porting (2 Replies)
Discussion started by: Sunny Shivam
2 Replies
4. Linux
Please let me know step by step, I am new to this configuration.... (2 Replies)
Discussion started by: dhineshcs
2 Replies
5. AIX
Hi,
I have used "smit tcpip" to setup dhcp client but it does not work. Don't know why. Now I want to try using commands to do the job. I have studied commands chdev and mktcpip but did not find howto.
Please help. Thank you! (1 Reply)
Discussion started by: aixlover
1 Replies
6. UNIX for Dummies Questions & Answers
Hi All-
I have an assigned static IP address on my Linux box and was wondering if there is a way to change that to a DHCP without actually logging in?
Possibly a hot key I can press prioir to login?
I am running Centos
Thanks! (0 Replies)
Discussion started by: jvpike
0 Replies
7. Red Hat
Hi, Guys,
I met a question.
I've installed the Oracle Virtualbox in my laptop, whose OS is Windows XP.
And I've installed two CentOS 6.4 in the virtualbox : test1, test2.
I wanted the test1 to be the DHCP server and assigned IP Address to the test2.
I knew the principle :
step 1: install... (3 Replies)
Discussion started by: franksunnn
3 Replies
8. Linux
Hi All.
Can anyone let me know the smartest and fullprrof method of checkking whther any given linux machine is using DHCP or not?
# ps -ef | grep dhcp
gives output like below :
root 3251 3128 0 11:02 pts/0 00:00:00 grep dhcp
so i dont think its full proof method , please... (3 Replies)
Discussion started by: omkar.jadhav
3 Replies
9. HP-UX
I try to start a integrity vm machine using ignite-ux
and my usual dhcp server on linux.
Ip of server ignite is =192.168.0.16
Ip of dhcpd is = 192.168.0.2
Ip of client vm = 192.168.0.18
I try to boot from lan
Booting over the network
Loading.: lanboot
Client MAC Address: XXXXXXXXXX ..... (5 Replies)
Discussion started by: Linusolaradm1
5 Replies
10. IP Networking
Hello Friends,
I am looking for the configuration steps to enable option 90 on Linux DHCP server.Also i need to add secret id to be configured for option 90.
can someone help me in providing the steps with parameter values .
Thanks in advance,
Veera (0 Replies)
Discussion started by: veera_s99
0 Replies
LEARN ABOUT SUSE
ifcfg-vlan
IFCFG-VLAN(5) Network configuration IFCFG-VLAN(5)
NAME
ifcfg-vlan - virtual LAN interface configuration
SYNOPSIS
/etc/sysconfig/network/ifcfg-vlan*
Virtual LANs (802.1q)
To setup a vlan interface you need a configuration file that contains at least the mandatory
ETHERDEVICE
variable with the real interface used for the virtual LAN.
Further, it may contain the optional
VLAN_ID
variable that specifies the VLAN ID.
By default and when the VLAN_ID variable is not set, the number at the end of the interface name is the VLAN ID.
Preferably the interface name and the configuration file follow the VLAN interface name scheme (type), that is either:
ifcfg-vlan<VLAN-ID> (e.g. ifcfg-vlan42)
or
ifcfg-name.<VLAN-ID> (e.g. ifcfg-eth0.42)
The VLAN-ID can be also 0-padded (e.g. ifcfg-vlan0042 or ifcfg-eth0.0042).
Also in case of custom names, trailing digits are interpreted as VLAN-ID by default (e.g. ifcfg-dmz42). When VLAN_ID is set in the config,
the interface name have any name (e.g. ifcfg-foobar).
Note: The drawback of custom interface names and VLAN_ID usage is, that a rename of the interface is required and that they violate the
name scheme.
The real interface will be set UP automatically and doesn't need a config file in case of a physical interface. But without a config file
YaST will consider this interface as unused, if will not follow hotplug events and you're unable to apply any settings, e.g. ETH-
TOOL_OPTIONS. To avoid that, provide an config file with at least STARTMODE='auto'.
The rest of the VLAN interface IP and routes configuration do not differ from ordinary interfaces. See also man ifcfg and man routes for
details.
EXAMPLES
Sets up vlan3 vlan interface on top of eth0:
ifcfg-vlan3
STARTMODE='auto'
ETHERDEVICE='eth0'
IPADDR='192.168.3.27/24'
Sets up eth0.3 vlan interface on top of eth0:
ifcfg-eth0.3
STARTMODE='auto'
ETHERDEVICE='eth0'
IPADDR='192.168.3.27/24'
Sets up lan1 vlan interface with ID 42 on top of eth0:
ifcfg-lan1
STARTMODE='auto'
ETHERDEVICE='eth0'
VLAN_ID='42'
IPADDR='192.168.3.27/24'
BUGS
Please report bugs at <http://www.suse.de/feedback>
AUTHOR
Christian Zoz <zoz@suse.de>
Michal Svec <msvec@suse.cz>
Bjoern Jacke
Mads Martin Joergensen <mmj@suse.de>
Michal Ludvig <mludvig@suse.cz>
Marius Tomaschewski <mt@suse.de>
SEE ALSO
routes(5), ifcfg(5), ifup(8).
sysconfig August 2004 IFCFG-VLAN(5)