2005-02-07 19:54:52

by Matthias-Christian Ott

[permalink] [raw]
Subject: Linux Virtual Network Device

Hi!
I have the following the problem:
I have server which is connected to the internet via a gateway, on this
server I want to run some uml machines. I want "equip" every uml machine
with virtual network device (virX [e.g.; the name doesn't matter]). The
virtual devices should be something like the "lo" device and their ip
addresses shouldn't be used by the internet (I'm looking for something
like 127.0.0.1). I want to give each uml machine a host name (e.g.
xxx.myserver.mydomain.com), requests should be masqueraded (by bind or
dnsmasq?) by their dns name (1.myserver.mydomain.com is 127.0.0.2
[vir0]). How to do this?

Links or Tutorials are welcome (I just found some outdated stuff on the
uml website)

Thanks
Matthias-Christian Ott


2005-02-07 20:12:35

by William Stearns

[permalink] [raw]
Subject: Re: Linux Virtual Network Device

Good afternoon, Matthias-Christian,
(This isn't a linux kernel development issue; please do further
discussion on the uml-user mailing list only.)

On Mon, 7 Feb 2005, Matthias-Christian Ott wrote:

> I have the following the problem:
> I have server which is connected to the internet via a gateway, on this
> server I want to run some uml machines. I want "equip" every uml machine with
> virtual network device (virX [e.g.; the name doesn't matter]). The virtual
> devices should be something like the "lo" device and their ip addresses
> shouldn't be used by the internet (I'm looking for something like 127.0.0.1).
> I want to give each uml machine a host name (e.g. xxx.myserver.mydomain.com),
> requests should be masqueraded (by bind or dnsmasq?) by their dns name
> (1.myserver.mydomain.com is 127.0.0.2 [vir0]). How to do this?
>
> Links or Tutorials are welcome (I just found some outdated stuff on the uml
> website)

Please give these a try as a start.

http://www.stearns.org/slartibartfast/uml-coop.current.html#networking
http://www.stearns.org/slartibartfast/rc.uml-net

Cheers,
- Bill

---------------------------------------------------------------------------
"Power concedes nothing without a demand. It never did, and it
never will. Find out just what people will submit to, and you have
found out the exact amount of injustice and wrong which will be imposed
upon them; and these will continue until they are resisted with either
words or blows, or with both. The limits of tyrants are prescribed by
the endurance of those whom they oppress."
-- Frederick Douglass, August 4, 1857
(Courtesy of Eric S. Raymond)
--------------------------------------------------------------------------
William Stearns ([email protected]). Mason, Buildkernel, freedups, p0f,
rsync-backup, ssh-keyinstall, dns-check, more at: http://www.stearns.org
--------------------------------------------------------------------------

2005-02-08 16:14:26

by Matthias-Christian Ott

[permalink] [raw]
Subject: Re: Linux Virtual Network Device

William Stearns wrote:

> Good afternoon, Matthias-Christian,
> (This isn't a linux kernel development issue; please do further
> discussion on the uml-user mailing list only.)
>
> On Mon, 7 Feb 2005, Matthias-Christian Ott wrote:
>
>> I have the following the problem:
>> I have server which is connected to the internet via a gateway, on
>> this server I want to run some uml machines. I want "equip" every uml
>> machine with virtual network device (virX [e.g.; the name doesn't
>> matter]). The virtual devices should be something like the "lo"
>> device and their ip addresses shouldn't be used by the internet (I'm
>> looking for something like 127.0.0.1). I want to give each uml
>> machine a host name (e.g. xxx.myserver.mydomain.com), requests should
>> be masqueraded (by bind or dnsmasq?) by their dns name
>> (1.myserver.mydomain.com is 127.0.0.2 [vir0]). How to do this?
>>
>> Links or Tutorials are welcome (I just found some outdated stuff on
>> the uml website)
>
>
> Please give these a try as a start.
>
> http://www.stearns.org/slartibartfast/uml-coop.current.html#networking
> http://www.stearns.org/slartibartfast/rc.uml-net
>
> Cheers,
> - Bill
>
> ---------------------------------------------------------------------------
>
> "Power concedes nothing without a demand. It never did, and it
> never will. Find out just what people will submit to, and you have
> found out the exact amount of injustice and wrong which will be imposed
> upon them; and these will continue until they are resisted with either
> words or blows, or with both. The limits of tyrants are prescribed by
> the endurance of those whom they oppress."
> -- Frederick Douglass, August 4, 1857
> (Courtesy of Eric S. Raymond)
> --------------------------------------------------------------------------
>
> William Stearns ([email protected]). Mason, Buildkernel, freedups, p0f,
> rsync-backup, ssh-keyinstall, dns-check, more at:
> http://www.stearns.org
> --------------------------------------------------------------------------
>
>
Thanks that was exactly what I'm looking for. But howto get dns
masquerading working with bind?

Matthias-Christian Ott