You are not logged in.

#1 2006-06-23 00:45:02

rminnich
Member
Registered: 2006-06-23
Posts: 1

DHCP and mtu size in rc.conf

Is it possible to set an interface to use both DHCP and a custom MTU size by setting the value in rc.conf?

I tried using the line "eth0="dhcp mtu 9000", but that did not work.

Offline

#2 2006-06-23 09:41:57

brain0
Developer
From: Aachen - Germany
Registered: 2005-01-03
Posts: 1,382

Re: DHCP and mtu size in rc.conf

There is a hackish way to do it:

eth0="dhcp"
eth0mtu="eth0 mtu 1234"
INTERFACES=(lo eth0 eth0mtu)

It is important that eth0mtu is after eth0 in INTERFACES.

Offline

Board footer

Powered by FluxBB