From: Nikola Milutinovic <Nikola.Milutinovic@ev.co.yu>
Subject: Re: Ethernet with virtual interfaces?
Date: 1999/02/25 [thread overview]
Message-ID: <36D5279D.F4DA239F@ev.co.yu> (raw)
In-Reply-To: 36D49CEF.160BEEDF@uleth.ca
"Jeffrey L. Oliver" wrote:
>
> Well, let me explain the couple of ways that I tried this.
>
> First, I tried to use the GUI. In the configuration for ln0, there
> is a box that is labeled "alias address". In this box I entered a
> second IP address that I would like the box to answer to. For
> example:
> IP Address 10.10.37.252
> Netmask 255.255.224.0
> And in the extended part of the display
> Alias 10.10.37.253
>
> The second way that I tried this was from the console. I entered the
> following command:
>
> ifconfig ln0 inet 10.10.37.252 netmask 255.255.224.0 broadcast 10.10.63.255\
> alias 10.10.37.253 netmask 255.255.224.0
>
> In both cases, when I apply the changes and look at the ifconfig entry
> for ln0, I get the following:
Since both cases produce the same result, it means that GUI just translates to
that command line.
Perhaps you could try to separate the process into two steps.
ifconfig ln0 inet 10.10.37.252 netmask 255.255.224.0 broadcast 10.10.63.255
netmask 255.255.224.0
ifconfig ln0 alias 10.10.37.253
> # ifconfig -a
> ln0: flags=c63<UP,BROADCAST,NOTRAILERS,RUNNING,MULTICAST,SIMPLEX>
> inet 10.10.37.252 netmask ffffe000 broadcast 10.10.37.253 ipmtu 1500
DU missunderstood the command line. Bug?
Nix.
prev parent reply other threads:[~1999-02-25 5:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-02-24 5:00 Ethernet with virtual interfaces? Jeffrey L. Oliver
1999-02-24 5:00 ` Serguei Patchkovskii
1999-02-24 5:00 ` Jeffrey L. Oliver
1999-02-24 5:00 ` Jeffrey L. Oliver
1999-02-25 5:00 ` Serguei Patchkovskii
1999-02-25 5:00 ` Nikola Milutinovic [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox