LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General > LinuxAnswers Discussion
User Name
Password
LinuxAnswers Discussion This forum is to discuss articles posted to LinuxAnswers.

Notices


Reply
  Search this Thread
Old 01-24-2005, 04:57 PM   #16
ethrazahraza
LQ Newbie
 
Registered: Jan 2005
Location: São Paulo - Brazil
Distribution: MandrakeLinux
Posts: 5

Rep: Reputation: 0
Arrow More things


I noticed that the problem that made DHCPD exits is the Virtual IPs eth1:1 and eth1:2. If I down thay an let only eth1, the DHCPD starts ok but so is unable to lease a IP in that networks.
So if the DHCP don't like Virtual IPs, how I'll use subnetworks ore shared networks?
I'm confused.
 
Old 01-25-2005, 04:56 AM   #17
abhijeetudas
Member
 
Registered: Sep 2004
Distribution: Redhat / Fedora
Posts: 114

Rep: Reputation: 15
Ok...

Im trying to look @ this LDAP problem ur getting..
i havent really worked with LDAP servers.. as such
but let me see if i can get some thing.

& one thing is that
im no Network GURU / pro in this
just had to get some DHCP Stuff so i kno a bit abt DHCP
i would not add virtual interfaces on the same network

if eth1 is say 192.168.X.X

then i would make

eth1:1 as 10.1.X.X
eth1:2 as 172.22.X.X or what ever

what happens @ times with the kinda thing u have done is
if kernel routing gets messed for some reason
ur packets dont knw which interface to get out
by using above..
its a bit easier to trouble shoot..



regards,
 
Old 01-25-2005, 09:01 AM   #18
ethrazahraza
LQ Newbie
 
Registered: Jan 2005
Location: São Paulo - Brazil
Distribution: MandrakeLinux
Posts: 5

Rep: Reputation: 0
Thanks 4 d replye.

To resolve my won problem the only thing to undestand is that a shared-network statemant refers to a ethernet and not for an IP, so if all virtual IPs are in one ethernet, all configs of subnets must come inside a shared-network statement that refers to the phisycal ethernet.
 
Old 03-20-2005, 07:34 PM   #19
Melvin24
LQ Newbie
 
Registered: Mar 2005
Distribution: Fedora Core 3
Posts: 2

Rep: Reputation: 0
why can't i connect to Comcast? i'm running F.C.3 and for some reason i get a "loopback" device? it's almost like it's trying to connect to itself.. any suggestions?
 
Old 03-21-2005, 01:25 AM   #20
abhijeetudas
Member
 
Registered: Sep 2004
Distribution: Redhat / Fedora
Posts: 114

Rep: Reputation: 15
Check if your network card / network device got detected.


Fedora 3 has a wide range of drivers .. for ethernet devices...
It picked up my LinkSys ETherNet to USB adapter without any trouble

Probably your NIC card is loose ..
Or your are using a very uncommon network card,
for which you may need to contact your vendor for drivers..
 
Old 07-25-2005, 02:21 AM   #21
heroinex
LQ Newbie
 
Registered: Jan 2005
Location: romania
Posts: 3

Rep: Reputation: 0
i need some help

Hi,


I am a newbe. I want to become a network administrator and i would like to know how do I need to configure the linux server in order to provide internet to other 10 pc´s. I need to identify the other 10 pc´s by network card MAC address because I dont want other pc´s to connect to my network without my knowledge. I need to know which line to to change or to edit, i need all the infos you can get me. I need to know how to configure the server from the begin to the end.


Thank you in advance,

Daniel
 
Old 07-26-2005, 03:33 AM   #22
abhijeetudas
Member
 
Registered: Sep 2004
Distribution: Redhat / Fedora
Posts: 114

Rep: Reputation: 15
Use dhcp's static IP allocation which is based on the mac address of a machine.
and also .. dont use the pool / range option.

host machine1.yourdomain.com
{
hardware ethernet 00:13:11:55:6F:63;
fixed-address 192.168.0.2;
next-server 192.168.0.1;
}


in your dhcp file.
 
Old 07-26-2005, 03:40 AM   #23
heroinex
LQ Newbie
 
Registered: Jan 2005
Location: romania
Posts: 3

Rep: Reputation: 0
But how do i find the MAC address for other platforms?

Thank you
 
Old 07-26-2005, 04:24 AM   #24
heroinex
LQ Newbie
 
Registered: Jan 2005
Location: romania
Posts: 3

Rep: Reputation: 0
and please tell me where do i find more informations about network settings and network administration because I want to understand what I am doing not just do it


Thank you,

Daniel
 
Old 09-03-2005, 09:33 AM   #25
Kumado
Member
 
Registered: Oct 2003
Location: Ohio , USA
Distribution: up to Suse 15.1
Posts: 73

Rep: Reputation: 25
dhcp and filtering

