* Creating a dummy interface
@ 2000-03-23 5:00 Holger van Koll
2000-03-24 5:00 ` Adam Price
0 siblings, 1 reply; 9+ messages in thread
From: Holger van Koll @ 2000-03-23 5:00 UTC (permalink / raw)
Hi,
how can I create a dummy interface in Digital Unix (OSF1 V4.0)? I cant find
anything about that in the manpages.
And can you tell me when to post to osf.misc and when to osf.osf1 ??
Thx, Holger
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Creating a dummy interface
2000-03-23 5:00 Creating a dummy interface Holger van Koll
@ 2000-03-24 5:00 ` Adam Price
2000-03-24 5:00 ` Holger van Koll
0 siblings, 1 reply; 9+ messages in thread
From: Adam Price @ 2000-03-24 5:00 UTC (permalink / raw)
Holger van Koll wrote in message <8bcl3f$3fk$1@exnews.swisscom.com>...
>Hi,
>
>how can I create a dummy interface in Digital Unix (OSF1 V4.0)? I cant find
>anything about that in the manpages.
>
>And can you tell me when to post to osf.misc and when to osf.osf1 ??
>
>Thx, Holger
Don't quite understand what you mean by a dummy interface, do you mean a
fake network interface like the dummy interface under Linux?
I still don't know the answer, but if that is the question it may help
someone else to answer it.
As for comp.unix.osf.misc and comp.unix.osf.osf1 then the best thing to do
from Monday is to search for comp.unix.tru64 and use that instead.
The original charter for comp.unix.osf.misc was so strange that almost nothing
that exists today could be on topic, as such when we had the vote to rename
comp.unix.osf.osf1 we were persuaded to include a request to remove
comp.unix.osf.misc. Both passed the vote.
If there was no vote fraud then the newsgroup comp.unix.tru64 should be created
on Monday, and comp.unix.osf.* will be removed on the 29th May.
If you don't see these newsgroups on your server by about Wednesday next week,
then start bugging your newsadmin.
Adam Price
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Creating a dummy interface
2000-03-24 5:00 ` Adam Price
@ 2000-03-24 5:00 ` Holger van Koll
2000-03-24 5:00 ` Serguei Patchkovskii
0 siblings, 1 reply; 9+ messages in thread
From: Holger van Koll @ 2000-03-24 5:00 UTC (permalink / raw)
> Don't quite understand what you mean by a dummy interface, do you mean a
> fake network interface like the dummy interface under Linux?
Yes.
> I still don't know the answer, but if that is the question it may help
> someone else to answer it.
There might be another way of solving my problem. I want to accept pakets
for 2 different IP.
If I configure my interface at boot time with
ifconfig tu0 ip1 netmask-for1 alias ip2
it sets the broadcast-address to that for ip2. Thats why I want to create a
2nd interface.
Is there is a way around this?
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Creating a dummy interface
2000-03-24 5:00 ` Holger van Koll
@ 2000-03-24 5:00 ` Serguei Patchkovskii
2000-03-28 5:00 ` Holger van Koll
0 siblings, 1 reply; 9+ messages in thread
From: Serguei Patchkovskii @ 2000-03-24 5:00 UTC (permalink / raw)
Holger van Koll (holger.vankoll@swisscom.com) wrote:
: If I configure my interface at boot time with
: ifconfig tu0 ip1 netmask-for1 alias ip2
: it sets the broadcast-address to that for ip2. Thats why I want to create a
: 2nd interface.
Yes. Just set the broadcast address explicitly, using 'broadcast addr' keyword.
Do not forget to specify the class of the alias address (using /CIDR notation)
as well ...
If you absolutely need to have a second interface, you can always fake it
with a slip interface which does not connect to anything.
/Serge.P
--
home page: http://www.cobalt.chem.ucalgary.ca/ps/
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Creating a dummy interface
2000-03-24 5:00 ` Serguei Patchkovskii
@ 2000-03-28 5:00 ` Holger van Koll
2000-03-28 5:00 ` Serguei Patchkovskii
0 siblings, 1 reply; 9+ messages in thread
From: Holger van Koll @ 2000-03-28 5:00 UTC (permalink / raw)
"Serguei Patchkovskii" <patchkov@acs1.acs.ucalgary.ca> schrieb im
Newsbeitrag news:8bg63t$om0$1@nserve1.acs.ucalgary.ca...
> Holger van Koll (holger.vankoll@swisscom.com) wrote:
> : If I configure my interface at boot time with
>
> : ifconfig tu0 ip1 netmask-for1 alias ip2
>
> : it sets the broadcast-address to that for ip2. Thats why I want to
create a
> : 2nd interface.
>
> Yes. Just set the broadcast address explicitly, using 'broadcast addr'
keyword.
> Do not forget to specify the class of the alias address (using /CIDR
notation)
> as well ...
>
I tried
ifconfig tu0 ip1/24 broadcast ip1_b alias ip2/24
and got
ip2/24 : bad value
(ip1_b is broadcast for ip_1 , f.e. 10.255.255.255 for 10.1.2.3/24)
then
ifconfig tu0 ip1/24 broadcast ip1_b alias ip2 netmask 255.255.255.0
but that also set the broadcast to ip2_b
even
ifconfig tu0 ip1/24 broadcast ip1_b alias ip2
or
ifconfig tu0 ip1 netmask 255.255.255.0 broadcast ip1_b alias ip2
set broadcast to ip2_b .
I did not find any combination of the netmask/broadcast/alias parameters
that set the broadcast address correctly.
Does anybody get that to work??
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Creating a dummy interface
2000-03-28 5:00 ` Holger van Koll
@ 2000-03-28 5:00 ` Serguei Patchkovskii
2000-03-29 5:00 ` Holger van Koll
0 siblings, 1 reply; 9+ messages in thread
From: Serguei Patchkovskii @ 2000-03-28 5:00 UTC (permalink / raw)
Holger van Koll (holger.vankoll@swisscom.com) wrote:
: I did not find any combination of the netmask/broadcast/alias parameters
: that set the broadcast address correctly.
# ifconfig tu1
tu1: flags=c63<UP,BROADCAST,NOTRAILERS,RUNNING,MULTICAST,SIMPLEX>
inet xxx.xxx.xx.xxx netmask ffffff00 broadcast xxx.xxx.xx.xxx ipmtu 1500
# ifconfig tu1 alias 219.124.213.2
# ifconfig tu1
tu1: flags=c63<UP,BROADCAST,NOTRAILERS,RUNNING,MULTICAST,SIMPLEX>
inet xxx.xxx.xx.xxx netmask ffffff00 broadcast xxx.xxx.xx.xxx ipmtu 1500
^^^^^^^^^^^^^^
^^^^^^^^^^^^^^
This is *exactly* *the* *same* broadcast address tu1 had before ...
# ifconfig tu1 -alias 219.124.213.2
# uname -a
OSF1 ZZZZZZZZ V4.0 878 alpha
/Serge.P
--
home page: http://www.cobalt.chem.ucalgary.ca/ps/
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Creating a dummy interface
2000-03-28 5:00 ` Serguei Patchkovskii
@ 2000-03-29 5:00 ` Holger van Koll
2000-03-29 5:00 ` Bob Sloane
2000-03-29 5:00 ` mvergall
0 siblings, 2 replies; 9+ messages in thread
From: Holger van Koll @ 2000-03-29 5:00 UTC (permalink / raw)
Yes, _this_ way (2 ifconfig-commands) it works; maybe I forgot to mention
that in my first post.
The problem is that you have to put it in one ifconfig-command (as there is
only one in the default boot-scripts), and this is the problem.
Of course I could add another ifconfig command in the bootscripts, however,
if there is any way to avoid this I dont want to solve it that way.
As no admin-tools will see that 2nd ifconfig; I have to tell this to
everyone that will admin that host etc.etc.
That host will then have a "special" setup. Thats really a problem in a
company with several hundreds of servers and several admins...
"Serguei Patchkovskii" <patchkov@acs1.acs.ucalgary.ca> schrieb im
Newsbeitrag news:8bqmpv$j88$1@nserve1.acs.ucalgary.ca...
> Holger van Koll (holger.vankoll@swisscom.com) wrote:
>
> : I did not find any combination of the netmask/broadcast/alias parameters
> : that set the broadcast address correctly.
>
> # ifconfig tu1
> tu1: flags=c63<UP,BROADCAST,NOTRAILERS,RUNNING,MULTICAST,SIMPLEX>
> inet xxx.xxx.xx.xxx netmask ffffff00 broadcast xxx.xxx.xx.xxx ipmtu
1500
>
> # ifconfig tu1 alias 219.124.213.2
> # ifconfig tu1
> tu1: flags=c63<UP,BROADCAST,NOTRAILERS,RUNNING,MULTICAST,SIMPLEX>
> inet xxx.xxx.xx.xxx netmask ffffff00 broadcast xxx.xxx.xx.xxx ipmtu
1500
> ^^^^^^^^^^^^^^
> ^^^^^^^^^^^^^^
> This is *exactly* *the* *same* broadcast address tu1 had before ...
>
> # ifconfig tu1 -alias 219.124.213.2
> # uname -a
> OSF1 ZZZZZZZZ V4.0 878 alpha
>
>
> /Serge.P
>
> --
> home page: http://www.cobalt.chem.ucalgary.ca/ps/
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Creating a dummy interface
2000-03-29 5:00 ` Holger van Koll
2000-03-29 5:00 ` Bob Sloane
@ 2000-03-29 5:00 ` mvergall
1 sibling, 0 replies; 9+ messages in thread
From: mvergall @ 2000-03-29 5:00 UTC (permalink / raw)
In article <8bs6mo$r0e$1@exnews.swisscom.com>, Holger van Koll wrote:
>Yes, _this_ way (2 ifconfig-commands) it works; maybe I forgot to mention
>that in my first post.
>The problem is that you have to put it in one ifconfig-command (as there is
>only one in the default boot-scripts), and this is the problem.
>
>Of course I could add another ifconfig command in the bootscripts, however,
>if there is any way to avoid this I dont want to solve it that way.
>As no admin-tools will see that 2nd ifconfig; I have to tell this to
>everyone that will admin that host etc.etc.
>
>That host will then have a "special" setup. Thats really a problem in a
>company with several hundreds of servers and several admins...
One way around this is to add a second NIC to the system.
Michael
---
Michael C. Vergallen A.k.A. Mad Mike,
Sportstraat 28 http://www.double-barrel.be/mvergall/
B 9000 Gent ftp://ftp.double-barrel.be/pub/linux/
Belgium tel : 32-9-2227764 Fax : 32-9-2224976
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Creating a dummy interface
2000-03-29 5:00 ` Holger van Koll
@ 2000-03-29 5:00 ` Bob Sloane
2000-03-29 5:00 ` mvergall
1 sibling, 0 replies; 9+ messages in thread
From: Bob Sloane @ 2000-03-29 5:00 UTC (permalink / raw)
In article <8bs6mo$r0e$1@exnews.swisscom.com>,
"Holger van Koll" <holger.vankoll@swisscom.com> writes:
> Yes, _this_ way (2 ifconfig-commands) it works; maybe I forgot to mention
> that in my first post.
> The problem is that you have to put it in one ifconfig-command (as there is
> only one in the default boot-scripts), and this is the problem.
Put the second ifconfig command in /etc/inet.local. From the comments
in /etc/inet.local:
# This script is called by /sbin/init.d/inet after all the
# network interfaces are up and running, but before any
# other network services have been started.
#
# Examples of things to put in here would be pfconfig,
# adding aliases for existing IP addresses, etc.
--
USmail: Bob Sloane, University of Kansas Computer Center, Lawrence, KS, 66045
E-mail: sloane@ukans.edu http://www.ukans.edu/home/sloane Phone:(785)864-0444
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2000-03-29 5:00 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-03-23 5:00 Creating a dummy interface Holger van Koll
2000-03-24 5:00 ` Adam Price
2000-03-24 5:00 ` Holger van Koll
2000-03-24 5:00 ` Serguei Patchkovskii
2000-03-28 5:00 ` Holger van Koll
2000-03-28 5:00 ` Serguei Patchkovskii
2000-03-29 5:00 ` Holger van Koll
2000-03-29 5:00 ` Bob Sloane
2000-03-29 5:00 ` mvergall
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox