On Tue, May 19, 2015 at 03:29:20PM +0200, Heiko Zimmermann wrote:
> Hello OpenBSD Team,
>
> I try to add an ipv4 alias 176.9.157.yyy to re0
> (current from today).
>
> ifconfig re0 alias 176.9.157.yyy/27
> --> ifconfig: SIOCAIFADDR: File exists
>
> When I try: ifconfig re0 176.9.157.yyy 255.255.255.224
> --> no output
>
> But I don't see the alias ip with ifconfig -a
>
> Output is:
> re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
> lladdr xx:xx:x:xx:xx:xx
> priority: 0
> groups: egress
> media: Ethernet autoselect (1000baseT full-duplex)
> status: active
> inet 176.9.175.xxx netmask 0xffffffe0 broadcast 176.9.157.zzz
>
>
> ping 176.9.157.yyy --> ping: unknown host: 176.9.157.9.yyy
> ping 176.9.157.xxx --> ok
>
> What I'm doing wrong?
>
> Thank you in advance.
> Heiko
ifconfig -a != ifconfig -A != ifconfig re0
Also, an alias in the same net should get the mask 255.255.255.255
-Otto