Blaisorblade <[EMAIL PROTECTED]> writes: > * 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?
I don't dhcp can _match_ on a sent hostname but it can on a dhcp-client-identifier. All sorts of matching expressions are possible, not just 1:1. > 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). You don't need BIND but you do need the NSd and the DHCPd to be compatible. In my particular system dnsmasq is already being used (for a caching NS) and configuring the listening interface in dnsmasq configures it for both dhcp and dns. Since I don't want my laptop serving dhcp for whatever lan it is connected to this is not an option. If dnsmasq had different config options for the NS and the DHCPD then it would be perfect. >> bob's your uncle. > Er? What's that? Bob's your uncle and Fanny's your aunt. http://www.worldwidewords.org/qa/qa-bob1.htm > 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. Ah yes. That was the down side of doing the preconfigured tap: I don't get to use uml_net to set it up anymore. It's a pity we can't do: uml_switch -tap thetapdevice -daemon and have it all just work. > > -- > Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!". > Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894) > http://www.user-mode-linux.org/~blaisorblade > Chiacchiera con i tuoi amici in tempo reale! > http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com > > > > --attachment links follows this line-- ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user