This is a great and simple how-to. Thanks! ( I am a simple minded person :P )

I set up a server sometime back, this explains more. I see how I can reserve space now in 2 methods - nice.

I have a few questions though.

My 1st server gave leases from 254 and down instead of 10 ( where I reserved the lower ips for servers ) and up. No bother really, just wondered why?

this begs the question, what other options exsist in the script file? I have some difficulty understanding the man pages. They often look like the notes I make for myself. They are invaluable to me but no one else would have a clue what it all meant.

I am a teacher at a school and I have the job of our building's network. It may soon be that I need to provide filtering for the content ( iptables maybe with a blacklist, etc ? ) I know there is some software out there, I enjoy making things work too.
This is not really dhcp alone, but I want to set a VPN (?) where the admin of the building are assigned an IP by mac address and all others are given the "other" ip range so each goed thru it's own filter. ( I think Samba can set up some of this too ) Is there a way to share a common file of host/mac addresses for all the services? I could then alter one file and set them all at once
On the admin filter, if your mac in not in the list, you cannot get out thru it ( keeps kiddies from getting a lesser filter )
any Ideas?

Thanks

Mike
 
Old 04-26-2006, 10:34 AM   #26
gondi
LQ Newbie
 
Registered: Apr 2006
Posts: 2

Rep: Reputation: 0
dhcp with access point

i have problem with dhcp

i am connecting an access point directly to my linux machine. when i start dhcp its working fine. when i connect another computer using this dhcp with this access point i get connected and receves an ip address through dhclient. i start ping from client to dhcp server its not working. on the round about if i ping from server to client i get proper ping messages. i couldnt understand whats the problem.

if anybody can help me out its a great thing to me.

thanking you,
gondi.
 
Old 04-26-2006, 06:12 PM   #27
Kumado
Member
 
Registered: Oct 2003
Location: Ohio , USA
Distribution: up to Suse 15.1
Posts: 73

Rep: Reputation: 25
I assume the 2nd machine cannot go out to the internet, this stuff can be so fun sometimes

2 quick things to look at:

It maybe that you have a firewall running that will not allow you to ping your server, but your server would be allowed to ping you.

The next is not as likely but ... some access points can give out there own dhcp / ips to what connects to it. Is there a way to log into the access point and see if this is happening? If so, the ones I have used, I can turn that option off.

Not a lot of help but may give you somewhere to start.

hmmm, does your second machine have the gateway for your connction to the internet?

best of luck!!

Kumado
 
Old 04-27-2006, 07:10 AM   #28
gondi
LQ Newbie
 
Registered: Apr 2006
Posts: 2

Rep: Reputation: 0
dhcp with access point

thanx for the help

but the problem still existing, eventhough i removed iptables.

i tried with ethereal to sniff the packets the client pings are receved by server but there is no reply. i think there is problem in routing tables

any more suggestion regarding routing issues.

thanking you,
gondi.
 
Old 04-27-2006, 07:45 AM   #29
Kumado
Member
 
Registered: Oct 2003
Location: Ohio , USA
Distribution: up to Suse 15.1
Posts: 73

Rep: Reputation: 25
hmmmmm, what does route show for your 2 machines? Could you post it?
Also, could you give some info on how your network is set up? Router etc...??

It almost sounds like the subnet could be wrong or something, so they are in slightly different worlds.

I am learning too, I will help what I can

Kumado
 
Old 11-27-2006, 12:34 PM   #30
jimmylc
LQ Newbie
 
Registered: Jun 2005
Distribution: Slackware
Posts: 5

Rep: Reputation: 0
Quote:
Originally Posted by akshatyadav
It is good, but I think u should also take some time and write DHCP client how to also.


-Akshat
HUH? Seriously?

MICRO FAST DHCP HOWTO:

In Slackare, edit rc.inet1.conf and put:

USE_DHCP[x]="yes"

Where the "x" is your network interface, that way you'll get your client up and running on every boot

IF you want to do it manually, then as root type

dhcpd [interface]

Where "[interface]" is your network adapter, ex: eth0

You can also read the slackware book
 
  


Reply



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
DISCUSSION: SUID - HOWTO krishvij LinuxAnswers Discussion 12 12-21-2010 01:23 PM
DISCUSSION: LINUX ALTERNATIVES HOWTO krishvij LinuxAnswers Discussion 2 03-03-2009 05:41 PM
DISCUSSION: Comcast and KMail - HOWTO kittani LinuxAnswers Discussion 3 02-26-2007 05:04 PM
DHCP Server Howto SiegeX Slackware 7 10-15-2004 01:51 PM
DISCUSSION: HOWTO Setup a Secure Relaying Email Server DavidPhillips LinuxAnswers Discussion 20 07-30-2004 11:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General > LinuxAnswers Discussion

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration