Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
09-07-2005, 07:58 PM
|
#1
|
LQ Newbie
Registered: Sep 2005
Posts: 4
Rep:
|
Dhcpd
Hello...
Why this won't work? I am trying to assign 10.38.111.111 ip to my stb, but
eth1 is 192.168.0/24.
So the question is, how can I do this?
Code:
subnet 192.168.0.0 netmask 255.255.255.0 {
option broadcast-address 192.168.0.255;
option routers 192.168.0.1;
option domain-name-servers 10.253.1.11, 193.189.160.11, 10.253.1.12,
193.189.160.12;
option domain-name "the-nox.com";
option subnet-mask 255.255.255.0;
allow unknown-clients;
host amino {
hardware ethernet 00:02:02:00:32:B2;
fixed-address 10.38.111.111;
option domain-name-servers 10.253.1.11, 10.253.1.12;
option domain-name "the-nox.com";
option subnet-mask 255.255.0.0;
}
range 192.168.0.20 192.168.0.49;
}
Sep 8 02:07:20 skum dhcpd: DHCPREQUEST for 10.38.17.104 (10.254.0.5) from 00:02:02:00:32:b2 via eth1: wrong network.
Sep 8 02:07:20 skum dhcpd: DHCPNAK on 10.38.17.104 to 00:02:02:00:32:b2 via eth1
Sep 8 02:07:20 skum dhcpd: DHCPREQUEST for 10.38.17.104 (10.254.0.5) from 00:02:02:00:32:b2 via eth1: wrong network.
Sep 8 02:07:20 skum dhcpd: DHCPNAK on 10.38.17.104 to 00:02:02:00:32:b2 via eth1
Sep 8 02:07:21 skum dhcpd: DHCPOFFER on 192.168.0.45 to 00:02:02:00:32:b2 via eth1
Sep 8 02:07:21 skum dhcpd: DHCPDISCOVER from 00:02:02:00:32:b2 via eth1
Sep 8 02:07:21 skum dhcpd: DHCPOFFER on 192.168.0.45 to 00:02:02:00:32:b2 via eth1
Sep 8 02:07:21 skum dhcpd: DHCPREQUEST for 192.168.0.45 (192.168.0.1) from 00:02:02:00:32:b2 via eth1
Sep 8 02:07:21 skum dhcpd: DHCPACK on 192.168.0.45 to 00:02:02:00:32:b2 via eth1
|
|
|
09-07-2005, 10:29 PM
|
#2
|
LQ Guru
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163
Rep:
|
Is your dhcpcd eth1 interface is on the 10.38.111.x network range as well? If not, the server will refuse to give away the 10.38.111.111 adress, as it is illegal on that interface.
|
|
|
09-08-2005, 03:48 AM
|
#3
|
LQ Newbie
Registered: Jun 2005
Location: UK
Distribution: Slackware
Posts: 28
Rep:
|
ddns-update-style ad-hoc;
option domain-name "the-nox.com";
option subnet-mask 255.255.255.0;
shared-network FOO {
subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.20 192.168.0.49;
option broadcast-address 192.168.0.255;
option routers 192.168.0.1;
option domain-name-servers 10.253.1.11, 193.189.160.11, 10.253.1.12, 193.189.160.12;
}
}
host amino {
hardware ethernet 00:02:02:00:32:B2;
fixed-address 10.38.111.111;
option domain-name-servers 10.253.1.11, 10.253.1.12;
}
when you load the dhcpd specify the ethernet adpater you want it to run on e.g. 'dhcpd eth1'
Last edited by sin; 09-08-2005 at 04:16 AM.
|
|
|
09-08-2005, 11:27 AM
|
#4
|
LQ Newbie
Registered: Sep 2005
Posts: 4
Original Poster
Rep:
|
I had to set another ip for the interface. I had the routes set already, but I guess it wasn't enough.
|
|
|
All times are GMT -5. The time now is 03:40 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|