Re: Re: DHCP Question
>From : Chuck Swiger To : jh...@socket.net Subject : Re: DHCP Question Date : Tue, 14 Jun 2011 11:28:00 -0700 > You want: > >option dhcp-parameter-request-list uint16; > > This option, when sent by the client, specifies which options the > client wishes the server to return.Normally, in the ISC DHCP > client, this is done using the request statement. If this option is > not specified by the client, the DHCP server will normally return > every option that is valid in scope and that fits into the reply. > When this option is specified on the server, the server returns the > specified options.This can be used to force a client to take > options that it hasn't requested, and it can also be used to tailor > the response of the DHCP server for clients that may need a more lim- > ited set of options than those the server would normally return. > > Regards, > -- > -Chuck They are not using the option for the IRC Server, but to point to the nodes where the Virutal Desktops are. Thank you for all your help. That did the trick! Jay Thank you! That did the trick. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: DHCP Question
On Jun 14, 2011, at 11:19 AM, jh...@socket.net wrote: > I am working with a vendor and they are wanting me to send them ip > addresses via option 74 in DHCP (irc-server). After I defined this in my > dhcpd.conf file, the option is still not being sent. However, I am not > receiving a request for this option. I'm not sure why someone would care about setting an IRC server via DHCPd, but I won't second-guess the requirement. > I have done a bunch of Googling this morning/afternoon, and have not been > able to find a way to send the option whether it is requested or not. You want: option dhcp-parameter-request-list uint16; This option, when sent by the client, specifies which options the client wishes the server to return.Normally, in the ISC DHCP client, this is done using the request statement. If this option is not specified by the client, the DHCP server will normally return every option that is valid in scope and that fits into the reply. When this option is specified on the server, the server returns the specified options.This can be used to force a client to take options that it hasn't requested, and it can also be used to tailor the response of the DHCP server for clients that may need a more lim- ited set of options than those the server would normally return. Regards, -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
DHCP Question
I am working with a vendor and they are wanting me to send them ip addresses via option 74 in DHCP (irc-server). After I defined this in my dhcpd.conf file, the option is still not being sent. However, I am not receiving a request for this option. I have done a bunch of Googling this morning/afternoon, and have not been able to find a way to send the option whether it is requested or not. Is it possible to do this? Thanks, Jay ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: DHCP Question
On Wed, Mar 19, 2008 at 9:36 PM, <[EMAIL PROTECTED]> wrote: > I am in the process of moving my phone system DHCP from my Mitel 3300 to a > FreeBSD so I can parse the DHCP file. In order to make Mitel's option 125 > work correctly, I have to specify some vendor specific options. I believe > this is option 124 if I understand the Mitel documentation correctly. > We have a Mitel 3300 and use OpenBSD servers with the ISC DHCP server. We have 5212 and 5224 IP phones and 5550 IP consoles. The consoles are the trickiest of all to get working with DHCP. Below are the sections from our DHCP config that relate to the Mitel. A few things to note about it. 10.1.254.254 is our name server and dhcp server. 10.1.5.1 is the IP of our Mitel 3300 controller/server. the /sysro/e2t8260 is the path of our e2t. The two most key components to get it to work are the option-128 and option-129. You need to set these as the hex representation of the IP address of your Mitel controller, so in our case, 10.1.5.1 became 0A:01:05:01. It won't work otherwise. 10.1.254.255 is our VPN gateway to our other office. The vendor-class-identifier for mitel phones is always null (at least for the 5212, 5224, and 5550 consoles). We use this to separate the Mitel phones into a separate class so they are in their own IP block. We originally just used the vendor-class-identifier thing, but then started to find NICs that had vendor-class-identifier = null, so I noticed that all of our Mitel device MAC addresses start with 1:08:00:0f., so we use that to separate them as well. It is a bad hack, but it works for us. Anyway, with this config, we have 5212, 5224, and 5550 consoles getting their addresses with DHCP. Feel free to contact me if you have any questions. # MITEL E2T TFTP boot host mitele2t { hardware ethernet 08:00:0f:1d:7e:e7; fixed-address 10.1.5.2; next-server 10.1.5.1; filename "/sysro/E2T8260"; } # # # # THESE DEFINITIONS MUST BE PRESERVED AS IS. The 5550 Mitel # consoles will not work unless these options are EXACTLY # as below. # # # option option-128 code 128 = string; option option-129 code 129 = string; option option-130 code 130 = text; option option-66 code 66 = string; option option-67 code 67 = string; subnet 10.1.0.0 netmask 255.255.0.0 { class "mitel-phone" { match if option vendor-class-identifier = null and substring(pick-first-value(option dhcp-client-identifier,hardware), 0, 4) = 1:08:00:0f; } pool { allow members of "mitel-phone"; range 10.1.6.1 10.1.7.254; option routers 10.1.254.254; option option-66 "10.1.5.1"; option option-67 "/sysro/e2t8260"; option option-128 0A:01:05:01; option option-129 0A:01:05:01; #option tftp-server-name "10.1.1.1"; option option-130 "MITEL IP PHONE"; } pool { deny members of "mitel-phone"; range 10.1.3.100 10.1.4.255; option routers 10.1.254.254; } option broadcast-address 10.1.255.255; option subnet-mask 255.255.0.0; option netbios-name-servers 10.1.254.254; option netbios-dd-server 10.1.254.254; option netbios-node-type 8; option netbios-scope ""; } Hope this helps. Preston ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: DHCP Question
Hi, Jay-- On Mar 19, 2008, at 7:36 PM, [EMAIL PROTECTED] wrote: I am in the process of moving my phone system DHCP from my Mitel 3300 to a FreeBSD so I can parse the DHCP file. In order to make Mitel's option 125 work correctly, I have to specify some vendor specific options. I believe this is option 124 if I understand the Mitel documentation correctly. [ ... ] Can someone point me in the right direction? For the ISC DHCP server, here's an example for setting option 252 for auto-proxy config: option wpad-url code 252 = text; subnet _yournetwork_ netmask _yournetmask_ { option wpad-url "http://proxy/proxy.pac";; ... } You'd need to choose your own option name for option code 124, and a type (probably string), and then set whatever config you need in that option statement... -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
DHCP Question
I am in the process of moving my phone system DHCP from my Mitel 3300 to a FreeBSD so I can parse the DHCP file. In order to make Mitel's option 125 work correctly, I have to specify some vendor specific options. I believe this is option 124 if I understand the Mitel documentation correctly. I have searched Google and have not found any helpful information or examples. I'm guessing I will have to create a new class and specify the options within that class. Can someone point me in the right direction? Thanks, Jay ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
arp/dhcp question
I recently moved my PPPoE onto my 4100 modem. Tt is capable of passing my public IP into the freebsd box and then when I reboot, since the modem keeps my connection alive I dont change IPs as often...This works very well...but, however, this has caused a new twist: My modem appears to be at IP 192.168.0.1 My freebsd box has 2 NICs in it: WAN = DHCP (connected to the 4100 modem) LAN = 10.0.0.1 When the freebsd box boots, it asks for a DHCP address and the modem hands it a public one...207.227.122.7 for example. This works well...with one exception: Each so many seconds or so, my dmesg is filled with tons of these: arplookup: unable to enter address for 192.168.0.1 arplookup: unable to enter address for 192.168.0.1 arplookup: unable to enter address for 192.168.0.1 arplookup: unable to enter address for 192.168.0.1 arplookup: unable to enter address for 192.168.0.1 arplookup: unable to enter address for 192.168.0.1 arplookup: unable to enter address for 192.168.0.1 arplookup: unable to enter address for 192.168.0.1 Now I certainly know why, but cant seem to solve this. If I try to add an alias IP on the WAN NIC (after DHCP) this works but seems to kill off dhclient so once it gets a public IP it never asks/updates again. I am looking for a solution either in a NIC or route command... I could tell the modem to hand me a private IP but I would prefer to have the freebsd box use a public. Help? -JD ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: DHCP question
At 5:03 PM -0400 8/24/06, Robert Huff wrote: >> >I need to monitor and record that IP address and initiate a >> >series of processes if/when the IP address changes. >> >> You could schedule a script that uses 'curl' or 'fetch' to >> acquire the status page from the router and parse the upstream >> IP address from it and compare it with a saved address. > > How about: > > netstat -rn -f inet | grep default | awk '{print $2}' Wouldn't that just get his router's internal NAT address? -- Walter M. Pawley <[EMAIL PROTECTED]> Wump Research & Company 676 River Bend Road, Roseburg, OR 97470 541-672-8975 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: DHCP question
At 4:20 AM -0700 8/23/06, Vizion wrote: >My home network is connected by my Linksys Broadband Router >model RT31P2 to an upstream Cable company supplied Motorola >SB5100 cable modem. > >A single IP address is allocated via DHCP to the Linksys to >which my private network is attached. The IP address is rarely >changed. > >I need to monitor and record that IP address and initiate a >series of processes if/when the IP address changes. > >Suggestions please... and thanks in advance for any replies David, You could schedule a script that uses 'curl' or 'fetch' to acquire the status page from the router and parse the upstream IP address from it and compare it with a saved address. -- Walter M. Pawley <[EMAIL PROTECTED]> Wump Research & Company 676 River Bend Road, Roseburg, OR 97470 541-672-8975 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: DHCP question
Walt Pawley writes: > >I need to monitor and record that IP address and initiate a > >series of processes if/when the IP address changes. > > You could schedule a script that uses 'curl' or 'fetch' to > acquire the status page from the router and parse the upstream > IP address from it and compare it with a saved address. How about: netstat -rn -f inet | grep default | awk '{print $2}' Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: DHCP question
Vizion wrote: > My home network is connected by my Linksys Broadband Router model > RT31P2 to an upstream Cable company supplied Motorola SB5100 cable > modem. > > A single IP address is allocated via DHCP to the Linksys to which my > private network is attached. The IP address is rarely changed. > > I need to monitor and record that IP address and initiate a series of > processes if/when the IP address changes. > > Suggestions please... and thanks in advance for any replies Might 'ddclient' be what you are referring to? Its in the ports. -- Gerard Seibert [EMAIL PROTECTED] Consider everything in the nature of a hanging fixture a weakness, and naked radiators an abomination Frank Lloyd Wright ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: DHCP question
Vizion írta: My home network is connected by my Linksys Broadband Router model RT31P2 to an upstream Cable company supplied Motorola SB5100 cable modem. A single IP address is allocated via DHCP to the Linksys to which my private network is attached. The IP address is rarely changed. I need to monitor and record that IP address and initiate a series of processes if/when the IP address changes. Suggestions please... and thanks in advance for any replies I do not have a ready-to-use solution, but you might try to download this site with lynx: www.whatismyip.com and extract your 'public' IP address from that page. Best, Laszlo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
DHCP question
My home network is connected by my Linksys Broadband Router model RT31P2 to an upstream Cable company supplied Motorola SB5100 cable modem. A single IP address is allocated via DHCP to the Linksys to which my private network is attached. The IP address is rarely changed. I need to monitor and record that IP address and initiate a series of processes if/when the IP address changes. Suggestions please... and thanks in advance for any replies david ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
6.0 DHCP question...
To renew ip address you should do the following first: dhclient -r interface (release) second: dhclient -1 interface (try once to get a lease) Hope this help Mehrdad Arshad Rad ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
6.0 DHCP question...
How does one go about renewing the DHCP lease in 6.0? Apparently dhcpclient -r interface doesnt work? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ndis0 dhcp question
Bryan Maynard wrote: Hello all! :-D I have a Linksys WPC11 ver.4 wireless NIC. I got it setup using ndisgen (very cool tool by the way). Now when kldload /root/rtl8180_sys.ko (the location of my wireless kernel object) dmesg shows this: ndis0: port 0x1000-0x10ff mem 0x88 00-0x880001ff irq 11 at device 0.0 on cardbus1 ndis0: NDIS API version: 5.1 ndis0: Ethernet address: 00:0f:66:cf:10:7e ndis0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps and when I run ifconfig -a I get this: ::My onboard ethernet NIC xl0: flags=8843 mtu 1500 options=9 inet6 fe80::204:76ff:fe48:9301%xl0 prefixlen 64 scopeid 0x1 inet 192.168.1.101 netmask 0xff00 broadcast 192.168.1.255 ether 00:04:76:48:93:01 media: Ethernet autoselect (100baseTX ) status: active ::I don't know what this is. . . plip0: flags=108810 mtu 1500 ::Loopback device lo0: flags=8049 mtu 16384 inet 127.0.0.1 netmask 0xff00 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 ::My Linksys WPC11 ver.4 ndis0: flags=8802 mtu 1500 ether 00:0f:66:cf:10:7e media: IEEE 802.11 Wireless Ethernet autoselect status: no carrier ssid "" channel -1 authmode OPEN powersavemode OFF powersavesleep 100 rtsthreshold 2312 protmode CTS wepmode OFF weptxkey 1 I have several questions, but I'll ask them one at a time. . . I have a Linksys WRT54G Wireless Router. Currently my onboard NIC is what I use to access the net and stuff. How do I assign an IP address - and any other needed parameters - to my wireless NIC, activate it, and use it instead of (or along with) my onboard ethernet NIC? I know about using ifconfig blah blah blah, but what paramaters do I pass and where do I get them? Thanks, Bryan Hi Bryan, something like this: ifconfig ndis0 ssid wepmode on wepkey 0x<1234567> I alway had to issue this command-line twice - don't know why. To automate this on boot-time using dhcp, there is /etc/dhclient.conf, where you have to add the parameters like ssid, wepmode and wepkey. I didn't try this yet. I haven't been able to use my ndis-card with dhcp (issuing "killall dhclient" && "dhclient ndis0" by hand), while my ath-card at least got a "dhcp-address" once :-). Ben ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
ndis0 dhcp question
Hello all! :-D I have a Linksys WPC11 ver.4 wireless NIC. I got it setup using ndisgen (very cool tool by the way). Now when kldload /root/rtl8180_sys.ko (the location of my wireless kernel object) dmesg shows this: ndis0: port 0x1000-0x10ff mem 0x88 00-0x880001ff irq 11 at device 0.0 on cardbus1 ndis0: NDIS API version: 5.1 ndis0: Ethernet address: 00:0f:66:cf:10:7e ndis0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps and when I run ifconfig -a I get this: ::My onboard ethernet NIC xl0: flags=8843 mtu 1500 options=9 inet6 fe80::204:76ff:fe48:9301%xl0 prefixlen 64 scopeid 0x1 inet 192.168.1.101 netmask 0xff00 broadcast 192.168.1.255 ether 00:04:76:48:93:01 media: Ethernet autoselect (100baseTX ) status: active ::I don't know what this is. . . plip0: flags=108810 mtu 1500 ::Loopback device lo0: flags=8049 mtu 16384 inet 127.0.0.1 netmask 0xff00 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 ::My Linksys WPC11 ver.4 ndis0: flags=8802 mtu 1500 ether 00:0f:66:cf:10:7e media: IEEE 802.11 Wireless Ethernet autoselect status: no carrier ssid "" channel -1 authmode OPEN powersavemode OFF powersavesleep 100 rtsthreshold 2312 protmode CTS wepmode OFF weptxkey 1 I have several questions, but I'll ask them one at a time. . . I have a Linksys WRT54G Wireless Router. Currently my onboard NIC is what I use to access the net and stuff. How do I assign an IP address - and any other needed parameters - to my wireless NIC, activate it, and use it instead of (or along with) my onboard ethernet NIC? I know about using ifconfig blah blah blah, but what paramaters do I pass and where do I get them? Thanks, Bryan -- Open Source: by the people, for the people. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: dhcp question
If you're running dhcpd(8) on two interfaces, the command should probably be /usr/sbin/dhcpd -q rl1 rl2 Have you checked /var/log/messages for errors? - Original Message - From: "Your Name" <[EMAIL PROTECTED]> Subject: dhcp question > > -- > Hi all > > I would like to configure 2 network cards to have dhcp server function > but it doesnt'work > > NIC rl0 is WAN port > NIC rl1 is for 192.168.0.1 network > NIC rl2 is for 10.0.0.1 network > > I put dhcpd.sh in the /usr/local/etc/rc.d > > #!/bin/sh > /usr/sbin/dhcpd rl1 -q > /usr/sbin/dhcpd rl2 -q > > > Those rl1 and rl2 are using NAT to go to outside > > In the /etc/dhcpd.conf > > I configured the network > > authoritative; > subnet 192.168.0.0 netmask 255.255.255.0 { > range 192.168.0.100 192.168.0.150; > option domain-name "abc.com"; > option domain-name-servers 24.141.32.200; > > default-lease-time 600; > max-lease-time 7200; > option routers 192.168.0.1; > option broadcast-address 192.168.0.255; > default-lease-time 600; > max-lease-time 7200; > } > > subnet 10.0.0.0 netmask 255.0.0.0 { > range 10.0.0.100 10.0.0.150; > option domain-name "abc.com"; > option domain-name-servers 24.141.32.200; > > default-lease-time 600; > max-lease-time 7200; > option routers 10.0.0.1; > option broadcast-address 10.255.255.255; > default-lease-time 600; > max-lease-time 7200; > } > > Thank you > > > > > > > > > > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
dhcp question
-- Hi all I would like to configure 2 network cards to have dhcp server function but it doesnt'work NIC rl0 is WAN port NIC rl1 is for 192.168.0.1 network NIC rl2 is for 10.0.0.1 network I put dhcpd.sh in the /usr/local/etc/rc.d #!/bin/sh /usr/sbin/dhcpd rl1 -q /usr/sbin/dhcpd rl2 -q Those rl1 and rl2 are using NAT to go to outside In the /etc/dhcpd.conf I configured the network authoritative; subnet 192.168.0.0 netmask 255.255.255.0 { range 192.168.0.100 192.168.0.150; option domain-name "abc.com"; option domain-name-servers 24.141.32.200; default-lease-time 600; max-lease-time 7200; option routers 192.168.0.1; option broadcast-address 192.168.0.255; default-lease-time 600; max-lease-time 7200; } subnet 10.0.0.0 netmask 255.0.0.0 { range 10.0.0.100 10.0.0.150; option domain-name "abc.com"; option domain-name-servers 24.141.32.200; default-lease-time 600; max-lease-time 7200; option routers 10.0.0.1; option broadcast-address 10.255.255.255; default-lease-time 600; max-lease-time 7200; } Thank you ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
DHCP Question
I don't know if this is the palce to go for help, but here goes. I have freeb running on a machine with 3 NICS-fxp0, dc0, rl0. I want to run DHCP on fxp0 and dc0-the LAN side of the network. I wrote the conf file, and it works for fxp0, but I get an odd error message when I try to bring up dhcpd on dc0. The message is "dc0 exceeds max (255) for precision" . Anyone have any ideas what might cause this error? Any help would be appreciated. Thanks TMS III To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message