LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 08-01-2006, 12:20 AM   #1
shipon_97
Member
 
Registered: Oct 2005
Location: Bangladesh
Posts: 447

Rep: Reputation: 30
Question Broadcast and dhcp Problem


Friends ,

1 )I found different site/forum to add IP in the following way :

"ifconfig eth0 202.59.129.254 netmask 255.255.255.252 broadcast 202.59.129.255 up "
with this command ?


2) In the "/etc/dhcpd.conf" file i find the following line :
subnet 192.168.10.0 netmask 255.255.255.0

plz anyone can tell me , what is the meaning of this line ?

If my server IP is "192.168.10.1" and Netmask "255.255.255.240" then what changes to make the above line ?

Plz help ............
 
Old 08-01-2006, 08:29 AM   #2
baikonur
Member
 
Registered: Oct 2005
Location: germany
Distribution: debian
Posts: 255
Blog Entries: 5

Rep: Reputation: 30
ifconfig eth0 netmask 255.255.255.240 192.168.10.2

for example

EDIT:: with DHCP?

edit /etc/network/interfaces

man interfaces

Last edited by baikonur; 08-01-2006 at 08:31 AM.
 
Old 08-01-2006, 09:56 PM   #3
shipon_97
Member
 
Registered: Oct 2005
Location: Bangladesh
Posts: 447

Original Poster
Rep: Reputation: 30
Question Broadcast and dhcp Problem

Dear baikonur,

Actually I want to know what is the benefit to add "Broadcast Address" with IP Like Following way :

"ifconfig eth0 202.59.129.254 netmask 255.255.255.252 broadcast 202.59.129.255 up "

2) And In the "/etc/dhcpd.conf" file i find the following line (3rd Line):

"subnet 192.168.10.0 netmask 255.255.255.0 "
what represents this line in "dhcpd.conf" file ?

And If My server Ip is 192.168.10.1 and Subnet is "255.255.255.240" then is any changes to make for the above line ?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
skipping dhcp broadcast/network detection xxNEEDHELPxx Linux - Software 1 05-06-2008 07:10 PM
broadcast problem in linux server nazib Linux - Networking 1 07-26-2005 07:20 PM
Broadcast routing problem chaps Linux - Networking 3 06-13-2004 07:50 PM
/etc/network/interfaces broadcast problem nafai_anlashok Linux - Networking 2 04-26-2004 08:32 PM
How do you make the ip masquerade server/dhcp server broadcast dns to lan cmisip Linux - Networking 6 01-25-2003 10:43 PM


All times are GMT -5. The time now is 03:23 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration