Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Feb 2001 20:58:25 -0500
From:      Andrew BOGECHO <andrewb@cs.mcgill.ca>
To:        cjclark@alum.mit.edu
Cc:        questions@FreeBSD.ORG
Subject:   Re: mtu not set with dhcp options
Message-ID:  <20010203205825.B17997@cs.mcgill.ca>
In-Reply-To: <20010203170850.M91447@rfx-216-196-73-168.users.reflex>; from cjclark@reflexnet.net on Sat, Feb 03, 2001 at 05:08:50PM -0800
References:  <20010203163437.A16076@cs.mcgill.ca> <20010203191302.A53923@solveinteractive.com> <20010203170850.M91447@rfx-216-196-73-168.users.reflex>

next in thread | previous in thread | raw e-mail | index | archive | help
Sat Feb  3 20:47:46 EST 2001

Hi Chris,

Thank you for your reply. The tcpdump was a good idea. Here are the
results. It does look like the client requests the info, and that the
server sends the info. However, I am not sure what base the number
returned is in. I definitely put in 1492, but it seems to send out
54277. Any clues?

tcpdump output:

20:45:32.820690 linda.sympatico.ab.bootpc > 255.255.255.255.bootps:
xid:0x32a4213a vend-rfc1048 DHCP:REQUEST RQ:linda.sympatico.ab
PR:SM+BR+TZ+DG+DN+NS+HN+MTU [tos 0x10]  (ttl 16, id 0)
20:45:32.823302 router.sympatico.ab.bootps >
linda.sympatico.ab.bootpc:  xid:0x32a4213a Y:linda.sympatico.ab
S:router.sympatico.ab vend-rfc1048 DHCP:ACK SID:router.sympatico.ab
LT:2152665600 SM:255.255.255.0 DG:router.sympatico.ab DN:"sympatico.ab"
NS :xena.sympatico.ab HN:"linda.sympatico.ab" MTU:54277 [tos 0x10]  (ttl 16, id 0)

Included is my whole dhcpd.conf:

--begin--
subnet 10.0.0.0 netmask 255.255.255.0
{

option routers                  10.0.0.253;
option subnet-mask              255.255.255.0;
option domain-name              "sympatico.ab";
option domain-name-servers      10.0.0.1;
option interface-mtu            1492;

get-lease-hostnames     true;
default-lease-time      1200000;
max-lease-time          2200000;

range 10.0.0.5 10.0.0.8;
}
--end--
Thank you for any help.

Andrew.


On Sat, Feb 03, 2001 at 05:08:50PM -0800, Crist J. Clark wrote:
> On Sat, Feb 03, 2001 at 07:13:02PM -0500, Robert Hough wrote:
> > Andrew BOGECHO [andrewb@cs.mcgill.ca] wrote:
> > >
> > > in my dhcpd.conf, it does not get set on the client. All the other
> > > settings (IP, DNS, gw, etc..) work fine.
> > 
> > and ...
> > 
> > > Both client and server are running 4.2-STABLE and I am using
> > > isc-dhcp-2.0.3 on the dhcp server.
> > 
> > Can you point out where you found this option for setting the mtu on a remote
> > machine? I don't use dhcpd, but did check the man page for dhcpd2, and 3 and
> > was unable to find an option for interface-mtu in either dhcpd.conf man page.
> 
> See dhcp-options(5). I am not sure if this is a option that is sent to
> the clients or something that the server uses when comunicating on the
> specified interface. "Use the source, Luke."
> 
> The other thing to do is tcpdump a DHCP conversation and see if that
> information is ever passed to the client.
> -- 
> Crist J. Clark                           cjclark@alum.mit.edu


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010203205825.B17997>