Subject: RE: PMAD-AA
To: m@uk.com, Steffen Liebstueckel <Steffen.Liebstueckel@hadiko.de>
From: Greg Mans <gmans@packetcom.com>
List: tech-net
Date: 05/02/2000 07:26:35
I have pretty good luck using the following format in
/etc/ifconfig.<interface>

172.20.52.124 netmask 0xffffe000 media autoselect

That's it!  Unlike Linux, NetBSD seems to figure out the correct =
broadcast
address all by itself :)

gmans


-----Original Message-----
From: Matthew [mailto:m@uk.com]
Sent: Monday, May 01, 2000 11:43 PM
To: Steffen Liebstueckel
Cc: tech-net@netbsd.org
Subject: Re: PMAD-AA


Try dropping the 'inet' part. =20

-M

Steffen Liebstueckel wrote:
>=20
> Hi Folks !
> I have a DEC 5000/125 where I=B4ve plugged in a PMAD-AA to Build up a
> firewall.
> I=B4ve netbsd 1.4.2 up.
> When I type in on a shell:
>=20
> ifconfig le1 inet 172.20.52.124 broadcast 172.20.63.255 netmask
> 255.255.224.0
>=20
> it works fine.
> ifconfig le1 says:
>=20
> le1: flags=3D8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> =
mtu
> 1500
>               media: Ethernet manual
>               status: no carrier
>                inet 172.20.52.124 netmask 0xffffe000 broadcast
> 172.20.63.255
>=20
> When I set up a file  /etc/ifconfig.le1 with the following line:
> inet 172.20.52.124 broadcast 172.20.63.255 netmask 255.255.224.0
>=20
> and reboot ifconfig le1 says:
>=20
> le1: flags=3D8822<BROADCAST,NOTRAILERS,SIMPLEX,MULTICAST> mtu 1500
>               media: Ethernet manual
>=20
> It seems weird that dmesg would report le1 configured but then not
> configure it.
> Is there a bug in netstarts or in one of the rc scripts ???
>=20
> --
>=20
> Ciao,
>       Steffen.
> =
______________________________________________________________________
>  Steffen Liebstueckel  +++  eMail: Steffen.Liebstueckel@hadiko.de
> =
______________________________________________________________________