Multiple dummy interfaces

Multiple dummy interfaces

Post by Tel 3400 » Thu, 24 Aug 1995 04:00:00



Hello  all,

I am wondering if it would be possible to run multiple instances of the
dummy interface or perhaps assign multiple IP numbers to the same
dummy interface.

I tried running "ifconfig dummy net.add.res" several times but each new
address replaces the previous one.

Could the IP masquerading feature of the new kernels take care of this ?

I am sure you guys know the answer to this.

Thanks

Patrick Vande Walle
--  

European Commission, DG 13  //  
Luxemburg                  // These are my opinions, not my employer's

 
 
 

Multiple dummy interfaces

Post by Jonathan A. Dav » Thu, 24 Aug 1995 04:00:00


: Hello  all,
:
: I am wondering if it would be possible to run multiple instances of the
: dummy interface or perhaps assign multiple IP numbers to the same
: dummy interface.
:
: I tried running "ifconfig dummy net.add.res" several times but each new
: address replaces the previous one.
:

You can install multiple copies of dummy.o.  Just use the "-o somename"
parameter with insmod to make each module name reference unique.  Each
module installed will then create an incremented dummy device as in
dummy0, dummy1, etc...

Rumor has it that a package exists which allows for up to 16 dummy devices
from one module.  As I only use 2-5 and they take up only one page each,
I don't find them to be much of a resource drain.

: Could the IP masquerading feature of the new kernels take care of this ?
:

I'm not familiar with masquerading as I'm not running production on 1.3. ;-)

Cheers,

--
-Jonathan                                                              _  _
------------------------------------------------------------->>>>>>>>-(o)(o)---
 Jonathan A. Davis | Academic Systems Analyst | Hattiesburg/Gulf Park/Stennis

 http://www.usm.edu/jonathan/home.html | Linux: The choice of a GNU generation

 
 
 

Multiple dummy interfaces

Post by Ingram Leed » Fri, 25 Aug 1995 04:00:00


--


>Hello  all,

>I am wondering if it would be possible to run multiple instances of the
>dummy interface or perhaps assign multiple IP numbers to the same
>dummy interface.

>I tried running "ifconfig dummy net.add.res" several times but each new
>address replaces the previous one.

>Could the IP masquerading feature of the new kernels take care of this ?

>I am sure you guys know the answer to this.

>Thanks

>Patrick Vande Walle
>--  

>European Commission, DG 13  //  
>Luxemburg                  // These are my opinions, not my employer's

#Add ethernet address
/sbin/insmod -o dummy2 /lib/modules/1.2.11/net/dummy.o
/sbin/ifconfig dummy2 xxx.yyy.zzz.bbb up
/sbin/route add xxx.yyy.zzz.bbb dummy2
/sbin/arp -s xxx.yyy.zzz.bbb 00:C0:DF:41:15:93 pub

You can add as many dummy interfaces as you want, just name them.
I use dummy0, dummy1, dummy2, dummy3, etc.
Just give each their own IP to work on.

-- Ingram

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                                I n g r a m   L e e d y
                                                i T h i n k

 
 
 

Multiple dummy interfaces

Post by Ingram Leed » Fri, 25 Aug 1995 04:00:00


--


>Hello  all,

>I am wondering if it would be possible to run multiple instances of the
>dummy interface or perhaps assign multiple IP numbers to the same
>dummy interface.

>I tried running "ifconfig dummy net.add.res" several times but each new
>address replaces the previous one.

>Could the IP masquerading feature of the new kernels take care of this ?

>I am sure you guys know the answer to this.

>Thanks

>Patrick Vande Walle
>--  

>European Commission, DG 13  //  
>Luxemburg                  // These are my opinions, not my employer's

#Add ethernet address
/sbin/insmod -o dummy2 /lib/modules/1.2.11/net/dummy.o
/sbin/ifconfig dummy2 xxx.yyy.zzz.bbb up
/sbin/route add xxx.yyy.zzz.bbb dummy2
/sbin/arp -s xxx.yyy.zzz.bbb 00:C0:DF:41:15:93 pub

You can add as many dummy interfaces as you want, just name them.
I use dummy0, dummy1, dummy2, dummy3, etc.
Just give each their own IP to work on.

-- Ingram

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                                I n g r a m   L e e d y
                                                i T h i n k

 
 
 

Multiple dummy interfaces

Post by Ingram Leed » Fri, 25 Aug 1995 04:00:00


--


>Hello  all,

>I am wondering if it would be possible to run multiple instances of the
>dummy interface or perhaps assign multiple IP numbers to the same
>dummy interface.

