Subject: Re: PMAD-AA
To: None <tech-net@netbsd.org>
From: Steffen Liebstueckel <Steffen.Liebstueckel@hadiko.de>
List: tech-net
Date: 05/02/2000 16:50:52
Greg Mans wrote:
> 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.
>
> -M
>
> Steffen Liebstueckel wrote:
> >
> > Hi Folks !
> > I have a DEC 5000/125 where I´ve plugged in a PMAD-AA to Build up a
> > firewall.
> > I´ve netbsd 1.4.2 up.
> > When I type in on a shell:
> >
> > ifconfig le1 inet 172.20.52.124 broadcast 172.20.63.255 netmask
> > 255.255.224.0
> >
> > it works fine.
> > ifconfig le1 says:
> >
> > le1: flags=8863<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
> >
> > 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
> >
> > and reboot ifconfig le1 says:
> >
> > le1: flags=8822<BROADCAST,NOTRAILERS,SIMPLEX,MULTICAST> mtu 1500
> > media: Ethernet manual
> >
> > 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 ???
> >
> > --
> >
> > Ciao,
> > Steffen.
> > ______________________________________________________________________
> > Steffen Liebstueckel +++ eMail: Steffen.Liebstueckel@hadiko.de
> > ______________________________________________________________________
Hi Folks !!!!
inet 172.20.52.124 netmask 0xffffe000 media autoselect
works as well !!!
IT WAS MY FAULT !!!
I edited the file ifconfig.le1 with the editor "joe" !
I found out that you have to hit "return" after the inserted line in the file
that the cusor is in the next new line!
OTHERWISE IFCONFIG WILL NEVER DO ANYTHING !!!
p.s. The same procedure in other config files like ipf.conf...
--
Ciao,
Steffen.
______________________________________________________________________
Steffen Liebstueckel +++ eMail: Steffen.Liebstueckel@hadiko.de
______________________________________________________________________