On Friday 05 May 2006 01:47, Nic wrote:
> Message-ID: <878xphe4j3.fsf@...>
> MIME-Version: 1.0
> Content-Type: text/plain; charset=us-ascii
> The challenge has been sorted.
> I've got a config that works really well (again, I'm not sure whether
> to put this on the UML wiki or not... should I?)
Guess yes, there's no reason against that (and this is also true for your
previous suggestion about dhcp-client-identifier*).
* Btw, can't that be done via sending an hostname (which probably works more
easily with clients like dhcpcd, default in Gentoo) and making the server
associate IPs with hostnames?
Actually you don't need fixed IPs as long as you make your dhcp server be also
a DNS server (I remember it can be done, not sure if it required
collaboration with bind or if it could be done without bind; dnsmasq contains
a DHCP + DNS server to do this, however).
> I then start my UML like this:
> umlkernel ubd0=... con0=... eth0=tuntap,umltap
> inside the UML I use dhcp to get an address and
> bob's your uncle.
Er? What's that?
> Jeff's your uncle. I'm not sure which.
> Thanks Blaisorblade for pointing out that a fixed tuntap needn't be in
> a bridge to bridge to the local machine.
> I'm still not sure why, when you can forward from the UML to the host,
> you can't reach other hosts on the host's network; in other words "why
> do you need a bridge?". Certainly, my UMLs don't seem to be able to do
See at the link I pointed out earlier.
In short, you either run UML on a private IP on a different subnet than your
LAN and MASQUERADE / SNAT it with iptables, or (default) give the UML an IP
on the same subnet as your LAN and use proxy ARP - i.e. when a machine in
your LAN arps for your UML, let's say 192.168.1.100, your host must answer it
has that IP. uml_net does that by default, but with preconfigured tap devices
you must do that by hand.
Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!".
Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894)
Chiacchiera con i tuoi amici in tempo reale!