>I tried running "ifconfig dummy net.add.res" several times but each new
>address replaces the previous one.

>Could the IP masquerading feature of the new kernels take care of this ?

>I am sure you guys know the answer to this.

>Thanks

>Patrick Vande Walle
>--  

>European Commission, DG 13  //  
>Luxemburg                  // These are my opinions, not my employer's

#Add ethernet address
/sbin/insmod -o dummy2 /lib/modules/1.2.11/net/dummy.o
/sbin/ifconfig dummy2 xxx.yyy.zzz.bbb up
/sbin/route add xxx.yyy.zzz.bbb dummy2
/sbin/arp -s xxx.yyy.zzz.bbb 00:C0:DF:41:15:93 pub

You can add as many dummy interfaces as you want, just name them.
I use dummy0, dummy1, dummy2, dummy3, etc.
Just give each their own IP to work on.

-- Ingram

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                                I n g r a m   L e e d y
                                                i T h i n k

 
 
 

Multiple dummy interfaces

Post by Ingram Leed » Fri, 25 Aug 1995 04:00:00


--


>Hello  all,

>I am wondering if it would be possible to run multiple instances of the
>dummy interface or perhaps assign multiple IP numbers to the same
>dummy interface.

>I tried running "ifconfig dummy net.add.res" several times but each new
>address replaces the previous one.

>Could the IP masquerading feature of the new kernels take care of this ?

>I am sure you guys know the answer to this.

>Thanks

>Patrick Vande Walle
>--  

>European Commission, DG 13  //  
>Luxemburg                  // These are my opinions, not my employer's

#Add ethernet address
/sbin/insmod -o dummy2 /lib/modules/1.2.11/net/dummy.o
/sbin/ifconfig dummy2 xxx.yyy.zzz.bbb up
/sbin/route add xxx.yyy.zzz.bbb dummy2
/sbin/arp -s xxx.yyy.zzz.bbb 00:C0:DF:41:15:93 pub

You can add as many dummy interfaces as you want, just name them.
I use dummy0, dummy1, dummy2, dummy3, etc.
Just give each their own IP to work on.

-- Ingram

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                                I n g r a m   L e e d y
                                                i T h i n k

 
 
 

Multiple dummy interfaces

Post by Ingram Leed » Fri, 25 Aug 1995 04:00:00



>Hello  all,

>I am wondering if it would be possible to run multiple instances of the
>dummy interface or perhaps assign multiple IP numbers to the same
>dummy interface.

>I tried running "ifconfig dummy net.add.res" several times but each new
>address replaces the previous one.

>Could the IP masquerading feature of the new kernels take care of this ?

>I am sure you guys know the answer to this.

>Thanks

>Patrick Vande Walle
>--  

>European Commission, DG 13  //  
>Luxemburg                  // These are my opinions, not my employer's

#Add ethernet address
/sbin/insmod -o dummy2 /lib/modules/1.2.11/net/dummy.o
/sbin/ifconfig dummy2 xxx.yyy.zzz up
/sbin/route add xxx.yyy.zzz dummy2
/sbin/arp -s xxx.yyy.zzz 00:C0:DF:41:15:93 pub

You can load as many dummy interfaces as you want. I name
them dummy0, dummy1, dummy2, etc.   Just give each dummy interface
an IP and you should be up and running..

-- Ingram

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                                I n g r a m   L e e d y
                                                i T h i n k

 
 
 

Multiple dummy interfaces

Post by Ingram Leed » Fri, 25 Aug 1995 04:00:00



>Hello  all,

>I am wondering if it would be possible to run multiple instances of the
>dummy interface or perhaps assign multiple IP numbers to the same
>dummy interface.

>I tried running "ifconfig dummy net.add.res" several times but each new
>address replaces the previous one.

>Could the IP masquerading feature of the new kernels take care of this ?

>I am sure you guys know the answer to this.

>Thanks

>Patrick Vande Walle
>--  

>European Commission, DG 13  //  
>Luxemburg                  // These are my opinions, not my employer's

#Add ethernet address
/sbin/insmod -o dummy2 /lib/modules/1.2.11/net/dummy.o
/sbin/ifconfig dummy2 xxx.yyy.zzz up
/sbin/route add xxx.yyy.zzz dummy2
/sbin/arp -s xxx.yyy.zzz 00:C0:DF:41:15:93 pub

You can load as many dummy interfaces as you want. I name
them dummy0, dummy1, dummy2, etc.   Just give each dummy interface
an IP and you should be up and running..

-- Ingram

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                                I n g r a m   L e e d y
                                                i T h i n k