* Ethernet with virtual interfaces?
@ 1999-02-24 5:00 Jeffrey L. Oliver
1999-02-24 5:00 ` Serguei Patchkovskii
0 siblings, 1 reply; 6+ messages in thread
From: Jeffrey L. Oliver @ 1999-02-24 5:00 UTC (permalink / raw)
Hi,
I have an Alpha 3000, model 500 , running 4.0d. I would like to set
up a secondary ip address on the ethernet port, but cannot seem
to get it to work.
Has anyone done this?
TIA,
Jeff
--
-----------------------------------------------------------------------
Sys Admin. It's a dirty job, but someone said I had to do it!
-----------------------------------------------------------------------
Jeffrey L. Oliver Phone: (403) 329-5162
Network Analyst Fax: (403) 382-7108
Telecommunication Unit Email: jeff.oliver@uleth.ca
University of Lethbridge www: http://home.uleth.ca/~jeff.oliver
-----------------------------------------------------------------------
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Ethernet with virtual interfaces?
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
0 siblings, 2 replies; 6+ messages in thread
From: Serguei Patchkovskii @ 1999-02-24 5:00 UTC (permalink / raw)
Jeffrey L. Oliver (jeff.oliver@uleth.ca) wrote:
: I have an Alpha 3000, model 500 , running 4.0d. I would like to set
: up a secondary ip address on the ethernet port, but cannot seem
: to get it to work.
: Has anyone done this?
A lot of people did this, and it works (for some definition of "works").
In order to get help here, you'll have to spell exactly what you want
to achieve, what you did, what happened afterwards, and why do you
think it does not work.
Regards,
/Serge.P
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Ethernet with virtual interfaces?
1999-02-24 5:00 ` Serguei Patchkovskii
@ 1999-02-24 5:00 ` Jeffrey L. Oliver
1999-02-25 5:00 ` Nikola Milutinovic
1999-02-25 5:00 ` Serguei Patchkovskii
1999-02-24 5:00 ` Jeffrey L. Oliver
1 sibling, 2 replies; 6+ messages in thread
From: Jeffrey L. Oliver @ 1999-02-24 5:00 UTC (permalink / raw)
To: jeff.oliver
Serguei Patchkovskii wrote:
>
> Jeffrey L. Oliver (jeff.oliver@uleth.ca) wrote:
> : I have an Alpha 3000, model 500 , running 4.0d. I would like to set
> : up a secondary ip address on the ethernet port, but cannot seem
> : to get it to work.
>
> : Has anyone done this?
>
> A lot of people did this, and it works (for some definition of "works").
> In order to get help here, you'll have to spell exactly what you want
> to achieve, what you did, what happened afterwards, and why do you
> think it does not work.
>
> Regards,
>
> /Serge.P
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:
# 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
Now, the broadcast address for ln0 is incorrect as it should be 10.10.63.255,
and I experience the following phenomenon. When I ping 10.10.37.252 all is
as it should be. When I ping 10.10.37.253, I get answers (DUP!) from
all sorts of ip address as if I pinged the broadcast address.
--
-----------------------------------------------------------------------
Sys Admin. It's a dirty job, but someone said I had to do it!
-----------------------------------------------------------------------
Jeffrey L. Oliver Phone: (403) 329-5162
Network Analyst Fax: (403) 382-7108
Telecommunication Unit Email: jeff.oliver@uleth.ca
University of Lethbridge www: http://home.uleth.ca/~jeff.oliver
-----------------------------------------------------------------------
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Ethernet with virtual interfaces?
1999-02-24 5:00 ` Serguei Patchkovskii
1999-02-24 5:00 ` Jeffrey L. Oliver
@ 1999-02-24 5:00 ` Jeffrey L. Oliver
1 sibling, 0 replies; 6+ messages in thread
From: Jeffrey L. Oliver @ 1999-02-24 5:00 UTC (permalink / raw)
Serguei Patchkovskii wrote:
>
> Jeffrey L. Oliver (jeff.oliver@uleth.ca) wrote:
> : I have an Alpha 3000, model 500 , running 4.0d. I would like to set
> : up a secondary ip address on the ethernet port, but cannot seem
> : to get it to work.
>
> : Has anyone done this?
>
> A lot of people did this, and it works (for some definition of "works").
> In order to get help here, you'll have to spell exactly what you want
> to achieve, what you did, what happened afterwards, and why do you
> think it does not work.
>
> Regards,
>
> /Serge.P
Sorry, I didn't explain my intentions.
What I am trying to achieve is to have one ethernet interface (physical)
answer to two different IP Addresses (on the same network).
Jeff
--
-----------------------------------------------------------------------
Sys Admin. It's a dirty job, but someone said I had to do it!
-----------------------------------------------------------------------
Jeffrey L. Oliver Phone: (403) 329-5162
Network Analyst Fax: (403) 382-7108
Telecommunication Unit Email: jeff.oliver@uleth.ca
University of Lethbridge www: http://home.uleth.ca/~jeff.oliver
-----------------------------------------------------------------------
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Ethernet with virtual interfaces?
1999-02-24 5:00 ` Jeffrey L. Oliver
@ 1999-02-25 5:00 ` Nikola Milutinovic
1999-02-25 5:00 ` Serguei Patchkovskii
1 sibling, 0 replies; 6+ messages in thread
From: Nikola Milutinovic @ 1999-02-25 5:00 UTC (permalink / raw)
"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.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Ethernet with virtual interfaces?
1999-02-24 5:00 ` Jeffrey L. Oliver
1999-02-25 5:00 ` Nikola Milutinovic
@ 1999-02-25 5:00 ` Serguei Patchkovskii
1 sibling, 0 replies; 6+ messages in thread
From: Serguei Patchkovskii @ 1999-02-25 5:00 UTC (permalink / raw)
Jeffrey L. Oliver (jeff.oliver@uleth.ca) wrote:
: 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:
: # 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
This appears to be a bug in unpatched DU 4.0D. You cannot configure the
interface and set IP alias in the same ifconfig statement. Try doing it
in two steps:
ifconfig ln0 inet 10.10.37.252 netmask 255.255.224.0 broadcast 10.10.63.255
ifconfig ln0 alias 10.10.37.253
and it should work. In order to make this come up automatically on the
next reboot, simply place the second ifconfig command line in /etc/inet.local
If you want to provide any services through the IP alias, any daemons
providing these services should be started *after* you add the alias,
or they may fail to respond to requests arriving at the alias IP number.
This also applies to services started out of inetd. The /etc/inet.local
solution will set alias and start daemons in the right order.
If you want to provide NFS via the alias, you should be aware that
to the best of my knowledge NFS locking will not work.
Regards,
/Serge.P
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~1999-02-25 5:00 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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-25 5:00 ` Nikola Milutinovic
1999-02-25 5:00 ` Serguei Patchkovskii
1999-02-24 5:00 ` Jeffrey L. Oliver
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox