On Tue, Nov 07, 2023 at 11:33:04AM +0100, Daniele B. wrote:
>
> Sorry Claudio, my fault.
>
> wiz# ifconfig reX hwfeatures
> hwfeatures= [*] hardmtu 9194
>
> by hostname.reX:
>
> wiz# nano /etc/hostname.reX:
> inet 192.168.XXX.XXX 0xffffff00 mtu 9018
>From man hostname.if:
Regular IPv4 network setup:
inet [alias] addr netmask broadcast_addr options
The third argument after "inet" is the broadcast address. You have
"mtu", which isn't one, hence the error. Try adding "NONE" before
"mtu":
inet 192.168.XXX.XXX 0xffffff00 NONE mtu 9018
> ctrl+S; ctrl+X
>
> wiz# sh /etc/netstart
>
> ifconfig: mtu: bad value
>
> (same eventually at boot time)
>
> by shell or rc.local:
>
> wiz# ifconfig reX mtu 9018
> (accepted)
> wiz# ifconfig reX
>
> reX: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 9018
> lladdr XX:XX:XX:XX:XX:XX
> index 1 priority 0 llprio 3
> groups: egress
> media: Ethernet autoselect (1000baseT
> full-duplex,master,rxpause,txpause) status: active inet
> 192.168.XXX.XXX netmask 0xffffff00 broadcast 192.168.XXX.XXX
>
>
> == Daniele Bonini
>
>
> Claudio Jeker <[email protected]> wrote:
>
> > Sorry this bug report lacks all important information.
> >
> > a) what is your hostame.mynicdevice contents
> > b) where does the error pop up? neither netstart nor ifconfig contain
> > the word "wrong"
> > c) what interface are you playing with?
> >
> > So we can't help you.
>
--